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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 // Loads an extension from the specified directory. | 798 // Loads an extension from the specified directory. |
799 const char kLoadExtension[] = "load-extension"; | 799 const char kLoadExtension[] = "load-extension"; |
800 | 800 |
801 // Controls which version of the malware and phishing interstitials is shown. | 801 // Controls which version of the malware and phishing interstitials is shown. |
802 const char kMalwareInterstitialVersionV2[] = "malware-interstitial-v2"; | 802 const char kMalwareInterstitialVersionV2[] = "malware-interstitial-v2"; |
803 const char kMalwareInterstitialVersionV3[] = "malware-interstitial-v3"; | 803 const char kMalwareInterstitialVersionV3[] = "malware-interstitial-v3"; |
804 | 804 |
805 // Makes Chrome default browser | 805 // Makes Chrome default browser |
806 const char kMakeDefaultBrowser[] = "make-default-browser"; | 806 const char kMakeDefaultBrowser[] = "make-default-browser"; |
807 | 807 |
808 // Sets the managed user ID for any loaded or newly created profile to the | 808 // Sets the supervised user ID for any loaded or newly created profile to the |
809 // given value. Pass an empty string to mark the profile as non-supervised. | 809 // given value. Pass an empty string to mark the profile as non-supervised. |
810 // Used for testing. | 810 // Used for testing. |
811 const char kManagedUserId[] = "managed-user-id"; | 811 const char kSupervisedUserId[] = "managed-user-id"; |
812 | 812 |
813 // Used to authenticate requests to the Sync service for managed users. Setting | 813 // Used to authenticate requests to the Sync service for supervised users. |
814 // this switch also causes Sync to be set up for a managed user. | 814 // Setting this switch also causes Sync to be set up for a supervised user. |
815 const char kManagedUserSyncToken[] = "managed-user-sync-token"; | 815 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; |
816 | 816 |
817 // Use to opt-in user into Finch experiment groups. | 817 // Use to opt-in user into Finch experiment groups. |
818 const char kManualEnhancedBookmarks[] = "manual-enhanced-bookmarks"; | 818 const char kManualEnhancedBookmarks[] = "manual-enhanced-bookmarks"; |
819 const char kManualEnhancedBookmarksOptout[] = | 819 const char kManualEnhancedBookmarksOptout[] = |
820 "manual-enhanced-bookmarks-optout"; | 820 "manual-enhanced-bookmarks-optout"; |
821 | 821 |
822 // Forces the maximum disk space to be used by the media cache, in bytes. | 822 // Forces the maximum disk space to be used by the media cache, in bytes. |
823 const char kMediaCacheSize[] = "media-cache-size"; | 823 const char kMediaCacheSize[] = "media-cache-size"; |
824 | 824 |
825 // Enables dynamic loading of the Memory Profiler DLL, which will trace all | 825 // Enables dynamic loading of the Memory Profiler DLL, which will trace all |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 const char kNoServiceAutorun[] = "no-service-autorun"; | 882 const char kNoServiceAutorun[] = "no-service-autorun"; |
883 | 883 |
884 // Does not automatically open a browser window on startup (used when | 884 // Does not automatically open a browser window on startup (used when |
885 // launching Chrome for the purpose of hosting background apps). | 885 // launching Chrome for the purpose of hosting background apps). |
886 const char kNoStartupWindow[] = "no-startup-window"; | 886 const char kNoStartupWindow[] = "no-startup-window"; |
887 | 887 |
888 // Disables checking whether we received an acknowledgment when registering | 888 // Disables checking whether we received an acknowledgment when registering |
889 // a supervised user. Also disables the timeout during registration that waits | 889 // a supervised user. Also disables the timeout during registration that waits |
890 // for the ack. Useful when debugging against a server that does not | 890 // for the ack. Useful when debugging against a server that does not |
891 // support notifications. | 891 // support notifications. |
892 const char kNoManagedUserAcknowledgmentCheck[] = | 892 const char kNoSupervisedUserAcknowledgmentCheck[] = |
893 "no-managed-user-acknowledgment-check"; | 893 "no-managed-user-acknowledgment-check"; |
894 | 894 |
895 // Specifies the maximum number of threads to use for running the Proxy | 895 // Specifies the maximum number of threads to use for running the Proxy |
896 // Autoconfig (PAC) script. | 896 // Autoconfig (PAC) script. |
897 const char kNumPacThreads[] = "num-pac-threads"; | 897 const char kNumPacThreads[] = "num-pac-threads"; |
898 | 898 |
899 // Launches URL in new browser window. | 899 // Launches URL in new browser window. |
900 const char kOpenInNewWindow[] = "new-window"; | 900 const char kOpenInNewWindow[] = "new-window"; |
901 | 901 |
902 // Force use of QUIC for requests to the specified origin. | 902 // Force use of QUIC for requests to the specified origin. |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 | 1390 |
1391 // ----------------------------------------------------------------------------- | 1391 // ----------------------------------------------------------------------------- |
1392 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1392 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1393 // | 1393 // |
1394 // You were going to just dump your switches here, weren't you? Instead, please | 1394 // You were going to just dump your switches here, weren't you? Instead, please |
1395 // put them in alphabetical order above, or in order inside the appropriate | 1395 // put them in alphabetical order above, or in order inside the appropriate |
1396 // ifdef at the bottom. The order should match the header. | 1396 // ifdef at the bottom. The order should match the header. |
1397 // ----------------------------------------------------------------------------- | 1397 // ----------------------------------------------------------------------------- |
1398 | 1398 |
1399 } // namespace switches | 1399 } // namespace switches |
OLD | NEW |