Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1926)

Unified Diff: chrome/browser/extensions/extension_util.cc

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 11fb243b12ca56d7284e21c0702882549521fbaf..1724be0faf2efec47d1f772131f143cc411c668a 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -155,7 +155,7 @@ bool CanLoadInIncognito(const Extension* extension,
bool AllowFileAccess(const std::string& extension_id,
content::BrowserContext* context) {
- return CommandLine::ForCurrentProcess()->HasSwitch(
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableExtensionsFileAccessCheck) ||
ExtensionPrefs::Get(context)->AllowFileAccess(extension_id);
}
@@ -350,8 +350,8 @@ const gfx::ImageSkia& GetDefaultExtensionIcon() {
}
bool IsStreamlinedHostedAppsEnabled() {
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableNewBookmarkApps);
+ return !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableNewBookmarkApps);
}
} // namespace util
« no previous file with comments | « chrome/browser/extensions/extension_ui_unittest.cc ('k') | chrome/browser/extensions/extension_web_ui_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698