| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 | 522 |
| 523 // Force the installer tests to run, regardless of the current platform. | 523 // Force the installer tests to run, regardless of the current platform. |
| 524 const char kInstallerTestForce[] = "force"; | 524 const char kInstallerTestForce[] = "force"; |
| 525 | 525 |
| 526 // Runs the Native Client inside the renderer process. | 526 // Runs the Native Client inside the renderer process. |
| 527 const char kInternalNaCl[] = "internal-nacl"; | 527 const char kInternalNaCl[] = "internal-nacl"; |
| 528 | 528 |
| 529 // Runs a trusted Pepper plugin inside the renderer process. | 529 // Runs a trusted Pepper plugin inside the renderer process. |
| 530 const char kInternalPepper[] = "internal-pepper"; | 530 const char kInternalPepper[] = "internal-pepper"; |
| 531 | 531 |
| 532 // The following flags allow users who can reproduce crbug/35198 |
| 533 // to enable extra logging and behaviors. They will be removed once |
| 534 // the issue is fixed. |
| 535 const char kIssue35198CrxDirBrowser[] = "issue35198-crxdir-browser"; |
| 536 const char kIssue35198ExtraLogging[] = "issue35198-logging"; |
| 537 const char kIssue35198Permission[] = "issue35198-permission"; |
| 538 |
| 532 // Specifies the flags passed to JS engine | 539 // Specifies the flags passed to JS engine |
| 533 const char kJavaScriptFlags[] = "js-flags"; | 540 const char kJavaScriptFlags[] = "js-flags"; |
| 534 | 541 |
| 535 // Load an extension from the specified directory. | 542 // Load an extension from the specified directory. |
| 536 const char kLoadExtension[] = "load-extension"; | 543 const char kLoadExtension[] = "load-extension"; |
| 537 | 544 |
| 538 // Load an NPAPI plugin from the specified path. | 545 // Load an NPAPI plugin from the specified path. |
| 539 const char kLoadPlugin[] = "load-plugin"; | 546 const char kLoadPlugin[] = "load-plugin"; |
| 540 | 547 |
| 541 // Load NPAPI plugins from the specified directory. | 548 // Load NPAPI plugins from the specified directory. |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 | 1069 |
| 1063 // ----------------------------------------------------------------------------- | 1070 // ----------------------------------------------------------------------------- |
| 1064 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1071 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1065 // | 1072 // |
| 1066 // You were going to just dump your switches here, weren't you? Instead, | 1073 // You were going to just dump your switches here, weren't you? Instead, |
| 1067 // please put them in alphabetical order above, or in order inside the | 1074 // please put them in alphabetical order above, or in order inside the |
| 1068 // appropriate ifdef at the bottom. The order should match the header. | 1075 // appropriate ifdef at the bottom. The order should match the header. |
| 1069 // ----------------------------------------------------------------------------- | 1076 // ----------------------------------------------------------------------------- |
| 1070 | 1077 |
| 1071 } // namespace switches | 1078 } // namespace switches |
| OLD | NEW |