summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.cc
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2014-12-22 15:49:53 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-22 23:50:37 +0000
commit9ab037205876578d14c5686f491c37bab680eccb (patch)
tree0ab316d7023d4e6bc6243734f5407ac01a8a8f06 /extensions/common/extension.cc
parentfdb146cf261d909613a1d1b11e70d0ba96280ffe (diff)
downloadchromium_src-9ab037205876578d14c5686f491c37bab680eccb.zip
chromium_src-9ab037205876578d14c5686f491c37bab680eccb.tar.gz
chromium_src-9ab037205876578d14c5686f491c37bab680eccb.tar.bz2
Make callers of CommandLine use it via the base:: namespace.
Covers courgette/, dbus/, device/, extensions/, gin/, google_apis/, and gpu/. BUG=422426 TEST=none TBR=ben@chromium.org Review URL: https://codereview.chromium.org/819193002 Cr-Commit-Position: refs/heads/master@{#309490}
Diffstat (limited to 'extensions/common/extension.cc')
-rw-r--r--extensions/common/extension.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index 88cc084..b721406 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -341,7 +341,7 @@ bool Extension::ShouldNotBeVisible() const {
// Don't show component extensions because they are only extensions as an
// implementation detail of Chrome.
if (extensions::Manifest::IsComponentLocation(location()) &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kShowComponentExtensionOptions)) {
return true;
}
@@ -714,7 +714,7 @@ bool Extension::LoadManifestVersion(base::string16* error) {
manifest_version_ = manifest_->GetManifestVersion();
if (manifest_version_ < kModernManifestVersion &&
((creation_flags_ & REQUIRE_MODERN_MANIFEST_VERSION &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kAllowLegacyExtensionManifests)) ||
GetType() == Manifest::TYPE_PLATFORM_APP)) {
*error = ErrorUtils::FormatErrorMessageUTF16(