| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | 614 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
| 615 // See http://crbug.com/31395. | 615 // See http://crbug.com/31395. |
| 616 const char kKioskModePrinting[] = "kiosk-printing"; | 616 const char kKioskModePrinting[] = "kiosk-printing"; |
| 617 | 617 |
| 618 // Comma-separated list of directories with component extensions to load. | 618 // Comma-separated list of directories with component extensions to load. |
| 619 const char kLoadComponentExtension[] = "load-component-extension"; | 619 const char kLoadComponentExtension[] = "load-component-extension"; |
| 620 | 620 |
| 621 // Loads an extension from the specified directory. | 621 // Loads an extension from the specified directory. |
| 622 const char kLoadExtension[] = "load-extension"; | 622 const char kLoadExtension[] = "load-extension"; |
| 623 | 623 |
| 624 // Loads the Media Router component extension on startup. |
| 625 const char kLoadMediaRouterComponentExtension[] = |
| 626 "load-media-router-component-extension"; |
| 627 |
| 624 // Makes Chrome default browser | 628 // Makes Chrome default browser |
| 625 const char kMakeDefaultBrowser[] = "make-default-browser"; | 629 const char kMakeDefaultBrowser[] = "make-default-browser"; |
| 626 | 630 |
| 627 extern const char kSecurityChip[] = "security-chip"; | 631 extern const char kSecurityChip[] = "security-chip"; |
| 628 extern const char kSecurityChipShowNonSecureOnly[] = "show-nonsecure-only"; | 632 extern const char kSecurityChipShowNonSecureOnly[] = "show-nonsecure-only"; |
| 629 extern const char kSecurityChipShowAll[] = "show-all"; | 633 extern const char kSecurityChipShowAll[] = "show-all"; |
| 630 | 634 |
| 631 extern const char kSecurityChipAnimation[] = "security-chip-animation"; | 635 extern const char kSecurityChipAnimation[] = "security-chip-animation"; |
| 632 extern const char kSecurityChipAnimationNone[] = "none"; | 636 extern const char kSecurityChipAnimationNone[] = "none"; |
| 633 extern const char kSecurityChipAnimationNonSecureOnly[] = | 637 extern const char kSecurityChipAnimationNonSecureOnly[] = |
| 634 "animate-nonsecure-only"; | 638 "animate-nonsecure-only"; |
| 635 extern const char kSecurityChipAnimationAll[] = "animate-all"; | 639 extern const char kSecurityChipAnimationAll[] = "animate-all"; |
| 636 | 640 |
| 637 // Forces the maximum disk space to be used by the media cache, in bytes. | 641 // Forces the maximum disk space to be used by the media cache, in bytes. |
| 638 const char kMediaCacheSize[] = "media-cache-size"; | 642 const char kMediaCacheSize[] = "media-cache-size"; |
| 639 | 643 |
| 640 // Enables Media Router. | |
| 641 const char kMediaRouter[] = "media-router"; | |
| 642 | |
| 643 // Enables the recording of metrics reports but disables reporting. In contrast | 644 // Enables the recording of metrics reports but disables reporting. In contrast |
| 644 // to kDisableMetrics, this executes all the code that a normal client would | 645 // to kDisableMetrics, this executes all the code that a normal client would |
| 645 // use for reporting, except the report is dropped rather than sent to the | 646 // use for reporting, except the report is dropped rather than sent to the |
| 646 // server. This is useful for finding issues in the metrics code during UI and | 647 // server. This is useful for finding issues in the metrics code during UI and |
| 647 // performance tests. | 648 // performance tests. |
| 648 const char kMetricsRecordingOnly[] = "metrics-recording-only"; | 649 const char kMetricsRecordingOnly[] = "metrics-recording-only"; |
| 649 | 650 |
| 650 // Allows setting a different destination ID for connection-monitoring GCM | 651 // Allows setting a different destination ID for connection-monitoring GCM |
| 651 // messages. Useful when running against a non-prod management server. | 652 // messages. Useful when running against a non-prod management server. |
| 652 const char kMonitoringDestinationID[] = "monitoring-destination-id"; | 653 const char kMonitoringDestinationID[] = "monitoring-destination-id"; |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1324 | 1325 |
| 1325 // ----------------------------------------------------------------------------- | 1326 // ----------------------------------------------------------------------------- |
| 1326 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1327 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1327 // | 1328 // |
| 1328 // You were going to just dump your switches here, weren't you? Instead, please | 1329 // You were going to just dump your switches here, weren't you? Instead, please |
| 1329 // put them in alphabetical order above, or in order inside the appropriate | 1330 // put them in alphabetical order above, or in order inside the appropriate |
| 1330 // ifdef at the bottom. The order should match the header. | 1331 // ifdef at the bottom. The order should match the header. |
| 1331 // ----------------------------------------------------------------------------- | 1332 // ----------------------------------------------------------------------------- |
| 1332 | 1333 |
| 1333 } // namespace switches | 1334 } // namespace switches |
| OLD | NEW |