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

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

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/backup_rollback_controller_unittest.cc
diff --git a/chrome/browser/sync/backup_rollback_controller_unittest.cc b/chrome/browser/sync/backup_rollback_controller_unittest.cc
index 483221c7cd620802899bb1766e2cb3210674a9bd..9048077a04f8a891d1293a49d10af9446c6c2fe9 100644
--- a/chrome/browser/sync/backup_rollback_controller_unittest.cc
+++ b/chrome/browser/sync/backup_rollback_controller_unittest.cc
@@ -87,8 +87,8 @@ TEST_F(BackupRollbackControllerTest, StartBackup) {
}
TEST_F(BackupRollbackControllerTest, NoBackupIfDisabled) {
- CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kSyncDisableBackup);
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kSyncDisableBackup);
base::RunLoop run_loop;
EXPECT_FALSE(controller_->StartBackup());
@@ -130,8 +130,8 @@ TEST_F(BackupRollbackControllerTest, NoRollbackIfUserSignedIn) {
TEST_F(BackupRollbackControllerTest, NoRollbackIfDisabled) {
fake_prefs_.SetRemainingRollbackTries(1);
- CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kSyncDisableRollback);
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kSyncDisableRollback);
EXPECT_FALSE(controller_->StartRollback());
EXPECT_EQ(0, fake_prefs_.GetRemainingRollbackTries());
« no previous file with comments | « chrome/browser/sync/backup_rollback_controller.cc ('k') | chrome/browser/sync/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698