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

Unified Diff: chrome/browser/sync/test/integration/single_client_backup_rollback_test.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 | « chrome/browser/sync/profile_sync_service_unittest.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc
diff --git a/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc b/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc
index 6de9eb2c752ccbcc2379e6b4f352d9be622130a1..ebb672084e10aef3c9aeb72c03baf5a064ddf260 100644
--- a/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc
+++ b/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc
@@ -43,9 +43,9 @@ class SingleClientBackupRollbackTest : public SyncTest {
switches::kSyncDisableBackup);
}
- void EnableRollback() {
+ void DisableRollback() {
CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kSyncEnableRollback);
+ switches::kSyncDisableRollback);
}
base::Time GetBackupDbLastModified() {
@@ -135,6 +135,8 @@ IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
#endif
IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
MAYBE_TestBackupOnly) {
+ DisableRollback();
+
ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
// Starting state:
@@ -185,8 +187,6 @@ IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
#endif
IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
MAYBE_TestBackupRollback) {
- EnableRollback();
-
ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
// Starting state:
@@ -253,8 +253,6 @@ IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
// backup mode.
IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
MAYBE_TestPrefBackupRollback) {
- EnableRollback();
-
ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
preferences_helper::ChangeStringPref(0, prefs::kHomePage, kUrl1);
@@ -300,8 +298,6 @@ IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
#endif
IN_PROC_BROWSER_TEST_F(SingleClientBackupRollbackTest,
MAYBE_RollbackNoBackup) {
- EnableRollback();
-
ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
// Setup sync, wait for its completion, and make sure changes were synced.
« no previous file with comments | « chrome/browser/sync/profile_sync_service_unittest.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698