Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 15881012: Implement safebrowsing download feedback service, enabled for dev & canary only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 "safebrowsing-disable-download-protection"; 1241 "safebrowsing-disable-download-protection";
1242 1242
1243 // Disables safebrowsing feature that checks for blacklisted extensions. 1243 // Disables safebrowsing feature that checks for blacklisted extensions.
1244 const char kSbDisableExtensionBlacklist[] = 1244 const char kSbDisableExtensionBlacklist[] =
1245 "safebrowsing-disable-extension-blacklist"; 1245 "safebrowsing-disable-extension-blacklist";
1246 1246
1247 // Disables safebrowsing feature that provides a side-effect free whitelist. 1247 // Disables safebrowsing feature that provides a side-effect free whitelist.
1248 const char kSbDisableSideEffectFreeWhitelist[] = 1248 const char kSbDisableSideEffectFreeWhitelist[] =
1249 "safebrowsing-disable-side-effect-free-whitelist"; 1249 "safebrowsing-disable-side-effect-free-whitelist";
1250 1250
1251 // URL to send safebrowsing download feedback reports to.
1252 const char kSbDownloadFeedbackURL[] = "safebrowsing-download-feedback-url";
1253
1254 // Enable safebrowsing download feedback.
1255 const char kSbEnableDownloadFeedback[] =
1256 "safebrowsing-enable-download-feedback";
1257
1251 // Enables or disables extension scripts badges in the location bar. 1258 // Enables or disables extension scripts badges in the location bar.
1252 const char kScriptBadges[] = "script-badges"; 1259 const char kScriptBadges[] = "script-badges";
1253 1260
1254 // Enable or diable the "script bubble" icon in the URL bar that tells you how 1261 // Enable or diable the "script bubble" icon in the URL bar that tells you how
1255 // many extensions are running scripts on a page. 1262 // many extensions are running scripts on a page.
1256 const char kScriptBubble[] = "script-bubble"; 1263 const char kScriptBubble[] = "script-bubble";
1257 1264
1258 // Causes the process to run as a service process. 1265 // Causes the process to run as a service process.
1259 const char kServiceProcess[] = "service"; 1266 const char kServiceProcess[] = "service";
1260 1267
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1615 1622
1616 // ----------------------------------------------------------------------------- 1623 // -----------------------------------------------------------------------------
1617 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1624 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1618 // 1625 //
1619 // You were going to just dump your switches here, weren't you? Instead, please 1626 // You were going to just dump your switches here, weren't you? Instead, please
1620 // put them in alphabetical order above, or in order inside the appropriate 1627 // put them in alphabetical order above, or in order inside the appropriate
1621 // ifdef at the bottom. The order should match the header. 1628 // ifdef at the bottom. The order should match the header.
1622 // ----------------------------------------------------------------------------- 1629 // -----------------------------------------------------------------------------
1623 1630
1624 } // namespace switches 1631 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698