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

Unified Diff: sync/engine/commit.cc

Issue 1991973002: [Sync] Add histograms for cookie jar state on Sessions commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review Created 4 years, 7 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
Index: sync/engine/commit.cc
diff --git a/sync/engine/commit.cc b/sync/engine/commit.cc
index 5e3d72e1d96a7c9b0109e4a3898012f0abe7b9c3..678da3f22be727e1f2f214aca46f7ed07669c2bd 100644
--- a/sync/engine/commit.cc
+++ b/sync/engine/commit.cc
@@ -39,6 +39,7 @@ Commit* Commit::Init(
const std::string& account_name,
const std::string& cache_guid,
bool cookie_jar_mismatch,
+ bool cookie_jar_empty,
CommitProcessor* commit_processor,
ExtensionsActivity* extensions_activity) {
// Gather per-type contributions.
@@ -46,6 +47,8 @@ Commit* Commit::Init(
commit_processor->GatherCommitContributions(
requested_types,
max_entries,
+ cookie_jar_mismatch,
+ cookie_jar_empty,
&contributions);
// Give up if no one had anything to commit.

Powered by Google App Engine
This is Rietveld 408576698