Index: chrome/browser/safe_browsing/safe_browsing_service.cc |
=================================================================== |
--- chrome/browser/safe_browsing/safe_browsing_service.cc (revision 98169) |
+++ chrome/browser/safe_browsing/safe_browsing_service.cc (working copy) |
@@ -169,9 +169,7 @@ |
#if !defined(OS_CHROMEOS) |
if (!CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableClientSidePhishingDetection) && |
- (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableSanitizedClientSidePhishingDetection) || |
- CanReportStats())) { |
+ CanReportStats()) { |
csd_service_.reset( |
safe_browsing::ClientSideDetectionService::Create( |
g_browser_process->system_request_context())); |
@@ -901,10 +899,7 @@ |
#else |
enable_csd_whitelist_ = |
(!cmdline->HasSwitch(switches::kDisableClientSidePhishingDetection) && |
- (cmdline->HasSwitch( |
- switches::kEnableSanitizedClientSidePhishingDetection) || |
- (local_state && |
- local_state->GetBoolean(prefs::kMetricsReportingEnabled)))); |
+ local_state && local_state->GetBoolean(prefs::kMetricsReportingEnabled)); |
#endif |
BrowserThread::PostTask( |