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

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 774933004: Prefix CommandLine usage with base namespace (Part 9: components) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/nacl/renderer/ppb_nacl_private_impl.cc
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
index d923f2aa28580b88da53bf5d40817764acedc53f..88a5cb33371158415b9b344ae157a313e7d5f943 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -507,7 +507,7 @@ int UrandomFD(void) {
}
PP_Bool Are3DInterfacesDisabled() {
- return PP_FromBool(CommandLine::ForCurrentProcess()->HasSwitch(
+ return PP_FromBool(base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisable3DAPIs));
}
@@ -766,7 +766,8 @@ void InstanceDestroyed(PP_Instance instance) {
}
PP_Bool NaClDebugEnabledForURL(const char* alleged_nmf_url) {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableNaClDebug))
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableNaClDebug))
return PP_FALSE;
IPC::Sender* sender = content::RenderThread::Get();
DCHECK(sender);
« no previous file with comments | « components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc ('k') | components/nacl/zygote/nacl_fork_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698