Home
last modified time | relevance | path

Searched refs:CookieMonster (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium/net/base/
Dcookie_monster_store_test.h27 const CookieMonster::CanonicalCookie& cookie) in CookieStoreCommand()
32 CookieMonster::CanonicalCookie cookie;
39 : public CookieMonster::PersistentCookieStore {
48 const std::vector<CookieMonster::CanonicalCookie*>& result);
55 std::vector<CookieMonster::CanonicalCookie*>* out_cookies);
57 virtual void AddCookie(const CookieMonster::CanonicalCookie& cookie);
60 const CookieMonster::CanonicalCookie& cookie);
63 const CookieMonster::CanonicalCookie& cookie);
75 std::vector<CookieMonster::CanonicalCookie*> load_result_;
81 class MockCookieMonsterDelegate : public CookieMonster::Delegate {
[all …]
Dcookie_monster_unittest.cc42 void PopulateCmForDeleteAllForHost(scoped_refptr<CookieMonster> cm) { in PopulateCmForDeleteAllForHost()
121 CookieMonster::ParsedCookie pc("a=b"); in TEST()
156 CookieMonster::ParsedCookie pc( in TEST()
173 CookieMonster::ParsedCookie pc("BLAHHH; path=/; secure;"); in TEST()
183 CookieMonster::ParsedCookie pc("BLAHHH; Path=/; sECuRe; httpONLY"); in TEST()
195 CookieMonster::ParsedCookie pc("\"BLA\\\"HHH\"; path=/; secure;"); in TEST()
206 CookieMonster::ParsedCookie pc("a=\"B"); in TEST()
214 CookieMonster::ParsedCookie pc("=ABC"); in TEST()
222 CookieMonster::ParsedCookie pc("ABC=; path = /wee"); in TEST()
232 CookieMonster::ParsedCookie pc(" A = BC ;secure;;; httponly"); in TEST()
[all …]
Dcookie_monster_store_test.cc23 const std::vector<CookieMonster::CanonicalCookie*>& result) { in SetLoadExpectation()
29 std::vector<CookieMonster::CanonicalCookie*>* out_cookies) { in Load()
37 const CookieMonster::CanonicalCookie& cookie) { in AddCookie()
43 const CookieMonster::CanonicalCookie& cookie) { in UpdateCookieAccessTime()
49 const CookieMonster::CanonicalCookie& cookie) { in DeleteCookie()
67 const CookieMonster::CanonicalCookie& cookie, in OnCookieChanged()
69 CookieMonster::Delegate::ChangeCause cause) { in OnCookieChanged()
80 std::vector<CookieMonster::CanonicalCookie*>* out_list) { in AddCookieToList()
83 CookieMonster::ParsedCookie pc(cookie_line); in AddCookieToList()
92 CookieMonster::ParseCookieTime(pc.Expires()) : base::Time(); in AddCookieToList()
[all …]
Dcookie_monster_perftest.cc31 CookieMonster::ParsedCookie pc(cookie); in TEST()
42 CookieMonster::ParsedCookie pc(cookie); in TEST()
51 scoped_refptr<CookieMonster> cm(new CookieMonster(NULL, NULL)); in TEST()
78 scoped_refptr<CookieMonster> cm(new CookieMonster(NULL, NULL)); in TEST()
110 scoped_refptr<CookieMonster> cm(new CookieMonster(NULL, NULL)); in TEST()
164 scoped_refptr<CookieMonster> cm(new CookieMonster(NULL, NULL)); in TEST()
204 std::vector<CookieMonster::CanonicalCookie*> initial_cookies; in TEST()
224 scoped_refptr<CookieMonster> cm(new CookieMonster(store, NULL)); in TEST()
238 scoped_refptr<CookieMonster> cm(new CookieMonster(NULL, NULL)); in TEST()
261 CookieMonster::kMaxCookies * 2, in TEST()
[all …]
Dcookie_monster.cc73 const size_t CookieMonster::kDomainMaxCookies = 180;
74 const size_t CookieMonster::kDomainPurgeCookies = 30;
75 const size_t CookieMonster::kMaxCookies = 3300;
76 const size_t CookieMonster::kPurgeCookies = 300;
77 const int CookieMonster::kSafeFromGlobalPurgeDays = 30;
88 bool operator()(const CookieMonster::CookieMap::iterator& a, in operator ()()
89 const CookieMonster::CookieMap::iterator& b) const { in operator ()()
104 bool CookieSorter(CookieMonster::CanonicalCookie* cc1, in CookieSorter()
105 CookieMonster::CanonicalCookie* cc2) { in CookieSorter()
111 bool LRUCookieSorter(const CookieMonster::CookieMap::iterator& it1, in LRUCookieSorter()
[all …]
Dcookie_monster.h45 class CookieMonster : public CookieStore {
119 CookieMonster(PersistentCookieStore* store, Delegate* delegate);
122 CookieMonster(PersistentCookieStore* store,
236 virtual CookieMonster* GetCookieMonster();
338 ~CookieMonster();
526 DISALLOW_COPY_AND_ASSIGN(CookieMonster);
529 class CookieMonster::CanonicalCookie {
646 class CookieMonster::Delegate
647 : public base::RefCountedThreadSafe<CookieMonster::Delegate> {
675 virtual void OnCookieChanged(const CookieMonster::CanonicalCookie& cookie,
[all …]
Dcookie_store.h23 class CookieMonster; variable
46 virtual CookieMonster* GetCookieMonster() = 0;
/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store.h23 : public net::CookieMonster::PersistentCookieStore {
28 virtual bool Load(std::vector<net::CookieMonster::CanonicalCookie*>* cookies);
30 virtual void AddCookie(const net::CookieMonster::CanonicalCookie& cc);
32 const net::CookieMonster::CanonicalCookie& cc);
33 virtual void DeleteCookie(const net::CookieMonster::CanonicalCookie& cc);
Dsqlite_persistent_cookie_store.cc84 bool Load(std::vector<net::CookieMonster::CanonicalCookie*>* cookies);
87 void AddCookie(const net::CookieMonster::CanonicalCookie& cc);
90 void UpdateCookieAccessTime(const net::CookieMonster::CanonicalCookie& cc);
93 void DeleteCookie(const net::CookieMonster::CanonicalCookie& cc);
130 const net::CookieMonster::CanonicalCookie& cc) in PendingOperation()
134 const net::CookieMonster::CanonicalCookie& cc() const { return cc_; } in cc()
138 net::CookieMonster::CanonicalCookie cc_;
144 const net::CookieMonster::CanonicalCookie& cc);
221 std::vector<net::CookieMonster::CanonicalCookie*>* cookies) { in Load()
271 scoped_ptr<net::CookieMonster::CanonicalCookie> cc( in Load()
[all …]
Dchrome_cookie_notification_details.h13 ChromeCookieDetails(const net::CookieMonster::CanonicalCookie* cookie_copy, in ChromeCookieDetails()
15 net::CookieMonster::Delegate::ChangeCause cause) in ChromeCookieDetails()
21 const net::CookieMonster::CanonicalCookie* cookie;
23 net::CookieMonster::Delegate::ChangeCause cause;
Dsqlite_persistent_cookie_store_unittest.cc32 std::vector<net::CookieMonster::CanonicalCookie*> cookies; in SetUp()
37 net::CookieMonster::CanonicalCookie(GURL(), "A", "B", "http://foo.bar", in SetUp()
81 std::vector<net::CookieMonster::CanonicalCookie*> cookies; in TEST_F()
131 net::CookieMonster::CanonicalCookie(GURL(), name, value, in TEST_F()
/external/chromium/chrome/browser/extensions/
Dextension_cookies_helpers.cc49 const net::CookieMonster::CanonicalCookie& cookie, in CreateCookieValue()
57 net::CookieMonster::DomainIsHostOnly(cookie.Domain())); in CreateCookieValue()
84 net::CookieMonster* monster = cookie_store->GetCookieMonster(); in GetCookieListFromStore()
93 const net::CookieMonster::CanonicalCookie& cookie) { in GetURLFromCanonicalCookie()
139 const net::CookieMonster::CanonicalCookie& cookie) { in MatchesCookie()
171 if (net::CookieMonster::DomainIsHostOnly(filter_value)) in MatchesDomain()
176 if (!net::CookieMonster::DomainIsHostOnly(sub_domain)) in MatchesDomain()
Dextension_cookies_unittest.cc109 net::CookieMonster::CanonicalCookie cookie1( in TEST_F()
136 net::CookieMonster::CanonicalCookie cookie2( in TEST_F()
162 net::CookieMonster::CanonicalCookie cookie1( in TEST_F()
169 net::CookieMonster::CanonicalCookie cookie2( in TEST_F()
181 net::CookieMonster::CanonicalCookie cookie; in TEST_F()
201 net::CookieMonster::CanonicalCookie cookie(GURL(), "", "", tests[i].domain, in TEST_F()
Dextension_cookies_helpers.h40 const net::CookieMonster::CanonicalCookie& cookie,
60 const net::CookieMonster::CanonicalCookie& cookie);
91 bool MatchesCookie(const net::CookieMonster::CanonicalCookie& cookie);
Dextension_cookies_api.cc70 case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT: in CookieChanged()
74 case net::CookieMonster::Delegate::CHANGE_COOKIE_OVERWRITE: in CookieChanged()
78 case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED: in CookieChanged()
82 case net::CookieMonster::Delegate::CHANGE_COOKIE_EVICTED: in CookieChanged()
86 case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED_OVERWRITE: in CookieChanged()
369 net::CookieMonster* cookie_monster = in SetCookieOnIOThread()
/external/chromium/chrome/browser/profiles/
Doff_the_record_profile_io_data.cc150 new net::CookieMonster(NULL, profile_params->cookie_monster_delegate)); in LazyInitializeInternal()
154 net::CookieMonster* extensions_cookie_store = in LazyInitializeInternal()
155 new net::CookieMonster(NULL, NULL); in LazyInitializeInternal()
162 new net::CookieMonster(NULL, NULL)); in LazyInitializeInternal()
197 new net::CookieMonster(NULL, NULL)); in InitializeAppRequestContext()
Dprofile_impl_io_data.cc247 cookie_store = new net::CookieMonster( in LazyInitializeInternal()
262 new net::CookieMonster(cookie_db.get(), in LazyInitializeInternal()
266 net::CookieMonster* extensions_cookie_store = in LazyInitializeInternal()
267 new net::CookieMonster( in LazyInitializeInternal()
329 cookie_store = new net::CookieMonster(NULL, NULL); in InitializeAppRequestContext()
344 cookie_store = new net::CookieMonster(cookie_db.get(), NULL); in InitializeAppRequestContext()
Dprofile_io_data.cc44 class ChromeCookieMonsterDelegate : public net::CookieMonster::Delegate {
53 const net::CookieMonster::CanonicalCookie& cookie, in OnCookieChanged()
55 net::CookieMonster::Delegate::ChangeCause cause) { in OnCookieChanged()
114 const net::CookieMonster::CanonicalCookie& cookie, in OnCookieChangedAsyncHelper()
116 net::CookieMonster::Delegate::ChangeCause cause) { in OnCookieChangedAsyncHelper()
/external/chromium/chrome/browser/tab_contents/
Dtab_specific_content_settings.cc279 : cookies_(new net::CookieMonster(NULL, NULL)), in LocalSharedObjectsContainer()
286 net::CookieMonster::kDefaultCookieableSchemes, in LocalSharedObjectsContainer()
287 net::CookieMonster::kDefaultCookieableSchemesCount); in LocalSharedObjectsContainer()
296 cookies_ = new net::CookieMonster(NULL, NULL); in Reset()
298 net::CookieMonster::kDefaultCookieableSchemes, in Reset()
299 net::CookieMonster::kDefaultCookieableSchemesCount); in Reset()
Dtab_specific_content_settings.h24 class CookieMonster; variable
131 net::CookieMonster* cookies() const { return cookies_; } in cookies()
155 scoped_refptr<net::CookieMonster> cookies_;
/external/chromium/chrome/browser/
Dcookies_tree_model_unittest.cc49 net::CookieMonster* monster = profile_->GetCookieMonster(); in CreateCookiesTreeModelWithInitialSample()
98 std::string GetMonsterCookies(net::CookieMonster* monster) { in GetMonsterCookies()
236 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
277 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
343 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
402 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
461 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
522 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
585 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
617 net::CookieMonster* monster = profile_->GetCookieMonster(); in TEST_F()
[all …]
Dcookies_tree_model.h73 const net::CookieMonster::CanonicalCookie* cookie, in DetailedInfo()
97 const net::CookieMonster::CanonicalCookie* cookie, in DetailedInfo()
123 const net::CookieMonster::CanonicalCookie* cookie;
234 explicit CookieTreeCookieNode(net::CookieMonster::CanonicalCookie* cookie);
244 net::CookieMonster::CanonicalCookie* cookie_;
465 net::CookieMonster* cookie_monster_,
535 scoped_refptr<net::CookieMonster> cookie_monster_;
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebCookieJar.cpp112 net::CookieMonster::EnableFileScheme(); in get()
145 m_cookieStore = new net::CookieMonster(m_cookieDb.get(), 0); in WebCookieJar()
189 void SendFlushRequest(net::CookieMonster* monster) { in SendFlushRequest()
202 monster, &net::CookieMonster::FlushStore, callback)); in SendFlushRequest()
/external/chromium/chrome/browser/automation/
Dautomation_util.cc64 const net::CookieMonster::CanonicalCookie& cookie, in SetCookieWithDetailsOnIOThread()
69 net::CookieMonster* cookie_monster = in SetCookieWithDetailsOnIOThread()
213 const net::CookieMonster::CanonicalCookie& cookie = cookie_list[i]; in GetCookiesJSON()
319 scoped_ptr<net::CookieMonster::CanonicalCookie> cookie( in SetCookieJSON()
320 net::CookieMonster::CanonicalCookie::Create( in SetCookieJSON()
/external/chromium/chrome/browser/ui/cocoa/content_settings/
Dcookie_details_view_controller_unittest.mm19 net::CookieMonster::ParsedCookie pc(cookieLine);
20 net::CookieMonster::CanonicalCookie cookie(url, pc);

12