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

Unified Diff: net/cookies/cookie_monster.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 05c3667d5baa2ee12b245fbf33399d68be1c79d1..14663a56db6d47e114aded382063ec14e66ffe6a 100644
--- a/net/cookies/cookie_monster.cc
+++ b/net/cookies/cookie_monster.cc
@@ -174,7 +174,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
@@ -1374,7 +1374,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()) {
@@ -1386,7 +1386,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;
}
@@ -1427,12 +1427,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
@@ -1461,7 +1461,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
@@ -1537,7 +1537,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