• Home
  • Raw
  • Download

Lines Matching refs:url_google

368   GURL url_google(kUrlGoogle);  in TEST()  local
373 EXPECT_TRUE(cm->SetCookie(url_google, "A=B")); in TEST()
374 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
375 EXPECT_TRUE(cm->SetCookie(url_google, "C=D; domain=.google.izzle")); in TEST()
376 EXPECT_EQ("A=B; C=D", cm->GetCookies(url_google)); in TEST()
383 EXPECT_TRUE(cm->SetCookie(url_google, "E=F; domain=.www.google.izzle")); in TEST()
384 EXPECT_EQ("A=B; C=D; E=F", cm->GetCookies(url_google)); in TEST()
388 EXPECT_TRUE(cm->SetCookie(url_google, "G=H; domain=www.google.izzle")); in TEST()
389 EXPECT_EQ("A=B; C=D; E=F; G=H", cm->GetCookies(url_google)); in TEST()
392 EXPECT_FALSE(cm->SetCookie(url_google, "I=J; domain=.izzle")); in TEST()
394 EXPECT_FALSE(cm->SetCookie(url_google, "K=L; domain=.bla.www.google.izzle")); in TEST()
397 EXPECT_EQ("A=B; C=D; E=F; G=H", cm->GetCookies(url_google)); in TEST()
409 GURL url_google("http://www.google.com"); in TEST() local
411 EXPECT_FALSE(cm->SetCookie(url_google, "a=1; domain=.www.google.com.")); in TEST()
412 EXPECT_FALSE(cm->SetCookie(url_google, "b=2; domain=.www.google.com..")); in TEST()
413 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
533 GURL url_google("http://www.google.com"); in TEST() local
534 EXPECT_TRUE(cm->SetCookie(url_google, "a=1; domain=.GOOGLE.COM")); in TEST()
535 EXPECT_TRUE(cm->SetCookie(url_google, "b=2; domain=.wWw.gOOgLE.coM")); in TEST()
536 EXPECT_EQ("a=1; b=2", cm->GetCookies(url_google)); in TEST()
672 GURL url_google(kUrlGoogle); in TEST() local
678 EXPECT_TRUE(cm->SetCookieWithOptions(url_google, "A=B; httponly", options)); in TEST()
681 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
682 EXPECT_EQ("A=B", cm->GetCookiesWithOptions(url_google, options)); in TEST()
685 EXPECT_FALSE(cm->SetCookie(url_google, "A=C")); in TEST()
686 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
687 EXPECT_EQ("A=B", cm->GetCookiesWithOptions(url_google, options)); in TEST()
688 EXPECT_TRUE(cm->SetCookieWithOptions(url_google, "A=C", options)); in TEST()
689 EXPECT_EQ("A=C", cm->GetCookies(url_google)); in TEST()
692 EXPECT_FALSE(cm->SetCookie(url_google, "B=A; httponly")); in TEST()
693 EXPECT_EQ("A=C", cm->GetCookiesWithOptions(url_google, options)); in TEST()
694 EXPECT_TRUE(cm->SetCookieWithOptions(url_google, "B=A; httponly", options)); in TEST()
695 EXPECT_EQ("A=C; B=A", cm->GetCookiesWithOptions(url_google, options)); in TEST()
696 EXPECT_EQ("A=C", cm->GetCookies(url_google)); in TEST()
812 GURL url_google(kUrlGoogle); in TEST() local
818 EXPECT_TRUE(cm->SetCookie(url_google, kValidCookieLine)); in TEST()
819 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
821 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
823 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
826 EXPECT_TRUE(cm->SetCookie(url_google, kValidCookieLine)); in TEST()
827 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
829 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
832 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
835 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
841 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
843 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
847 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
850 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
855 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
857 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
862 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
865 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
870 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
872 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
877 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
881 GURL url_google(kUrlGoogle); in TEST() local
888 EXPECT_TRUE(cm->SetCookie(url_google, kValidCookieLine)); in TEST()
889 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
891 EXPECT_TRUE(cm->SetCookieWithOptions(url_google, "C=D; httponly", options)); in TEST()
892 EXPECT_EQ("A=B; C=D", cm->GetCookiesWithOptions(url_google, options)); in TEST()
895 EXPECT_EQ("", cm->GetCookiesWithOptions(url_google, options)); in TEST()
900 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
910 EXPECT_EQ("", cm->GetCookiesWithOptions(url_google, options)); in TEST()
914 GURL url_google(kUrlGoogle); in TEST() local
922 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-0=Now", now)); in TEST()
923 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-1=Yesterday", in TEST()
925 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-2=DayBefore", in TEST()
942 GURL url_google(kUrlGoogle); in TEST() local
950 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-0=Now", now)); in TEST()
951 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-1=Yesterday", in TEST()
953 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-2=DayBefore", in TEST()
955 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-3=ThreeDays", in TEST()
957 EXPECT_TRUE(cm->SetCookieWithCreationTime(url_google, "T-7=LastWeek", in TEST()
984 GURL url_google(kUrlGoogle); in TEST() local
988 EXPECT_TRUE(cm->SetCookie(url_google, "A=B")); in TEST()
989 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
994 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
998 EXPECT_EQ("", cm->GetCookies(url_google)); in TEST()
1003 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
1015 GURL url_google(kUrlGoogle); in TEST() local
1019 EXPECT_TRUE(cm->SetCookie(url_google, "A=B")); in TEST()
1024 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
1029 EXPECT_EQ("A=B", cm->GetCookies(url_google)); in TEST()
1041 GURL url_google(kUrlGoogle); in TestHostGarbageCollectHelper() local
1050 EXPECT_TRUE(cm->SetCookie(url_google, cookie)); in TestHostGarbageCollectHelper()
1051 std::string cookies = cm->GetCookies(url_google); in TestHostGarbageCollectHelper()
1072 EXPECT_TRUE(cm->SetCookie(url_google, cookie_general)); in TestHostGarbageCollectHelper()
1075 std::string cookies_general = cm->GetCookies(url_google); in TestHostGarbageCollectHelper()
1090 std::string cookies_general = cm->GetCookies(url_google); in TestHostGarbageCollectHelper()
1152 GURL url_google(kUrlGoogle); in TEST() local
1156 EXPECT_TRUE(cm->SetCookie(url_google, "A=B")); in TEST()
1157 EXPECT_TRUE(cm->SetCookie(url_google, "C=D")); in TEST()
1158 EXPECT_TRUE(cm->SetCookie(url_google, "E=F")); in TEST()
1159 EXPECT_EQ("A=B; C=D; E=F", cm->GetCookies(url_google)); in TEST()
1161 EXPECT_TRUE(FindAndDeleteCookie(cm, url_google.host(), "C")); in TEST()
1162 EXPECT_EQ("A=B; E=F", cm->GetCookies(url_google)); in TEST()
1165 EXPECT_EQ("A=B; E=F", cm->GetCookies(url_google)); in TEST()
1186 GURL url_google(kUrlGoogle); in TEST() local
1196 EXPECT_TRUE(cm->SetCookieWithOptions(url_google, "A=B; httponly", options)); in TEST()
1197 EXPECT_TRUE(cm->SetCookieWithOptions(url_google, in TEST()
1209 CookieList cookies = cm->GetAllCookiesForURL(url_google); in TEST()
1224 cm->GetAllCookiesForURLWithOptions(url_google, CookieOptions()); in TEST()
1256 GURL url_google(kUrlGoogle); in TEST() local
1269 EXPECT_TRUE(cm->SetCookieWithOptions(url_google, in TEST()
1302 GURL url_google(kUrlGoogle); in TEST() local
1304 EXPECT_TRUE(cm->SetCookie(url_google, "A=A1; path=/")); in TEST()
1305 EXPECT_TRUE(cm->SetCookie(url_google, "A=A2; path=/foo")); in TEST()
1306 EXPECT_TRUE(cm->SetCookie(url_google, "A=A3; path=/bar")); in TEST()
1307 EXPECT_TRUE(cm->SetCookie(url_google, "B=B1; path=/")); in TEST()
1308 EXPECT_TRUE(cm->SetCookie(url_google, "B=B2; path=/foo")); in TEST()
1309 EXPECT_TRUE(cm->SetCookie(url_google, "B=B3; path=/bar")); in TEST()
1326 GURL url_google("http://www.google.com/"); in TEST() local
1334 cm->SetCookie(url_google, "a=val1; path=/path1; " in TEST()
1341 cm->SetCookie(url_google, "b=val1; path=/path1; " in TEST()
1351 cm->SetCookieWithOptions(url_google, in TEST()
1360 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
1369 EXPECT_TRUE(cm->SetCookie(url_google, in TEST()
1395 GURL url_google("http://www.google.com/"); in TEST() local
1480 GURL url_google("http://www.google.com/"); in TEST() local
1519 GURL url_google(kUrlGoogle); in TEST() local
1527 EXPECT_TRUE(cm->SetCookie(url_google, "A=B")); in TEST()
1528 EXPECT_TRUE(cm->SetCookie(url_google, "C=D")); in TEST()
1529 EXPECT_TRUE(cm->SetCookie(url_google, "E=F")); in TEST()
1530 EXPECT_EQ("A=B; C=D; E=F", cm->GetCookies(url_google)); in TEST()
1533 EXPECT_EQ(url_google.host(), delegate->changes()[0].first.Domain()); in TEST()
1536 EXPECT_EQ(url_google.host(), delegate->changes()[1].first.Domain()); in TEST()
1540 EXPECT_EQ(url_google.host(), delegate->changes()[2].first.Domain()); in TEST()
1546 EXPECT_TRUE(FindAndDeleteCookie(cm, url_google.host(), "C")); in TEST()
1547 EXPECT_EQ("A=B; E=F", cm->GetCookies(url_google)); in TEST()
1549 EXPECT_EQ(url_google.host(), delegate->changes()[0].first.Domain()); in TEST()
1556 EXPECT_EQ("A=B; E=F", cm->GetCookies(url_google)); in TEST()
1561 cm->SetCookie(url_google, "a=val1; path=/path1; " in TEST()
1567 EXPECT_EQ(url_google.host(), delegate->changes()[0].first.Domain()); in TEST()
1577 cm->SetCookieWithOptions(url_google, in TEST()
1585 EXPECT_EQ(url_google.host(), delegate->changes()[0].first.Domain()); in TEST()
1589 EXPECT_EQ(url_google.host(), delegate->changes()[1].first.Domain()); in TEST()
1597 GURL url_google(kUrlGoogle); in TEST() local
1611 url_google, "E", "F", std::string(), std::string(), base::Time(), in TEST()
1737 GURL url_google(kUrlGoogle); in TEST() local
1751 cm->SetCookie(url_google, "SetCookie1=A"); in TEST()
1752 cm->SetCookie(url_google, "SetCookie2=A"); in TEST()
1753 cm->SetCookie(url_google, "SetCookie3=A"); in TEST()
1760 cm->SetCookies(url_google, cookie_lines); in TEST()
1769 cm->SetCookiesWithOptions(url_google, cookie_lines, options); in TEST()
1772 cm->SetCookieWithOptions(url_google, "setCookieWithOptions1=A", options); in TEST()
1773 cm->SetCookieWithOptions(url_google, "setCookieWithOptions2=A", options); in TEST()
1774 cm->SetCookieWithOptions(url_google, "setCookieWithOptions3=A", options); in TEST()
1776 cm->SetCookieWithDetails(url_google, "setCookieWithDetails1", "A", in TEST()
1778 cm->SetCookieWithDetails(url_google, "setCookieWithDetails2", "A", in TEST()
1780 cm->SetCookieWithDetails(url_google, "setCookieWithDetails3", "A", in TEST()
2049 GURL url_google(kUrlGoogle); in TEST() local
2055 ASSERT_TRUE(cm->SetCookieWithOptions(url_google, in TEST()
2065 ASSERT_TRUE(cm->SetCookieWithOptions(url_google, in TEST()
2076 GURL url_google(kUrlGoogle); in TEST() local
2082 ASSERT_TRUE(cm->SetCookieWithOptions(url_google, in TEST()
2091 ASSERT_TRUE(cm->SetCookieWithOptions(url_google, in TEST()
2259 GURL url_google(kUrlGoogle); in TEST() local
2260 ASSERT_TRUE(cm->SetCookie(url_google, kValidCookieLine)); in TEST()