Home | History | Annotate | Download | only in browser

Lines Matching full:appid

42   std::string GetPrefURLForApp(Profile* profile, const string16& appid) {
44 EXPECT_TRUE(pref->HasKey(UTF16ToUTF8(appid)));
46 pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), &value);
97 const string16& appid() { return appid_; }
141 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid()));
146 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid()));
162 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid()));
178 &profile, "appid"));
182 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid()));
191 &profile, "appid"));
206 EXPECT_EQ(NULL, service.GetAppBackgroundContents(ASCIIToUTF16("appid")));
208 "appid");
212 EXPECT_EQ(contents, service.GetAppBackgroundContents(contents->appid()));
215 contents2->appid()));
226 service.ShutdownAssociatedBackgroundContents(ASCIIToUTF16("appid"));
228 EXPECT_EQ(NULL, service.GetAppBackgroundContents(ASCIIToUTF16("appid")));
230 EXPECT_EQ(url2.spec(), GetPrefURLForApp(&profile, contents2->appid()));