diff options
author | kkosztyo.u-szeged <kkosztyo.u-szeged@partner.samsung.com> | 2014-12-04 01:54:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-04 09:55:03 +0000 |
commit | b33617cb4d1eacfec6f06cc8dc42d096e236edd7 (patch) | |
tree | 349d8c9140984d379b45e30476805493668ae140 /components/omnibox | |
parent | e69fcbd9b7ce482380eb70f987a2020c46f65001 (diff) | |
download | chromium_src-b33617cb4d1eacfec6f06cc8dc42d096e236edd7.zip chromium_src-b33617cb4d1eacfec6f06cc8dc42d096e236edd7.tar.gz chromium_src-b33617cb4d1eacfec6f06cc8dc42d096e236edd7.tar.bz2 |
Prefix CommandLine usage with base namespace (Part 9: components)
Prefix all CommandLine usage in the components/ directory's following subdirectories:
feedback, gcm_driver, google, infobars, invalidation, keyed_service, metrics, nacl,
omnibox and os_crypt with the base:: namespace
BUG=422426
Review URL: https://codereview.chromium.org/774933004
Cr-Commit-Position: refs/heads/master@{#306790}
Diffstat (limited to 'components/omnibox')
-rw-r--r-- | components/omnibox/keyword_provider_unittest.cc | 2 | ||||
-rw-r--r-- | components/omnibox/omnibox_field_trial.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/omnibox/keyword_provider_unittest.cc b/components/omnibox/keyword_provider_unittest.cc index cbfc0b9..c03fcff 100644 --- a/components/omnibox/keyword_provider_unittest.cc +++ b/components/omnibox/keyword_provider_unittest.cc @@ -354,7 +354,7 @@ TEST_F(KeywordProviderTest, GetSubstitutingTemplateURLForInput) { // If extra query params are specified on the command line, they should be // reflected (only) in the default search provider's destination URL. TEST_F(KeywordProviderTest, ExtraQueryParams) { - CommandLine::ForCurrentProcess()->AppendSwitchASCII( + base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( switches::kExtraSearchQueryParams, "a=b"); TestData<GURL> url_cases[] = { diff --git a/components/omnibox/omnibox_field_trial.cc b/components/omnibox/omnibox_field_trial.cc index 0955eea..6e7706b 100644 --- a/components/omnibox/omnibox_field_trial.cc +++ b/components/omnibox/omnibox_field_trial.cc @@ -308,7 +308,7 @@ bool OmniboxFieldTrial::DisableInlining() { } bool OmniboxFieldTrial::EnableAnswersInSuggest() { - const CommandLine* cl = CommandLine::ForCurrentProcess(); + const base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); if (cl->HasSwitch(switches::kDisableAnswersInSuggest)) return false; if (cl->HasSwitch(switches::kEnableAnswersInSuggest)) |