OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 312 |
313 // Causes the browser to launch directly in incognito mode. | 313 // Causes the browser to launch directly in incognito mode. |
314 const char kIncognito[] = "incognito"; | 314 const char kIncognito[] = "incognito"; |
315 | 315 |
316 // Runs the Native Client inside the renderer process. | 316 // Runs the Native Client inside the renderer process. |
317 const char kInternalNaCl[] = "internal-nacl"; | 317 const char kInternalNaCl[] = "internal-nacl"; |
318 | 318 |
319 // Runs a trusted Pepper plugin inside the renderer process. | 319 // Runs a trusted Pepper plugin inside the renderer process. |
320 const char kInternalPepper[] = "internal-pepper"; | 320 const char kInternalPepper[] = "internal-pepper"; |
321 | 321 |
| 322 #ifndef NDEBUG |
| 323 // Makes sure any sync login attempt will fail with an error. (Only |
| 324 // used for testing.) |
| 325 const char kInvalidateSyncLogin[] = "invalidate-sync-login"; |
| 326 #endif |
| 327 |
322 // Specifies the flags passed to JS engine | 328 // Specifies the flags passed to JS engine |
323 const char kJavaScriptFlags[] = "js-flags"; | 329 const char kJavaScriptFlags[] = "js-flags"; |
324 | 330 |
325 // Load an extension from the specified directory. | 331 // Load an extension from the specified directory. |
326 const char kLoadExtension[] = "load-extension"; | 332 const char kLoadExtension[] = "load-extension"; |
327 | 333 |
328 // Load an NPAPI plugin from the specified path. | 334 // Load an NPAPI plugin from the specified path. |
329 const char kLoadPlugin[] = "load-plugin"; | 335 const char kLoadPlugin[] = "load-plugin"; |
330 | 336 |
331 // Will filter log messages to show only the messages that are prefixed | 337 // Will filter log messages to show only the messages that are prefixed |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 | 733 |
728 // ----------------------------------------------------------------------------- | 734 // ----------------------------------------------------------------------------- |
729 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 735 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
730 // | 736 // |
731 // You were going to just dump your switches here, weren't you? Instead, | 737 // You were going to just dump your switches here, weren't you? Instead, |
732 // please put them in alphabetical order above, or in order inside the | 738 // please put them in alphabetical order above, or in order inside the |
733 // appropriate ifdef at the bottom. The order should match the header. | 739 // appropriate ifdef at the bottom. The order should match the header. |
734 // ----------------------------------------------------------------------------- | 740 // ----------------------------------------------------------------------------- |
735 | 741 |
736 } // namespace switches | 742 } // namespace switches |
OLD | NEW |