| 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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 | 623 |
| 624 // Comma-separated list of directories with component extensions to load. | 624 // Comma-separated list of directories with component extensions to load. |
| 625 const char kLoadComponentExtension[] = "load-component-extension"; | 625 const char kLoadComponentExtension[] = "load-component-extension"; |
| 626 | 626 |
| 627 // Loads an extension from the specified directory. | 627 // Loads an extension from the specified directory. |
| 628 const char kLoadExtension[] = "load-extension"; | 628 const char kLoadExtension[] = "load-extension"; |
| 629 | 629 |
| 630 // Makes Chrome default browser | 630 // Makes Chrome default browser |
| 631 const char kMakeDefaultBrowser[] = "make-default-browser"; | 631 const char kMakeDefaultBrowser[] = "make-default-browser"; |
| 632 | 632 |
| 633 // Changes security chip behavior. |
| 634 const char kMaterialSecurityVerbose[] = "material-security-verbose"; |
| 635 const char kMaterialSecurityVerboseShowAllAnimated[] = "show-all-animated"; |
| 636 const char kMaterialSecurityVerboseShowAllNonAnimated[] = |
| 637 "show-all-nonanimated"; |
| 638 const char kMaterialSecurityVerboseShowNonSecureAnimated[] = |
| 639 "show-nonsecure-animated"; |
| 640 const char kMaterialSecurityVerboseShowNonSecureNonAnimated[] = |
| 641 "show-nonsecure-nonanimated"; |
| 642 |
| 633 // Forces the maximum disk space to be used by the media cache, in bytes. | 643 // Forces the maximum disk space to be used by the media cache, in bytes. |
| 634 const char kMediaCacheSize[] = "media-cache-size"; | 644 const char kMediaCacheSize[] = "media-cache-size"; |
| 635 | 645 |
| 636 // Enables Media Router. | 646 // Enables Media Router. |
| 637 const char kMediaRouter[] = "media-router"; | 647 const char kMediaRouter[] = "media-router"; |
| 638 | 648 |
| 639 // Enables histograming of tasks served by MessageLoop. See | 649 // Enables histograming of tasks served by MessageLoop. See |
| 640 // about:histograms/Loop for results, which show frequency of messages on each | 650 // about:histograms/Loop for results, which show frequency of messages on each |
| 641 // thread, including APC count, object signalling count, etc. | 651 // thread, including APC count, object signalling count, etc. |
| 642 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; | 652 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1178 const char kEnableMacViewsNativeAppWindows[] = | 1188 const char kEnableMacViewsNativeAppWindows[] = |
| 1179 "enable-mac-views-native-app-windows"; | 1189 "enable-mac-views-native-app-windows"; |
| 1180 | 1190 |
| 1181 // Enables Translate experimental new UX which replaces the infobar. | 1191 // Enables Translate experimental new UX which replaces the infobar. |
| 1182 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; | 1192 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; |
| 1183 | 1193 |
| 1184 // Shows a notification when quitting Chrome with hosted apps running. Default | 1194 // Shows a notification when quitting Chrome with hosted apps running. Default |
| 1185 // behavior is to also quit all hosted apps. | 1195 // behavior is to also quit all hosted apps. |
| 1186 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; | 1196 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; |
| 1187 | 1197 |
| 1188 const char kMaterialSecurityVerbose[] = "material-security-verbose"; | |
| 1189 const char kMaterialSecurityVerboseShowAllAnimated[] = "show-all-animated"; | |
| 1190 const char kMaterialSecurityVerboseShowAllNonAnimated[] = | |
| 1191 "show-all-nonanimated"; | |
| 1192 const char kMaterialSecurityVerboseShowNonSecureAnimated[] = | |
| 1193 "show-nonsecure-animated"; | |
| 1194 const char kMaterialSecurityVerboseShowNonSecureNonAnimated[] = | |
| 1195 "show-nonsecure-nonanimated"; | |
| 1196 | |
| 1197 // This is how the metrics client ID is passed from the browser process to its | 1198 // This is how the metrics client ID is passed from the browser process to its |
| 1198 // children. With Crashpad, the metrics client ID is distinct from the crash | 1199 // children. With Crashpad, the metrics client ID is distinct from the crash |
| 1199 // client ID. | 1200 // client ID. |
| 1200 const char kMetricsClientID[] = "metrics-client-id"; | 1201 const char kMetricsClientID[] = "metrics-client-id"; |
| 1201 | 1202 |
| 1202 // A process type (switches::kProcessType) that relaunches the browser. See | 1203 // A process type (switches::kProcessType) that relaunches the browser. See |
| 1203 // chrome/browser/mac/relauncher.h. | 1204 // chrome/browser/mac/relauncher.h. |
| 1204 const char kRelauncherProcess[] = "relauncher"; | 1205 const char kRelauncherProcess[] = "relauncher"; |
| 1205 | 1206 |
| 1206 // When switches::kProcessType is switches::kRelauncherProcess, if this switch | 1207 // When switches::kProcessType is switches::kRelauncherProcess, if this switch |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1342 | 1343 |
| 1343 // ----------------------------------------------------------------------------- | 1344 // ----------------------------------------------------------------------------- |
| 1344 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1345 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1345 // | 1346 // |
| 1346 // You were going to just dump your switches here, weren't you? Instead, please | 1347 // You were going to just dump your switches here, weren't you? Instead, please |
| 1347 // put them in alphabetical order above, or in order inside the appropriate | 1348 // put them in alphabetical order above, or in order inside the appropriate |
| 1348 // ifdef at the bottom. The order should match the header. | 1349 // ifdef at the bottom. The order should match the header. |
| 1349 // ----------------------------------------------------------------------------- | 1350 // ----------------------------------------------------------------------------- |
| 1350 | 1351 |
| 1351 } // namespace switches | 1352 } // namespace switches |
| OLD | NEW |