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

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

Issue 435463002: Enable rollback by default on trunk (m38). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/sync/backup_rollback_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/backup_rollback_controller.cc
diff --git a/chrome/browser/sync/backup_rollback_controller.cc b/chrome/browser/sync/backup_rollback_controller.cc
index bce91866959ee11ce8f4c6c2b964a3919119c57c..977126f27c63d253d183be239a85cc1b74c1eb73 100644
--- a/chrome/browser/sync/backup_rollback_controller.cc
+++ b/chrome/browser/sync/backup_rollback_controller.cc
@@ -41,8 +41,8 @@ void BackupRollbackController::Start(base::TimeDelta delay) {
if (!IsBackupEnabled())
return;
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kSyncEnableRollback)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSyncDisableRollback)) {
sync_prefs_->SetRemainingRollbackTries(0);
}
« no previous file with comments | « no previous file | chrome/browser/sync/backup_rollback_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698