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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_impl.cc

Issue 367153005: Sync: Refactoring of DEVICE_INFO syncable type - Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed ExtensionSessionsTest test failures Created 6 years, 5 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: chrome/browser/sync/glue/sync_backend_host_impl.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl.cc b/chrome/browser/sync/glue/sync_backend_host_impl.cc
index dc0de63237f7dc4872aca1018e7b95145a3bc8db..9fced96a71c9b7b5f02304abd59eb0b4b8d1bdd5 100644
--- a/chrome/browser/sync/glue/sync_backend_host_impl.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_impl.cc
@@ -646,7 +646,8 @@ void SyncBackendHostImpl::HandleInitializationSuccessOnFrontendLoop(
const syncer::WeakHandle<syncer::JsBackend> js_backend,
const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>
debug_info_listener,
- syncer::SyncContextProxy* sync_context_proxy) {
+ syncer::SyncContextProxy* sync_context_proxy,
+ const std::string& cache_guid) {
DCHECK_EQ(base::MessageLoop::current(), frontend_loop_);
if (sync_context_proxy)
@@ -676,6 +677,7 @@ void SyncBackendHostImpl::HandleInitializationSuccessOnFrontendLoop(
AddExperimentalTypes();
frontend_->OnBackendInitialized(js_backend,
debug_info_listener,
+ cache_guid,
true);
}
@@ -687,6 +689,7 @@ void SyncBackendHostImpl::HandleInitializationFailureOnFrontendLoop() {
frontend_->OnBackendInitialized(
syncer::WeakHandle<syncer::JsBackend>(),
syncer::WeakHandle<syncer::DataTypeDebugInfoListener>(),
+ "",
false);
}

Powered by Google App Engine
This is Rietveld 408576698