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

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

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows build fix 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
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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 // Enables the recording of metrics reports but disables reporting. In contrast 909 // Enables the recording of metrics reports but disables reporting. In contrast
910 // to kDisableMetrics, this executes all the code that a normal client would 910 // to kDisableMetrics, this executes all the code that a normal client would
911 // use for reporting, except the report is dropped rather than sent to the 911 // use for reporting, except the report is dropped rather than sent to the
912 // server. This is useful for finding issues in the metrics code during UI and 912 // server. This is useful for finding issues in the metrics code during UI and
913 // performance tests. 913 // performance tests.
914 const char kMetricsRecordingOnly[] = "metrics-recording-only"; 914 const char kMetricsRecordingOnly[] = "metrics-recording-only";
915 915
916 // Enables multiprofile Chrome. 916 // Enables multiprofile Chrome.
917 const char kMultiProfiles[] = "multi-profiles"; 917 const char kMultiProfiles[] = "multi-profiles";
918 918
919 // Causes the process to run as a NativeClient broker
920 // (used for launching NaCl loader processes on 64-bit Windows).
921 const char kNaClBrokerProcess[] = "nacl-broker";
922
923 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by 919 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by
924 // debug stub. 920 // debug stub.
925 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses 921 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses
926 // the same syntax as patterns in Chrome extension manifest. The only difference 922 // the same syntax as patterns in Chrome extension manifest. The only difference
927 // is that * scheme matches all schemes instead of matching only http and https. 923 // is that * scheme matches all schemes instead of matching only http and https.
928 // If the value doesn't start with !, a program will be debugged if manifest URL 924 // If the value doesn't start with !, a program will be debugged if manifest URL
929 // matches any pattern. If the value starts with !, a program will be debugged 925 // matches any pattern. If the value starts with !, a program will be debugged
930 // if manifest URL does not match any pattern. 926 // if manifest URL does not match any pattern.
931 const char kNaClDebugMask[] = "nacl-debug-mask"; 927 const char kNaClDebugMask[] = "nacl-debug-mask";
932 928
933 // Native Client GDB debugger that will be launched automatically when needed.
934 const char kNaClGdb[] = "nacl-gdb";
935
936 // GDB script to pass to the nacl-gdb debugger at startup.
937 const char kNaClGdbScript[] = "nacl-gdb-script";
938
939 // Causes the process to run as a NativeClient loader.
940 const char kNaClLoaderProcess[] = "nacl-loader";
941
942 // On POSIX only: the contents of this flag are prepended to the nacl-loader
943 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
944 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix";
945
946 // List of native messaging hosts outside of the default location. Used for 929 // List of native messaging hosts outside of the default location. Used for
947 // tests. The value must be comma-separate lists of key-value pairs separated 930 // tests. The value must be comma-separate lists of key-value pairs separated
948 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json". 931 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
949 const char kNativeMessagingHosts[] = "native-messaging-hosts"; 932 const char kNativeMessagingHosts[] = "native-messaging-hosts";
950 933
951 // Sets the base logging level for the net log. Log 0 logs the most data. 934 // Sets the base logging level for the net log. Log 0 logs the most data.
952 // Intended primarily for use with --log-net-log. 935 // Intended primarily for use with --log-net-log.
953 const char kNetLogLevel[] = "net-log-level"; 936 const char kNetLogLevel[] = "net-log-level";
954 937
955 // Use new profile management system, including profile sign-out and new 938 // Use new profile management system, including profile sign-out and new
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 1384
1402 // Enables tab dragging to create a real browser. 1385 // Enables tab dragging to create a real browser.
1403 const char kTabBrowserDragging[] = "enable-tab-browser-dragging"; 1386 const char kTabBrowserDragging[] = "enable-tab-browser-dragging";
1404 1387
1405 // Enables tab capture. 1388 // Enables tab capture.
1406 const char kTabCapture[] = "enable-tab-capture"; 1389 const char kTabCapture[] = "enable-tab-capture";
1407 1390
1408 // Passes the name of the current running automated test to Chrome. 1391 // Passes the name of the current running automated test to Chrome.
1409 const char kTestName[] = "test-name"; 1392 const char kTestName[] = "test-name";
1410 1393
1411 // Runs the security test for the NaCl loader sandbox.
1412 const char kTestNaClSandbox[] = "test-nacl-sandbox";
1413
1414 // Type of the current test harness ("browser" or "ui"). 1394 // Type of the current test harness ("browser" or "ui").
1415 const char kTestType[] = "test-type"; 1395 const char kTestType[] = "test-type";
1416 1396
1417 // Tells the app to listen for and broadcast testing-related messages on IPC 1397 // Tells the app to listen for and broadcast testing-related messages on IPC
1418 // channel with the given ID. 1398 // channel with the given ID.
1419 const char kTestingChannelID[] = "testing-channel"; 1399 const char kTestingChannelID[] = "testing-channel";
1420 1400
1421 // Enables tracking the amount of non-idle time spent viewing pages. 1401 // Enables tracking the amount of non-idle time spent viewing pages.
1422 const char kTrackActiveVisitTime[] = "track-active-visit-time"; 1402 const char kTrackActiveVisitTime[] = "track-active-visit-time";
1423 1403
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1615 1595
1616 // ----------------------------------------------------------------------------- 1596 // -----------------------------------------------------------------------------
1617 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1597 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1618 // 1598 //
1619 // You were going to just dump your switches here, weren't you? Instead, please 1599 // You were going to just dump your switches here, weren't you? Instead, please
1620 // put them in alphabetical order above, or in order inside the appropriate 1600 // put them in alphabetical order above, or in order inside the appropriate
1621 // ifdef at the bottom. The order should match the header. 1601 // ifdef at the bottom. The order should match the header.
1622 // ----------------------------------------------------------------------------- 1602 // -----------------------------------------------------------------------------
1623 1603
1624 } // namespace switches 1604 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698