| Index: chrome/browser/safe_browsing/safe_browsing_service.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| index 3f99699dd9db9b247be5d74b60d75dd478c8d68f..c8a4ea474736ee5885cda99917f0d846c97a6b35 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| @@ -913,8 +913,11 @@ void SafeBrowsingService::Start() {
|
| !cmdline->HasSwitch(switches::kDisableClientSidePhishingDetection);
|
| #endif
|
|
|
| - enable_download_whitelist_ = cmdline->HasSwitch(
|
| - switches::kEnableImprovedDownloadProtection);
|
| + // TODO(noelutz): remove this boolean variable since it should always be true
|
| + // if SafeBrowsing is enabled. Unfortunately, we have no test data for this
|
| + // list right now. This means that we need to be able to disable this list
|
| + // for the SafeBrowsing test to pass.
|
| + enable_download_whitelist_ = enable_csd_whitelist_;
|
|
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
|
|