diff options
author | avi <avi@chromium.org> | 2014-12-22 16:08:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-23 00:09:30 +0000 |
commit | 83883c858834a2524223991537cc90e4be8f0468 (patch) | |
tree | 3d410fe9b15658023cfed4e3edc9b35ec6683fea /content/renderer/pepper | |
parent | 60c25aebaf6c3bbc90c9c82f83a752ca58c7ddce (diff) | |
download | chromium_src-83883c858834a2524223991537cc90e4be8f0468.zip chromium_src-83883c858834a2524223991537cc90e4be8f0468.tar.gz chromium_src-83883c858834a2524223991537cc90e4be8f0468.tar.bz2 |
Make callers of CommandLine use it via the base:: namespace.
Covers content/.
BUG=422426
TEST=none
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/803813003
Cr-Commit-Position: refs/heads/master@{#309496}
Diffstat (limited to 'content/renderer/pepper')
-rw-r--r-- | content/renderer/pepper/host_globals.cc | 2 | ||||
-rw-r--r-- | content/renderer/pepper/plugin_module.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/pepper/host_globals.cc b/content/renderer/pepper/host_globals.cc index c8c44fa..a007487 100644 --- a/content/renderer/pepper/host_globals.cc +++ b/content/renderer/pepper/host_globals.cc @@ -135,7 +135,7 @@ PP_Module HostGlobals::GetModuleForInstance(PP_Instance instance) { } std::string HostGlobals::GetCmdLine() { - return CommandLine::ForCurrentProcess()->GetSwitchValueASCII( + return base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( switches::kPpapiFlashArgs); } diff --git a/content/renderer/pepper/plugin_module.cc b/content/renderer/pepper/plugin_module.cc index 9a46794..e6576be 100644 --- a/content/renderer/pepper/plugin_module.cc +++ b/content/renderer/pepper/plugin_module.cc @@ -327,7 +327,7 @@ const void* InternalGetInterface(const char* name) { // Only support the testing interface when the command line switch is // specified. This allows us to prevent people from (ab)using this interface // in production code. - if (CommandLine::ForCurrentProcess()->HasSwitch( + if (base::CommandLine::ForCurrentProcess()->HasSwitch( switches::kEnablePepperTesting)) { if (strcmp(name, PPB_TESTING_PRIVATE_INTERFACE) == 0) return &testing_interface; |