| 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 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1144 | 1144 |
| 1145 // Disable saving pages as HTML-only, disable saving pages as HTML Complete | 1145 // Disable saving pages as HTML-only, disable saving pages as HTML Complete |
| 1146 // (with a directory of sub-resources). Enable only saving pages as MHTML. | 1146 // (with a directory of sub-resources). Enable only saving pages as MHTML. |
| 1147 // See http://crbug.com/120416 for how to remove this switch. | 1147 // See http://crbug.com/120416 for how to remove this switch. |
| 1148 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; | 1148 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; |
| 1149 | 1149 |
| 1150 // URL prefix used by safebrowsing to fetch hash, download data and report | 1150 // URL prefix used by safebrowsing to fetch hash, download data and report |
| 1151 // malware. | 1151 // malware. |
| 1152 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; | 1152 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; |
| 1153 | 1153 |
| 1154 // Enable an icon in the URL bar that tells you how many extensions are running |
| 1155 // scripts on a page. |
| 1156 const char kScriptBubbleEnabled[] = "script-bubble-enabled"; |
| 1157 |
| 1154 // If present, safebrowsing only performs update when | 1158 // If present, safebrowsing only performs update when |
| 1155 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. | 1159 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. |
| 1156 // This is used for testing only. | 1160 // This is used for testing only. |
| 1157 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; | 1161 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; |
| 1158 | 1162 |
| 1159 // TODO(lzheng): Remove this flag once the feature works fine | 1163 // TODO(lzheng): Remove this flag once the feature works fine |
| 1160 // (http://crbug.com/74848). | 1164 // (http://crbug.com/74848). |
| 1161 // | 1165 // |
| 1162 // Disables safebrowsing feature that checks download url and downloads | 1166 // Disables safebrowsing feature that checks download url and downloads |
| 1163 // content's hash to make sure the content are not malicious. | 1167 // content's hash to make sure the content are not malicious. |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 | 1580 |
| 1577 // ----------------------------------------------------------------------------- | 1581 // ----------------------------------------------------------------------------- |
| 1578 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1582 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1579 // | 1583 // |
| 1580 // You were going to just dump your switches here, weren't you? Instead, please | 1584 // You were going to just dump your switches here, weren't you? Instead, please |
| 1581 // put them in alphabetical order above, or in order inside the appropriate | 1585 // put them in alphabetical order above, or in order inside the appropriate |
| 1582 // ifdef at the bottom. The order should match the header. | 1586 // ifdef at the bottom. The order should match the header. |
| 1583 // ----------------------------------------------------------------------------- | 1587 // ----------------------------------------------------------------------------- |
| 1584 | 1588 |
| 1585 } // namespace switches | 1589 } // namespace switches |
| OLD | NEW |