summaryrefslogtreecommitdiffstats
path: root/extensions/common/user_script.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/user_script.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/user_script.cc')
-rw-r--r--extensions/common/user_script.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/common/user_script.cc b/extensions/common/user_script.cc
index 6f79887..4410290 100644
--- a/extensions/common/user_script.cc
+++ b/extensions/common/user_script.cc
@@ -60,8 +60,8 @@ int UserScript::ValidUserScriptSchemes(bool canExecuteScriptEverywhere) {
if (canExecuteScriptEverywhere)
return URLPattern::SCHEME_ALL;
int valid_schemes = kValidUserScriptSchemes;
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kExtensionsOnChromeURLs)) {
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kExtensionsOnChromeURLs)) {
valid_schemes &= ~URLPattern::SCHEME_CHROMEUI;
}
return valid_schemes;