diff options
author | avi <avi@chromium.org> | 2014-12-22 14:42:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-22 22:43:10 +0000 |
commit | 1772c1ae7194b0efdbd3c65d1654902daabb1c51 (patch) | |
tree | 7a73b091425a9f636a2f4efb101eb7e0a19ab84d /components/search | |
parent | 520ae85e967f776f4134277cb14e487894421226 (diff) | |
download | chromium_src-1772c1ae7194b0efdbd3c65d1654902daabb1c51.zip chromium_src-1772c1ae7194b0efdbd3c65d1654902daabb1c51.tar.gz chromium_src-1772c1ae7194b0efdbd3c65d1654902daabb1c51.tar.bz2 |
Make callers of CommandLine use it via the base:: namespace.
Covers cloud_print/ and components/.
BUG=422426
TEST=none
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/818103002
Cr-Commit-Position: refs/heads/master@{#309475}
Diffstat (limited to 'components/search')
-rw-r--r-- | components/search/search.cc | 4 | ||||
-rw-r--r-- | components/search/search_android_unittest.cc | 2 |
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()); |