Lines Matching refs:CookieMonster
73 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()
112 const CookieMonster::CookieMap::iterator& it2) { in LRUCookieSorter()
169 if (!CookieMonster::DomainIsHostOnly(host)) in GetEffectiveDomain()
190 DCHECK(CookieMonster::DomainIsHostOnly(*result)); in GetCookieDomainWithString()
234 const CookieMonster::ParsedCookie& pc, in GetCookieDomain()
273 const CookieMonster::ParsedCookie& pc) { in CanonPath()
280 Time CanonExpirationInternal(const CookieMonster::ParsedCookie& pc, in CanonExpirationInternal()
296 return CookieMonster::ParseCookieTime(pc.Expires()); in CanonExpirationInternal()
302 Time CanonExpiration(const CookieMonster::ParsedCookie& pc, in CanonExpiration()
330 std::vector<CookieMonster::CookieMap::iterator>* cookie_its) { in FindLeastRecentlyAccessed()
353 CookieMonster::Delegate::ChangeCause cause;
358 { CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT, true },
360 { CookieMonster::Delegate::CHANGE_COOKIE_OVERWRITE, true },
362 { CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED, true },
364 { CookieMonster::Delegate::CHANGE_COOKIE_EVICTED, true },
366 { CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT, false },
368 { CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT, false },
370 { CookieMonster::Delegate::CHANGE_COOKIE_EVICTED, true },
372 { CookieMonster::Delegate::CHANGE_COOKIE_EVICTED, true },
374 { CookieMonster::Delegate::CHANGE_COOKIE_EVICTED, true },
376 { CookieMonster::Delegate::CHANGE_COOKIE_EVICTED, true },
378 { CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED_OVERWRITE, true },
380 { CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT, false }
386 bool CookieMonster::enable_file_scheme_ = false;
388 CookieMonster::CookieMonster(PersistentCookieStore* store, Delegate* delegate) in CookieMonster() function in net::CookieMonster
401 CookieMonster::CookieMonster(PersistentCookieStore* store, in CookieMonster() function in net::CookieMonster
424 Time CookieMonster::ParseCookieTime(const std::string& time_string) { in ParseCookieTime()
534 bool CookieMonster::DomainIsHostOnly(const std::string& domain_string) { in DomainIsHostOnly()
538 bool CookieMonster::SetCookieWithDetails( in SetCookieWithDetails()
567 CookieList CookieMonster::GetAllCookies() { in GetAllCookies()
600 CookieList CookieMonster::GetAllCookiesForURLWithOptions( in GetAllCookiesForURLWithOptions()
618 CookieList CookieMonster::GetAllCookiesForURL(const GURL& url) { in GetAllCookiesForURL()
625 int CookieMonster::DeleteAll(bool sync_to_store) { in DeleteAll()
643 int CookieMonster::DeleteAllCreatedBetween(const Time& delete_begin, in DeleteAllCreatedBetween()
665 int CookieMonster::DeleteAllCreatedAfter(const Time& delete_begin, in DeleteAllCreatedAfter()
670 int CookieMonster::DeleteAllForHost(const GURL& url) { in DeleteAllForHost()
701 bool CookieMonster::DeleteCanonicalCookie(const CanonicalCookie& cookie) { in DeleteCanonicalCookie()
716 void CookieMonster::SetCookieableSchemes( in SetCookieableSchemes()
728 void CookieMonster::SetExpiryAndKeyScheme(ExpiryAndKeyScheme key_scheme) { in SetExpiryAndKeyScheme()
733 void CookieMonster::SetKeepExpiredCookies() { in SetKeepExpiredCookies()
737 void CookieMonster::SetClearPersistentStoreOnExit(bool clear_local_store) { in SetClearPersistentStoreOnExit()
743 void CookieMonster::EnableFileScheme() { in EnableFileScheme()
747 void CookieMonster::FlushStore(Task* completion_task) { in FlushStore()
755 bool CookieMonster::SetCookieWithOptions(const GURL& url, in SetCookieWithOptions()
769 std::string CookieMonster::GetCookiesWithOptions(const GURL& url, in GetCookiesWithOptions()
805 void CookieMonster::DeleteCookie(const GURL& url, in DeleteCookie()
838 CookieMonster* CookieMonster::GetCookieMonster() { in GetCookieMonster()
842 CookieMonster::~CookieMonster() { in ~CookieMonster()
846 bool CookieMonster::SetCookieWithCreationTime(const GURL& url, in SetCookieWithCreationTime()
860 void CookieMonster::InitStore() { in InitStore()
915 void CookieMonster::EnsureCookiesMapIsValid() { in EnsureCookiesMapIsValid()
938 int CookieMonster::TrimDuplicateCookiesForKey( in TrimDuplicateCookiesForKey()
1023 const char* CookieMonster::kDefaultCookieableSchemes[] =
1025 const int CookieMonster::kDefaultCookieableSchemesCount =
1026 arraysize(CookieMonster::kDefaultCookieableSchemes);
1028 void CookieMonster::SetDefaultCookieableSchemes() { in SetDefaultCookieableSchemes()
1035 void CookieMonster::FindCookiesForHostAndDomain( in FindCookiesForHostAndDomain()
1085 void CookieMonster::FindCookiesForKey( in FindCookiesForKey()
1135 bool CookieMonster::DeleteAnyEquivalentCookie(const std::string& key, in DeleteAnyEquivalentCookie()
1166 void CookieMonster::InternalInsertCookie(const std::string& key, in InternalInsertCookie()
1176 *cc, false, CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT); in InternalInsertCookie()
1180 bool CookieMonster::SetCookieWithCreationTimeAndOptions( in SetCookieWithCreationTimeAndOptions()
1230 bool CookieMonster::SetCanonicalCookie(scoped_ptr<CanonicalCookie>* cc, in SetCanonicalCookie()
1266 void CookieMonster::InternalUpdateCookieAccessTime(CanonicalCookie* cc, in InternalUpdateCookieAccessTime()
1286 void CookieMonster::InternalDeleteCookie(CookieMap::iterator it, in InternalDeleteCookie()
1321 int CookieMonster::GarbageCollect(const Time& current, in GarbageCollect()
1400 int CookieMonster::GarbageCollectExpired( in GarbageCollectExpired()
1425 int CookieMonster::GarbageCollectDeleteList( in GarbageCollectDeleteList()
1467 std::string CookieMonster::GetKey(const std::string& domain) const { in GetKey()
1481 bool CookieMonster::HasCookieableScheme(const GURL& url) { in HasCookieableScheme()
1507 void CookieMonster::RecordPeriodicStats(const base::Time& current_time) { in RecordPeriodicStats()
1577 void CookieMonster::InitializeHistograms() { in InitializeHistograms()
1628 Time CookieMonster::CurrentTime() { in CurrentTime()
1633 CookieMonster::ParsedCookie::ParsedCookie(const std::string& cookie_line) in ParsedCookie()
1654 CookieMonster::ParsedCookie::~ParsedCookie() { in ~ParsedCookie()
1685 const char CookieMonster::ParsedCookie::kTerminator[] = "\n\r\0";
1686 const int CookieMonster::ParsedCookie::kTerminatorLen =
1688 const char CookieMonster::ParsedCookie::kWhitespace[] = " \t";
1689 const char CookieMonster::ParsedCookie::kValueSeparator[] = ";";
1690 const char CookieMonster::ParsedCookie::kTokenSeparator[] = ";=";
1695 std::string CookieMonster::ParsedCookie::DebugString() const { in DebugString()
1707 std::string::const_iterator CookieMonster::ParsedCookie::FindFirstTerminator( in FindFirstTerminator()
1719 bool CookieMonster::ParsedCookie::ParseToken( in ParseToken()
1756 void CookieMonster::ParsedCookie::ParseValue( in ParseValue()
1823 std::string CookieMonster::ParsedCookie::ParseTokenString( in ParseTokenString()
1834 std::string CookieMonster::ParsedCookie::ParseValueString( in ParseValueString()
1845 void CookieMonster::ParsedCookie::ParseTokenValuePairs( in ParseTokenValuePairs()
1906 void CookieMonster::ParsedCookie::SetupAttributes() { in SetupAttributes()
1934 CookieMonster::CanonicalCookie::CanonicalCookie() in CanonicalCookie()
1940 CookieMonster::CanonicalCookie::CanonicalCookie(const GURL& url, in CanonicalCookie()
1964 CookieMonster::CanonicalCookie::CanonicalCookie(const GURL& url, in CanonicalCookie()
1992 CookieMonster::CanonicalCookie::~CanonicalCookie() { in ~CanonicalCookie()
1995 std::string CookieMonster::CanonicalCookie::GetCookieSourceFromURL( in GetCookieSourceFromURL()
2008 CookieMonster::CanonicalCookie* CookieMonster::CanonicalCookie::Create( in Create()
2056 bool CookieMonster::CanonicalCookie::IsOnPath( in IsOnPath()
2092 bool CookieMonster::CanonicalCookie::IsDomainMatch( in IsDomainMatch()
2127 std::string CookieMonster::CanonicalCookie::DebugString() const { in DebugString()