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

Unified Diff: chrome/browser/sync/profile_sync_service_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
« no previous file with comments | « chrome/browser/sync/profile_sync_service_factory.cc ('k') | chrome/browser/sync/startup_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc
index 368dfcd043d011d8d866f786ca11b3af77476ad1..566b369a86dd44086231c8da801d032934d239bc 100644
--- a/chrome/browser/sync/profile_sync_service_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc
@@ -176,7 +176,7 @@ class ProfileSyncServiceTest : public ::testing::Test {
~ProfileSyncServiceTest() override {}
void SetUp() override {
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kSyncDeferredStartupTimeoutSeconds, "0");
CHECK(profile_manager_.SetUp());
@@ -613,7 +613,7 @@ TEST_F(ProfileSyncServiceTest, Rollback) {
TEST_F(ProfileSyncServiceTest, GetSyncServiceURL) {
// See that we can override the URL with a flag.
- CommandLine command_line(
+ base::CommandLine command_line(
base::FilePath(base::FilePath(FILE_PATH_LITERAL("chrome.exe"))));
command_line.AppendSwitchASCII(switches::kSyncServiceURL, "https://foo/bar");
EXPECT_EQ("https://foo/bar",
« no previous file with comments | « chrome/browser/sync/profile_sync_service_factory.cc ('k') | chrome/browser/sync/startup_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698