Lines Matching refs:cookies
32 std::vector<net::CookieMonster::CanonicalCookie*> cookies;
33 ASSERT_TRUE(store_->Load(&cookies));
34 ASSERT_TRUE(0 == cookies.size());
81 std::vector<net::CookieMonster::CanonicalCookie*> cookies;
94 ASSERT_TRUE(store_->Load(&cookies));
95 ASSERT_EQ(1U, cookies.size());
96 ASSERT_STREQ("http://foo.bar", cookies[0]->Domain().c_str());
97 ASSERT_STREQ("A", cookies[0]->Name().c_str());
98 ASSERT_STREQ("B", cookies[0]->Value().c_str());
101 store_->DeleteCookie(*cookies[0]);
105 STLDeleteContainerPointers(cookies.begin(), cookies.end());
106 cookies.clear();
111 ASSERT_TRUE(store_->Load(&cookies));
112 ASSERT_EQ(0U, cookies.size());
124 // Write some large cookies, so the DB will have to expand by several KB.