| 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 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1228 "safebrowsing-disable-download-protection"; | 1228 "safebrowsing-disable-download-protection"; |
| 1229 | 1229 |
| 1230 // Disables safebrowsing feature that checks for blacklisted extensions. | 1230 // Disables safebrowsing feature that checks for blacklisted extensions. |
| 1231 const char kSbDisableExtensionBlacklist[] = | 1231 const char kSbDisableExtensionBlacklist[] = |
| 1232 "safebrowsing-disable-extension-blacklist"; | 1232 "safebrowsing-disable-extension-blacklist"; |
| 1233 | 1233 |
| 1234 // Disables safebrowsing feature that provides a side-effect free whitelist. | 1234 // Disables safebrowsing feature that provides a side-effect free whitelist. |
| 1235 const char kSbDisableSideEffectFreeWhitelist[] = | 1235 const char kSbDisableSideEffectFreeWhitelist[] = |
| 1236 "safebrowsing-disable-side-effect-free-whitelist"; | 1236 "safebrowsing-disable-side-effect-free-whitelist"; |
| 1237 | 1237 |
| 1238 // URL to send safebrowsing download feedback reports to. |
| 1239 const char kSbDownloadFeedbackURL[] = "safebrowsing-download-feedback-url"; |
| 1240 |
| 1241 // Enable safebrowsing download feedback. |
| 1242 const char kSbEnableDownloadFeedback[] = |
| 1243 "safebrowsing-enable-download-feedback"; |
| 1244 |
| 1238 // Enables or disables extension scripts badges in the location bar. | 1245 // Enables or disables extension scripts badges in the location bar. |
| 1239 const char kScriptBadges[] = "script-badges"; | 1246 const char kScriptBadges[] = "script-badges"; |
| 1240 | 1247 |
| 1241 // Enable or diable the "script bubble" icon in the URL bar that tells you how | 1248 // Enable or diable the "script bubble" icon in the URL bar that tells you how |
| 1242 // many extensions are running scripts on a page. | 1249 // many extensions are running scripts on a page. |
| 1243 const char kScriptBubble[] = "script-bubble"; | 1250 const char kScriptBubble[] = "script-bubble"; |
| 1244 | 1251 |
| 1245 // Enables the showing of an info-bar instructing user they can search directly | 1252 // Enables the showing of an info-bar instructing user they can search directly |
| 1246 // from the omnibox. | 1253 // from the omnibox. |
| 1247 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; | 1254 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1593 | 1600 |
| 1594 // ----------------------------------------------------------------------------- | 1601 // ----------------------------------------------------------------------------- |
| 1595 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1602 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1596 // | 1603 // |
| 1597 // You were going to just dump your switches here, weren't you? Instead, please | 1604 // You were going to just dump your switches here, weren't you? Instead, please |
| 1598 // put them in alphabetical order above, or in order inside the appropriate | 1605 // put them in alphabetical order above, or in order inside the appropriate |
| 1599 // ifdef at the bottom. The order should match the header. | 1606 // ifdef at the bottom. The order should match the header. |
| 1600 // ----------------------------------------------------------------------------- | 1607 // ----------------------------------------------------------------------------- |
| 1601 | 1608 |
| 1602 } // namespace switches | 1609 } // namespace switches |
| OLD | NEW |