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

Unified Diff: chrome/common/chrome_switches.cc

Issue 15957008: Move NaCl related switches to their own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Take out include of build/build_config.h Created 7 years, 7 months 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 13d4c9750ff02a6cbe08b54b32e26c563838bedb..0aecbc4d0ab13d0e3826bbc9491e3deb9890b48c 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -598,13 +598,6 @@ const char kEnableMetricsReportingForTesting[] =
// Enables the chrome://memory-internals/ page.
const char kEnableMemoryInternalsUI[] = "enable-memory-internals-ui";
-// Runs the Native Client inside the renderer process and enables GPU plugin
-// (internally adds lEnableGpuPlugin to the command line).
-const char kEnableNaCl[] = "enable-nacl";
-
-// Enables debugging via RSP over a socket.
-const char kEnableNaClDebug[] = "enable-nacl-debug";
-
// Enables the network-related benchmarking extensions.
const char kEnableNetBenchmarking[] = "enable-net-benchmarking";
@@ -627,9 +620,6 @@ const char kEnablePanels[] = "enable-panels";
// account creation.
const char kEnablePasswordGeneration[] = "enable-password-generation";
-// Enables the installation and usage of Portable Native Client.
-const char kEnablePnacl[] = "enable-pnacl";
-
// Enables tracking of tasks in profiler for viewing via about:profiler.
// To predominantly disable tracking (profiling), use the command line switch:
// --enable-profiling=0
@@ -903,35 +893,6 @@ const char kMetricsRecordingOnly[] = "metrics-recording-only";
// Enables multiprofile Chrome.
const char kMultiProfiles[] = "multi-profiles";
-// Causes the process to run as a NativeClient broker
-// (used for launching NaCl loader processes on 64-bit Windows).
-const char kNaClBrokerProcess[] = "nacl-broker";
-
-// Uses NaCl manifest URL to choose whether NaCl program will be debugged by
-// debug stub.
-// Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses
-// the same syntax as patterns in Chrome extension manifest. The only difference
-// is that * scheme matches all schemes instead of matching only http and https.
-// If the value doesn't start with !, a program will be debugged if manifest URL
-// matches any pattern. If the value starts with !, a program will be debugged
-// if manifest URL does not match any pattern.
-const char kNaClDebugMask[] = "nacl-debug-mask";
-
-// Native Client GDB debugger for loader. It needs switches calculated
-// at run time in order to work correctly. That's why NaClLoadCmdPrefix
-// flag can't be used.
-const char kNaClGdb[] = "nacl-gdb";
-
-// GDB script to pass to the nacl-gdb debugger at startup.
-const char kNaClGdbScript[] = "nacl-gdb-script";
-
-// Causes the process to run as a NativeClient loader.
-const char kNaClLoaderProcess[] = "nacl-loader";
-
-// On POSIX only: the contents of this flag are prepended to the nacl-loader
-// command line. Useful values might be "valgrind" or "xterm -e gdb --args".
-const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix";
-
// List of native messaging hosts outside of the default location. Used for
// tests. The value must be comma-separate lists of key-value pairs separated
// equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
@@ -1067,9 +1028,6 @@ const char kPerformanceMonitorGathering[] = "performance-monitor-gathering";
// See kRecordMode.
const char kPlaybackMode[] = "playback-mode";
-// Overrides the path to the location that PNaCl is installed.
-const char kPnaclDir[] = "pnacl-dir";
-
// Forces the PPAPI version of Flash (if it's being used) to run in the
// renderer process rather than in a separate plugin process.
const char kPpapiFlashInProcess[] = "ppapi-flash-in-process";
@@ -1388,9 +1346,6 @@ const char kTabCapture[] = "enable-tab-capture";
// Passes the name of the current running automated test to Chrome.
const char kTestName[] = "test-name";
-// Runs the security test for the NaCl loader sandbox.
-const char kTestNaClSandbox[] = "test-nacl-sandbox";
-
// Type of the current test harness ("browser" or "ui").
const char kTestType[] = "test-type";

Powered by Google App Engine
This is Rietveld 408576698