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

Unified Diff: sync/engine/syncer.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: 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_processor.cc ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/syncer.cc
diff --git a/sync/engine/syncer.cc b/sync/engine/syncer.cc
index eddfb491e4f47ef9ca5533e3152d65d03db510d1..23d8c961752f77dea95cfe3cc8ab5b29cd17e78a 100644
--- a/sync/engine/syncer.cc
+++ b/sync/engine/syncer.cc
@@ -179,13 +179,14 @@ SyncerError Syncer::BuildAndPostCommits(ModelTypeSet requested_types,
// errors from the ServerConnectionManager if an exist has been requested.
// However, it doesn't hurt to check it anyway.
while (!ExitRequested()) {
- std::unique_ptr<Commit> commit(Commit::Init(
- requested_types, session->context()->GetEnabledTypes(),
- session->context()->max_commit_batch_size(),
- session->context()->account_name(),
- session->context()->directory()->cache_guid(),
- session->context()->cookie_jar_mismatch(), commit_processor,
- session->context()->extensions_activity()));
+ std::unique_ptr<Commit> commit(
+ Commit::Init(requested_types, session->context()->GetEnabledTypes(),
+ session->context()->max_commit_batch_size(),
+ session->context()->account_name(),
+ session->context()->directory()->cache_guid(),
+ session->context()->cookie_jar_mismatch(),
+ session->context()->cookie_jar_empty(), commit_processor,
+ session->context()->extensions_activity()));
if (!commit) {
break;
}
« no previous file with comments | « sync/engine/commit_processor.cc ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698