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

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

Issue 7635010: Add support for client-side phishing detection for non-UMA users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename method Created 9 years, 3 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/safe_browsing/csd.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 // Enable content settings based on host *and* plug-in. 487 // Enable content settings based on host *and* plug-in.
488 const char kEnableResourceContentSettings[] = 488 const char kEnableResourceContentSettings[] =
489 "enable-resource-content-settings"; 489 "enable-resource-content-settings";
490 490
491 // Enable panels (always on-top docked pop-up windows). 491 // Enable panels (always on-top docked pop-up windows).
492 const char kEnablePanels[] = "enable-panels"; 492 const char kEnablePanels[] = "enable-panels";
493 493
494 // Enable speculative TCP/IP preconnection. 494 // Enable speculative TCP/IP preconnection.
495 const char kEnablePreconnect[] = "enable-preconnect"; 495 const char kEnablePreconnect[] = "enable-preconnect";
496 496
497 // Enables the sanitized version of client-side phishing detection, for use by
498 // non-UMA users. Any features containing portions of the URL or page content
499 // are not sent as part of the pingback in this mode.
500 const char kEnableSanitizedClientSidePhishingDetection[] =
501 "enable-sanitized-client-side-phishing-detection";
502
497 // Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra 503 // Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra
498 // parameter to indicate if the provider should be the default. 504 // parameter to indicate if the provider should be the default.
499 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; 505 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2";
500 506
501 // Enable the use of the ShortcutsProvider for autocomplete results. 507 // Enable the use of the ShortcutsProvider for autocomplete results.
502 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider"; 508 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider";
503 509
504 // On platforms that support it, enable smooth scroll animation. 510 // On platforms that support it, enable smooth scroll animation.
505 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; 511 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling";
506 512
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 1254
1249 // ----------------------------------------------------------------------------- 1255 // -----------------------------------------------------------------------------
1250 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1256 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1251 // 1257 //
1252 // You were going to just dump your switches here, weren't you? Instead, 1258 // You were going to just dump your switches here, weren't you? Instead,
1253 // please put them in alphabetical order above, or in order inside the 1259 // please put them in alphabetical order above, or in order inside the
1254 // appropriate ifdef at the bottom. The order should match the header. 1260 // appropriate ifdef at the bottom. The order should match the header.
1255 // ----------------------------------------------------------------------------- 1261 // -----------------------------------------------------------------------------
1256 1262
1257 } // namespace switches 1263 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/safe_browsing/csd.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698