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

Unified Diff: components/sync/driver/startup_controller.cc

Issue 2106743002: WIP: Local sync only... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix after rebase. Created 4 years, 3 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: components/sync/driver/startup_controller.cc
diff --git a/components/sync/driver/startup_controller.cc b/components/sync/driver/startup_controller.cc
index da29244c6ad372357e68b3302bc3bf676316bdb6..5afac2be706857375134e63d8ed79a0057e75904 100644
--- a/components/sync/driver/startup_controller.cc
+++ b/components/sync/driver/startup_controller.cc
@@ -87,6 +87,8 @@ bool StartupController::StartUp(StartUpDeferredOption deferred_option) {
if (first_start)
start_up_time_ = base::Time::Now();
+ LOG(ERROR) << "@@@ StartupController::StartUp " << deferred_option;
+
if (deferred_option == STARTUP_BACKEND_DEFERRED &&
!base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kSyncDisableDeferredStartup) &&
@@ -104,6 +106,7 @@ bool StartupController::StartUp(StartUpDeferredOption deferred_option) {
if (start_backend_time_.is_null()) {
start_backend_time_ = base::Time::Now();
+ LOG(ERROR) << "@@@@ DO IT NOW!";
start_backend_.Run();
}
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_core.cc ('k') | components/sync/engine_impl/net/loopback_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698