Index: components/google/core/browser/google_util_unittest.cc |
diff --git a/components/google/core/browser/google_util_unittest.cc b/components/google/core/browser/google_util_unittest.cc |
index 94e9b73259d0e1ac38a56f2997963ed4da16b214..7bb67f7196e88e1b25272358f6942a58efbb1f63 100644 |
--- a/components/google/core/browser/google_util_unittest.cc |
+++ b/components/google/core/browser/google_util_unittest.cc |
@@ -310,8 +310,8 @@ TEST(GoogleUtilTest, GoogleBaseURLNotSpecified) { |
EXPECT_FALSE(IsSearch("http://www.foo.com/search?q=a")); |
// Override the Google base URL on the command line. |
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(switches::kGoogleBaseURL, |
- "http://www.foo.com/"); |
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( |
+ switches::kGoogleBaseURL, "http://www.foo.com/"); |
// Only URLs which start with exactly the string on the command line should |
// cause StartsWithCommandLineGoogleBaseURL() to return true. |
@@ -336,20 +336,20 @@ TEST(GoogleUtilTest, GoogleBaseURLNotSpecified) { |
} |
TEST(GoogleUtilTest, GoogleBaseURLDisallowQuery) { |
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(switches::kGoogleBaseURL, |
- "http://www.foo.com/?q="); |
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( |
+ switches::kGoogleBaseURL, "http://www.foo.com/?q="); |
EXPECT_FALSE(google_util::CommandLineGoogleBaseURL().is_valid()); |
} |
TEST(GoogleUtilTest, GoogleBaseURLDisallowRef) { |
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(switches::kGoogleBaseURL, |
- "http://www.foo.com/#q="); |
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( |
+ switches::kGoogleBaseURL, "http://www.foo.com/#q="); |
EXPECT_FALSE(google_util::CommandLineGoogleBaseURL().is_valid()); |
} |
TEST(GoogleUtilTest, GoogleBaseURLFixup) { |
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(switches::kGoogleBaseURL, |
- "www.foo.com"); |
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( |
+ switches::kGoogleBaseURL, "www.foo.com"); |
ASSERT_TRUE(google_util::CommandLineGoogleBaseURL().is_valid()); |
EXPECT_EQ("http://www.foo.com/", |
google_util::CommandLineGoogleBaseURL().spec()); |