Home | History | Annotate | Download | only in browser

Lines Matching defs:monster

49     net::CookieMonster* monster = profile_->GetCookieMonster();
50 monster->SetCookie(GURL("http://foo1"), "A=1");
51 monster->SetCookie(GURL("http://foo2"), "B=1");
52 monster->SetCookie(GURL("http://foo3"), "C=1");
54 monster, mock_browsing_data_database_helper_,
95 // monster->SetCookie(GURL("http://b"), "X=1")
96 // monster->SetCookie(GURL("http://a"), "Y=1")
97 // EXPECT_STREQ("Y,X", GetMonsterCookies(monster).c_str());
98 std::string GetMonsterCookies(net::CookieMonster* monster) {
100 net::CookieList cookie_list = monster->GetAllCookies();
236 net::CookieMonster* monster = profile_->GetCookieMonster();
241 EXPECT_EQ(GetMonsterCookies(monster),
264 EXPECT_EQ(std::string(""), GetMonsterCookies(monster));
265 EXPECT_EQ(GetMonsterCookies(monster),
277 net::CookieMonster* monster = profile_->GetCookieMonster();
282 EXPECT_STREQ("B,C", GetMonsterCookies(monster).c_str());
297 EXPECT_STREQ("B,C", GetMonsterCookies(monster).c_str());
312 EXPECT_STREQ("B,C", GetMonsterCookies(monster).c_str());
327 EXPECT_STREQ("B,C", GetMonsterCookies(monster).c_str());
343 net::CookieMonster* monster = profile_->GetCookieMonster();
348 EXPECT_STREQ("B,C", GetMonsterCookies(monster).c_str());
371 EXPECT_STREQ("B,C", GetMonsterCookies(monster).c_str());
386 EXPECT_STREQ("B,C", GetMonsterCookies(monster).c_str());
402 net::CookieMonster* monster = profile_->GetCookieMonster();
407 EXPECT_STREQ("A,C", GetMonsterCookies(monster).c_str());
432 EXPECT_STREQ("A,C", GetMonsterCookies(monster).c_str());
447 EXPECT_STREQ("A,C", GetMonsterCookies(monster).c_str());
461 net::CookieMonster* monster = profile_->GetCookieMonster();
462 monster->SetCookie(GURL("http://foo1"), "A=1");
463 monster->SetCookie(GURL("http://foo2"), "B=1");
464 monster->SetCookie(GURL("http://foo3"), "C=1");
465 monster->SetCookie(GURL("http://foo3"), "D=1");
466 CookiesTreeModel cookies_model(monster,
495 EXPECT_STREQ("A,B,C,D", GetMonsterCookies(monster).c_str());
508 EXPECT_STREQ("A,B", GetMonsterCookies(monster).c_str());
522 net::CookieMonster* monster = profile_->GetCookieMonster();
523 monster->SetCookie(GURL("http://foo1"), "A=1");
524 monster->SetCookie(GURL("http://foo2"), "B=1");
525 monster->SetCookie(GURL("http://foo3"), "C=1");
526 monster->SetCookie(GURL("http://foo3"), "D=1");
527 monster->SetCookie(GURL("http://foo3"), "E=1");
528 CookiesTreeModel cookies_model(monster,
557 EXPECT_STREQ("A,B,C,D,E", GetMonsterCookies(monster).c_str());
571 EXPECT_STREQ("A,B,C,E", GetMonsterCookies(monster).c_str());
585 net::CookieMonster* monster = profile_->GetCookieMonster();
586 monster->SetCookie(GURL("http://foo1"), "A=1");
587 monster->SetCookie(GURL("http://foo2"), "B=1");
588 monster->SetCookie(GURL("http://foo3"), "C=1");
589 monster->SetCookie(GURL("http://foo3"), "D=1");
590 monster->SetCookie(GURL("http://foo3"), "E=1");
591 CookiesTreeModel cookies_model(monster,
603 EXPECT_STREQ("A,B,C,D,E", GetMonsterCookies(monster).c_str());
609 EXPECT_STREQ("A,C,D,E", GetMonsterCookies(monster).c_str());
617 net::CookieMonster* monster = profile_->GetCookieMonster();
618 monster->SetCookie(GURL("http://a.foo2.com"), "A=1");
619 monster->SetCookie(GURL("http://foo2.com"), "B=1");
620 monster->SetCookie(GURL("http://b.foo1.com"), "C=1");
621 monster->SetCookie(GURL("http://foo4.com"), "D=1; domain=.foo4.com;"
623 monster->SetCookie(GURL("http://a.foo1.com"), "E=1");
624 monster->SetCookie(GURL("http://foo1.com"), "F=1");
625 monster->SetCookie(GURL("http://foo3.com"), "G=1");
626 monster->SetCookie(GURL("http://foo4.com"), "H=1");
628 CookiesTreeModel cookies_model(monster,
640 EXPECT_STREQ("A,B,C,D,E,F,G,H", GetMonsterCookies(monster).c_str());
646 EXPECT_STREQ("A,B,C,D,F,G,H", GetMonsterCookies(monster).c_str());
654 net::CookieMonster* monster = profile_->GetCookieMonster();
655 monster->SetCookie(host, "A=1");
657 CookiesTreeModel cookies_model(monster,