Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: net/cookies/cookie_monster.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/BUILD.gn ('k') | net/disk_cache/simple/simple_index_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_monster.cc
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc
index 47785f6e758220dbda0a2de3739abea06c95aad3..0ab5ad7171e3372c221958f1b64b4db3f393c289 100644
--- a/net/cookies/cookie_monster.cc
+++ b/net/cookies/cookie_monster.cc
@@ -175,7 +175,7 @@ struct OrderByCreationTimeDesc {
// Constants for use in VLOG
const int kVlogPerCookieMonster = 1;
const int kVlogGarbageCollection = 5;
-const int kVlogSetCookies = 7;
+const int kVlogSetCookies2 = 7;
const int kVlogGetCookies = 9;
// Mozilla sorts on the path length (longest first), and then it
@@ -1367,7 +1367,7 @@ void CookieMonster::SetCookieWithCreationTimeAndOptions(
SetCookiesCallback callback) {
DCHECK(thread_checker_.CalledOnValidThread());
- VLOG(kVlogSetCookies) << "SetCookie() line: " << cookie_line;
+ VLOG(kVlogSetCookies2) << "SetCookie() line: " << cookie_line;
Time creation_time = creation_time_or_null;
if (creation_time.is_null()) {
@@ -1379,7 +1379,7 @@ void CookieMonster::SetCookieWithCreationTimeAndOptions(
CanonicalCookie::Create(url, cookie_line, creation_time, options));
if (!cc.get()) {
- VLOG(kVlogSetCookies) << "WARNING: Failed to allocate CanonicalCookie";
+ VLOG(kVlogSetCookies2) << "WARNING: Failed to allocate CanonicalCookie";
MaybeRunCookieCallback(std::move(callback), false);
return;
}
@@ -1419,12 +1419,12 @@ void CookieMonster::SetCanonicalCookie(std::unique_ptr<CanonicalCookie> cc,
"SetCookie() not clobbering httponly cookie or secure cookie for "
"insecure scheme";
- VLOG(kVlogSetCookies) << error;
+ VLOG(kVlogSetCookies2) << error;
MaybeRunCookieCallback(std::move(callback), false);
return;
}
- VLOG(kVlogSetCookies) << "SetCookie() key: " << key
+ VLOG(kVlogSetCookies2) << "SetCookie() key: " << key
<< " cc: " << cc->DebugString();
// Realize that we might be setting an expired cookie, and the only point
@@ -1453,7 +1453,7 @@ void CookieMonster::SetCanonicalCookie(std::unique_ptr<CanonicalCookie> cc,
InternalInsertCookie(key, std::move(cc), true);
} else {
- VLOG(kVlogSetCookies) << "SetCookie() not storing already expired cookie.";
+ VLOG(kVlogSetCookies2) << "SetCookie() not storing already expired cookie.";
}
// We assume that hopefully setting a cookie will be less common than
@@ -1529,7 +1529,7 @@ void CookieMonster::InternalDeleteCookie(CookieMap::iterator it,
"kChangeCauseMapping size should match DeletionCause size");
CanonicalCookie* cc = it->second.get();
- VLOG(kVlogSetCookies) << "InternalDeleteCookie()"
+ VLOG(kVlogSetCookies2) << "InternalDeleteCookie()"
<< ", cause:" << deletion_cause
<< ", cc: " << cc->DebugString();
« no previous file with comments | « net/BUILD.gn ('k') | net/disk_cache/simple/simple_index_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698