| OLD | NEW |
| 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by | 563 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by |
| 564 // debug stub. | 564 // debug stub. |
| 565 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses | 565 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses |
| 566 // the same syntax as patterns in Chrome extension manifest. The only difference | 566 // the same syntax as patterns in Chrome extension manifest. The only difference |
| 567 // is that * scheme matches all schemes instead of matching only http and https. | 567 // is that * scheme matches all schemes instead of matching only http and https. |
| 568 // If the value doesn't start with !, a program will be debugged if manifest URL | 568 // If the value doesn't start with !, a program will be debugged if manifest URL |
| 569 // matches any pattern. If the value starts with !, a program will be debugged | 569 // matches any pattern. If the value starts with !, a program will be debugged |
| 570 // if manifest URL does not match any pattern. | 570 // if manifest URL does not match any pattern. |
| 571 const char kNaClDebugMask[] = "nacl-debug-mask"; | 571 const char kNaClDebugMask[] = "nacl-debug-mask"; |
| 572 | 572 |
| 573 // Enables the SRPC Proxy for NaCl. The default is the Chrome IPC based proxy. | |
| 574 // TODO(bbudge) remove this after we switch to IPC and remove SRPC. | |
| 575 const char kEnableNaClSRPCProxy[] = "enable-nacl-srpc-proxy"; | |
| 576 | |
| 577 // Enables hardware exception handling via debugger process. | 573 // Enables hardware exception handling via debugger process. |
| 578 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; | 574 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; |
| 579 | 575 |
| 580 // Enables the native messaging extensions API. | 576 // Enables the native messaging extensions API. |
| 581 const char kEnableNativeMessaging[] = "enable-native-messaging"; | 577 const char kEnableNativeMessaging[] = "enable-native-messaging"; |
| 582 | 578 |
| 583 // Enables the new Autofill UI, which is part of the browser process rather than | 579 // Enables the new Autofill UI, which is part of the browser process rather than |
| 584 // part of the renderer process. http://crbug.com/51644 | 580 // part of the renderer process. http://crbug.com/51644 |
| 585 const char kEnableNewAutofillUi[] = "enable-new-autofill-ui"; | 581 const char kEnableNewAutofillUi[] = "enable-new-autofill-ui"; |
| 586 | 582 |
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1620 | 1616 |
| 1621 // ----------------------------------------------------------------------------- | 1617 // ----------------------------------------------------------------------------- |
| 1622 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1618 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1623 // | 1619 // |
| 1624 // You were going to just dump your switches here, weren't you? Instead, please | 1620 // You were going to just dump your switches here, weren't you? Instead, please |
| 1625 // put them in alphabetical order above, or in order inside the appropriate | 1621 // put them in alphabetical order above, or in order inside the appropriate |
| 1626 // ifdef at the bottom. The order should match the header. | 1622 // ifdef at the bottom. The order should match the header. |
| 1627 // ----------------------------------------------------------------------------- | 1623 // ----------------------------------------------------------------------------- |
| 1628 | 1624 |
| 1629 } // namespace switches | 1625 } // namespace switches |
| OLD | NEW |