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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 16867015: Revert r207951 - "Separate NaCl switches to their own file." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/nacl_cmd_line.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 // Enables the recording of metrics reports but disables reporting. In contrast 905 // Enables the recording of metrics reports but disables reporting. In contrast
906 // to kDisableMetrics, this executes all the code that a normal client would 906 // to kDisableMetrics, this executes all the code that a normal client would
907 // use for reporting, except the report is dropped rather than sent to the 907 // use for reporting, except the report is dropped rather than sent to the
908 // server. This is useful for finding issues in the metrics code during UI and 908 // server. This is useful for finding issues in the metrics code during UI and
909 // performance tests. 909 // performance tests.
910 const char kMetricsRecordingOnly[] = "metrics-recording-only"; 910 const char kMetricsRecordingOnly[] = "metrics-recording-only";
911 911
912 // Enables multiprofile Chrome. 912 // Enables multiprofile Chrome.
913 const char kMultiProfiles[] = "multi-profiles"; 913 const char kMultiProfiles[] = "multi-profiles";
914 914
915 // Causes the process to run as a NativeClient broker
916 // (used for launching NaCl loader processes on 64-bit Windows).
917 const char kNaClBrokerProcess[] = "nacl-broker";
918
919 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by
920 // debug stub.
921 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses
922 // the same syntax as patterns in Chrome extension manifest. The only difference
923 // is that * scheme matches all schemes instead of matching only http and https.
924 // If the value doesn't start with !, a program will be debugged if manifest URL
925 // matches any pattern. If the value starts with !, a program will be debugged
926 // if manifest URL does not match any pattern.
927 const char kNaClDebugMask[] = "nacl-debug-mask";
928
929 // Native Client GDB debugger that will be launched automatically when needed.
930 const char kNaClGdb[] = "nacl-gdb";
931
932 // GDB script to pass to the nacl-gdb debugger at startup.
933 const char kNaClGdbScript[] = "nacl-gdb-script";
934
935 // Causes the process to run as a NativeClient loader.
936 const char kNaClLoaderProcess[] = "nacl-loader";
937
938 // On POSIX only: the contents of this flag are prepended to the nacl-loader
939 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
940 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix";
941
915 // List of native messaging hosts outside of the default location. Used for 942 // List of native messaging hosts outside of the default location. Used for
916 // tests. The value must be comma-separate lists of key-value pairs separated 943 // tests. The value must be comma-separate lists of key-value pairs separated
917 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json". 944 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
918 const char kNativeMessagingHosts[] = "native-messaging-hosts"; 945 const char kNativeMessagingHosts[] = "native-messaging-hosts";
919 946
920 // Sets the base logging level for the net log. Log 0 logs the most data. 947 // Sets the base logging level for the net log. Log 0 logs the most data.
921 // Intended primarily for use with --log-net-log. 948 // Intended primarily for use with --log-net-log.
922 const char kNetLogLevel[] = "net-log-level"; 949 const char kNetLogLevel[] = "net-log-level";
923 950
924 // Use new profile management system, including profile sign-out and new 951 // Use new profile management system, including profile sign-out and new
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1404
1378 // Enables tab dragging to create a real browser. 1405 // Enables tab dragging to create a real browser.
1379 const char kTabBrowserDragging[] = "enable-tab-browser-dragging"; 1406 const char kTabBrowserDragging[] = "enable-tab-browser-dragging";
1380 1407
1381 // Enables tab capture. 1408 // Enables tab capture.
1382 const char kTabCapture[] = "enable-tab-capture"; 1409 const char kTabCapture[] = "enable-tab-capture";
1383 1410
1384 // Passes the name of the current running automated test to Chrome. 1411 // Passes the name of the current running automated test to Chrome.
1385 const char kTestName[] = "test-name"; 1412 const char kTestName[] = "test-name";
1386 1413
1414 // Runs the security test for the NaCl loader sandbox.
1415 const char kTestNaClSandbox[] = "test-nacl-sandbox";
1416
1387 // Type of the current test harness ("browser" or "ui"). 1417 // Type of the current test harness ("browser" or "ui").
1388 const char kTestType[] = "test-type"; 1418 const char kTestType[] = "test-type";
1389 1419
1390 // Tells the app to listen for and broadcast testing-related messages on IPC 1420 // Tells the app to listen for and broadcast testing-related messages on IPC
1391 // channel with the given ID. 1421 // channel with the given ID.
1392 const char kTestingChannelID[] = "testing-channel"; 1422 const char kTestingChannelID[] = "testing-channel";
1393 1423
1394 // Enables tracking the amount of non-idle time spent viewing pages. 1424 // Enables tracking the amount of non-idle time spent viewing pages.
1395 const char kTrackActiveVisitTime[] = "track-active-visit-time"; 1425 const char kTrackActiveVisitTime[] = "track-active-visit-time";
1396 1426
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 1627
1598 // ----------------------------------------------------------------------------- 1628 // -----------------------------------------------------------------------------
1599 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1629 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1600 // 1630 //
1601 // You were going to just dump your switches here, weren't you? Instead, please 1631 // You were going to just dump your switches here, weren't you? Instead, please
1602 // put them in alphabetical order above, or in order inside the appropriate 1632 // put them in alphabetical order above, or in order inside the appropriate
1603 // ifdef at the bottom. The order should match the header. 1633 // ifdef at the bottom. The order should match the header.
1604 // ----------------------------------------------------------------------------- 1634 // -----------------------------------------------------------------------------
1605 1635
1606 } // namespace switches 1636 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/nacl_cmd_line.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698