background_contents_service_unittest.cc | 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_; } function in class:MockBackgroundContents 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")); [all...] |