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