summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.h
diff options
context:
space:
mode:
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 12:56:05 +0000
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 12:56:05 +0000
commit9efb466964b2bc3818a191e2eed30f938370e1e8 (patch)
treeae205e031b2c6c1a5fc330ad65dd692cd84082fc /chrome/browser/browser_process_impl.h
parenteff4d5c9829deab6cda2323fcb6068335b371436 (diff)
downloadchromium_src-9efb466964b2bc3818a191e2eed30f938370e1e8.zip
chromium_src-9efb466964b2bc3818a191e2eed30f938370e1e8.tar.gz
chromium_src-9efb466964b2bc3818a191e2eed30f938370e1e8.tar.bz2
Add "enabled" state to the ClientSideDetectionService.
The service won't download the model nor report phishing URLs when disabled. It is only enabled if it exists (only when client side reporting is not disabled), and at least one profile has safe browsing enabled. BUG=88661 TEST=SafeBrowsing and phishing detection work as before. Review URL: http://codereview.chromium.org/7583007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.h')
-rw-r--r--chrome/browser/browser_process_impl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 47e0f07..f119c17 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -259,10 +259,6 @@ class BrowserProcessImpl : public BrowserProcess,
bool created_safe_browsing_service_;
scoped_refptr<SafeBrowsingService> safe_browsing_service_;
- bool created_safe_browsing_detection_service_;
- scoped_ptr<safe_browsing::ClientSideDetectionService>
- safe_browsing_detection_service_;
-
unsigned int module_ref_count_;
bool did_start_;