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

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

Issue 8310014: Only send the client-side phishing model to a renderer if its profile has SafeBrowsing enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a comment as Noe suggested Created 9 years, 2 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
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 745a856dbf2ec782ba47b677a1984a9eb691a3a4..e68aa2cf5df53aef01c8126509a53545d7a0c991 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -1367,7 +1367,7 @@ void SafeBrowsingService::RefreshState() {
Stop();
if (csd_service_.get())
- csd_service_->SetEnabled(enable);
+ csd_service_->SetEnabledAndRefreshState(enable);
if (download_service_.get())
download_service_->SetEnabled(enable);
}

Powered by Google App Engine
This is Rietveld 408576698