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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.cc

Issue 348083004: [Android] Disable download protection and client side detection services. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert change in database_manager.h Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome_tests_unit.gypi » ('j') | chrome/chrome_tests_unit.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 66ac0c1135a0216a49a763acc3fe3cdf98fcdf1c..277b910f3c6e7adc7dfc099a4d34b64503dc8b4e 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -224,6 +224,7 @@ void SafeBrowsingService::Initialize() {
make_scoped_refptr(g_browser_process->system_request_context())));
#if defined(FULL_SAFE_BROWSING)
+#if !defined(OS_ANDROID)
if (!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableClientSidePhishingDetection)) {
csd_service_.reset(safe_browsing::ClientSideDetectionService::Create(
@@ -231,6 +232,7 @@ void SafeBrowsingService::Initialize() {
}
download_service_.reset(new safe_browsing::DownloadProtectionService(
this, url_request_context_getter_.get()));
+#endif
if (IsIncidentReportingServiceEnabled()) {
incident_service_.reset(new safe_browsing::IncidentReportingService(
« no previous file with comments | « no previous file | chrome/chrome_tests_unit.gypi » ('j') | chrome/chrome_tests_unit.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698