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

Unified Diff: sync/engine/commit_util.cc

Issue 1849563005: [Sync] Add cookie jar mismatch logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add integration test Created 4 years, 9 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_util.cc
diff --git a/sync/engine/commit_util.cc b/sync/engine/commit_util.cc
index f2ac07671978097e750468834544b4c35ae813ac..4d0eacc75cc7773d247547f6cb5e56025fda057c 100644
--- a/sync/engine/commit_util.cc
+++ b/sync/engine/commit_util.cc
@@ -68,6 +68,7 @@ void AddExtensionsActivityToMessage(
void AddClientConfigParamsToMessage(
ModelTypeSet enabled_types,
+ bool cookie_jar_mismatch,
sync_pb::CommitMessage* message) {
sync_pb::ClientConfigParams* config_params = message->mutable_config_params();
for (ModelTypeSet::Iterator it = enabled_types.First(); it.Good(); it.Inc()) {
@@ -78,6 +79,7 @@ void AddClientConfigParamsToMessage(
}
config_params->set_tabs_datatype_enabled(
enabled_types.Has(syncer::PROXY_TABS));
+ config_params->set_cookie_jar_mismatch(cookie_jar_mismatch);
}
namespace {

Powered by Google App Engine
This is Rietveld 408576698