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

Unified Diff: sync/engine/commit_processor.h

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: git cl format 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
« no previous file with comments | « sync/engine/commit.cc ('k') | sync/engine/commit_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/commit_processor.h
diff --git a/sync/engine/commit_processor.h b/sync/engine/commit_processor.h
index 79bc6434993ac2bb425918ea9fc3250a6a9986ec..13e051b10a1531d43761c153e3ad358fa749f32b 100644
--- a/sync/engine/commit_processor.h
+++ b/sync/engine/commit_processor.h
@@ -45,8 +45,12 @@ class SYNC_EXPORT CommitProcessor {
// map, gather any entries queued for commit into CommitContributions. The
// total number of entries in all the returned CommitContributions shall not
// exceed |max_entries|.
+ // Note: |cookie_jar_mismatch| and |cookie_jar_empty| are used only for
+ // metrics recording purposes specific to the SESSIONS type.
void GatherCommitContributions(ModelTypeSet commit_types,
size_t max_entries,
+ bool cookie_jar_mismatch,
+ bool cookie_jar_empty,
Commit::ContributionMap* contributions);
private:
« no previous file with comments | « sync/engine/commit.cc ('k') | sync/engine/commit_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698