Index: chrome/browser/safe_browsing/client_side_detection_service.h |
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.h b/chrome/browser/safe_browsing/client_side_detection_service.h |
index fcc823d7e5a24e3cd717f8b04d131cabcd769a70..2c372027e76ef458fa184802dea98ca5a36ca5ac 100644 |
--- a/chrome/browser/safe_browsing/client_side_detection_service.h |
+++ b/chrome/browser/safe_browsing/client_side_detection_service.h |
@@ -91,11 +91,16 @@ class ClientSideDetectionService : public URLFetcher::Delegate, |
// fetch. If an error occurs the phishing verdict will always be false. The |
// callback is always called after SendClientReportPhishingRequest() returns |
// and on the same thread as SendClientReportPhishingRequest() was called. |
- void SendClientReportPhishingRequest( |
+ virtual void SendClientReportPhishingRequest( |
const GURL& phishing_url, |
double score, |
ClientReportPhishingRequestCallback* callback); |
+ protected: |
+ // Use Create() method to create an instance of this object. |
+ ClientSideDetectionService(const FilePath& model_path, |
+ URLRequestContextGetter* request_context_getter); |
+ |
private: |
friend class ClientSideDetectionServiceTest; |
friend class ClientSideDetectionServiceHooksTest; |
@@ -127,10 +132,6 @@ class ClientSideDetectionService : public URLFetcher::Delegate, |
static const base::TimeDelta kNegativeCacheInterval; |
static const base::TimeDelta kPositiveCacheInterval; |
- // Use Create() method to create an instance of this object. |
- ClientSideDetectionService(const FilePath& model_path, |
- URLRequestContextGetter* request_context_getter); |
- |
// Sets the model status and invokes all the pending callbacks in |
// |open_callbacks_| with the current |model_file_| as parameter. |
void SetModelStatus(ModelStatus status); |