summaryrefslogtreecommitdiffstats
path: root/components/nacl/common
diff options
context:
space:
mode:
authorkkosztyo.u-szeged <kkosztyo.u-szeged@partner.samsung.com>2014-12-04 01:54:36 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-04 09:55:03 +0000
commitb33617cb4d1eacfec6f06cc8dc42d096e236edd7 (patch)
tree349d8c9140984d379b45e30476805493668ae140 /components/nacl/common
parente69fcbd9b7ce482380eb70f987a2020c46f65001 (diff)
downloadchromium_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/nacl/common')
-rw-r--r--components/nacl/common/nacl_cmd_line.cc5
-rw-r--r--components/nacl/common/nacl_nonsfi_util.cc2
2 files changed, 4 insertions, 3 deletions
diff --git a/components/nacl/common/nacl_cmd_line.cc b/components/nacl/common/nacl_cmd_line.cc
index 7ecb674..31dedcd 100644
--- a/components/nacl/common/nacl_cmd_line.cc
+++ b/components/nacl/common/nacl_cmd_line.cc
@@ -10,8 +10,9 @@
namespace nacl {
-void CopyNaClCommandLineArguments(CommandLine* cmd_line) {
- const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
+void CopyNaClCommandLineArguments(base::CommandLine* cmd_line) {
+ const base::CommandLine& browser_command_line =
+ *base::CommandLine::ForCurrentProcess();
// Propagate the following switches to the NaCl loader command line (along
// with any associated values) if present in the browser command line.
diff --git a/components/nacl/common/nacl_nonsfi_util.cc b/components/nacl/common/nacl_nonsfi_util.cc
index d56cea6..9797fc1 100644
--- a/components/nacl/common/nacl_nonsfi_util.cc
+++ b/components/nacl/common/nacl_nonsfi_util.cc
@@ -14,7 +14,7 @@ bool IsNonSFIModeEnabled() {
#if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL)
return true;
#elif defined(OS_LINUX)
- return CommandLine::ForCurrentProcess()->HasSwitch(
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableNaClNonSfiMode);
#else
return false;