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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 347653006: Define a single macro for enabling backup function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index dc71f4c7c9f1c6f9a1086376f6bfa8209b111dd3..664926112b270fe57794e4119a55a037f970e278 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -311,7 +311,7 @@ void ProfileSyncService::Initialize() {
backup_rollback_controller_.Start(backup_start_delay_);
-#if defined(OS_WIN) || defined(OS_MACOSX) || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+#if defined(ENABLE_PRE_SYNC_BACKUP)
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kSyncDisableBackup)) {
profile_->GetIOTaskRunner()->PostDelayedTask(

Powered by Google App Engine
This is Rietveld 408576698