summaryrefslogtreecommitdiffstats
path: root/components/search
diff options
context:
space:
mode:
Diffstat (limited to 'components/search')
-rw-r--r--components/search/search.cc4
-rw-r--r--components/search/search_android_unittest.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/components/search/search.cc b/components/search/search.cc
index d7e7276..c2d4b4e 100644
--- a/components/search/search.cc
+++ b/components/search/search.cc
@@ -67,8 +67,8 @@ bool IsInstantExtendedAPIEnabled() {
// default search provider. If 0, the embedded search UI should not be enabled.
uint64 EmbeddedSearchPageVersion() {
#if defined(OS_ANDROID)
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableEmbeddedSearchAPI)) {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableEmbeddedSearchAPI)) {
return kEmbeddedSearchEnabledVersion;
}
#endif
diff --git a/components/search/search_android_unittest.cc b/components/search/search_android_unittest.cc
index 9c67edff..772daaf 100644
--- a/components/search/search_android_unittest.cc
+++ b/components/search/search_android_unittest.cc
@@ -19,7 +19,7 @@ namespace {
TEST(SearchTest, EmbeddedSearchAPIEnabled) {
EXPECT_EQ(1ul, EmbeddedSearchPageVersion());
EXPECT_FALSE(IsInstantExtendedAPIEnabled());
- CommandLine::ForCurrentProcess()->AppendSwitch(
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kEnableEmbeddedSearchAPI);
EXPECT_EQ(2ul, EmbeddedSearchPageVersion());
EXPECT_TRUE(IsInstantExtendedAPIEnabled());