Chromium Code Reviews| 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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 552 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; | 552 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; |
| 553 | 553 |
| 554 // Enables Alternate-Protocol when the port is user controlled (> 1024). | 554 // Enables Alternate-Protocol when the port is user controlled (> 1024). |
| 555 const char kEnableUserAlternateProtocolPorts[] = | 555 const char kEnableUserAlternateProtocolPorts[] = |
| 556 "enable-user-controlled-alternate-protocol-ports"; | 556 "enable-user-controlled-alternate-protocol-ports"; |
| 557 | 557 |
| 558 // Enables a new "web app" style frame for hosted apps (including bookmark | 558 // Enables a new "web app" style frame for hosted apps (including bookmark |
| 559 // apps). | 559 // apps). |
| 560 const char kEnableWebAppFrame[] = "enable-web-app-frame"; | 560 const char kEnableWebAppFrame[] = "enable-web-app-frame"; |
| 561 | 561 |
| 562 extern const char kEnableWebUsbNotifications[] = "enable-webusb-notifications"; | |
|
Alexei Svitkine (slow)
2015/09/04 15:34:35
Nit: Why is this marked extern? Nothing else in th
juncai
2015/09/04 16:39:13
Done in a new patch.
| |
| 563 | |
| 562 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. | 564 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. |
| 563 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; | 565 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; |
| 564 | 566 |
| 565 // Values for the kExtensionContentVerification flag. | 567 // Values for the kExtensionContentVerification flag. |
| 566 // See ContentVerifierDelegate::Mode for more explanation. | 568 // See ContentVerifierDelegate::Mode for more explanation. |
| 567 const char kExtensionContentVerificationBootstrap[] = "bootstrap"; | 569 const char kExtensionContentVerificationBootstrap[] = "bootstrap"; |
| 568 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict"; | 570 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict"; |
| 569 const char kExtensionContentVerificationEnforce[] = "enforce"; | 571 const char kExtensionContentVerificationEnforce[] = "enforce"; |
| 570 | 572 |
| 571 // Name of the command line flag to force content verification to be on in one | 573 // Name of the command line flag to force content verification to be on in one |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1360 | 1362 |
| 1361 // ----------------------------------------------------------------------------- | 1363 // ----------------------------------------------------------------------------- |
| 1362 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1364 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1363 // | 1365 // |
| 1364 // You were going to just dump your switches here, weren't you? Instead, please | 1366 // You were going to just dump your switches here, weren't you? Instead, please |
| 1365 // put them in alphabetical order above, or in order inside the appropriate | 1367 // put them in alphabetical order above, or in order inside the appropriate |
| 1366 // ifdef at the bottom. The order should match the header. | 1368 // ifdef at the bottom. The order should match the header. |
| 1367 // ----------------------------------------------------------------------------- | 1369 // ----------------------------------------------------------------------------- |
| 1368 | 1370 |
| 1369 } // namespace switches | 1371 } // namespace switches |
| OLD | NEW |