| Index: chrome/browser/safe_browsing/safe_browsing_service.h
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
|
| index 00b13e12d17bfacbc3bf62b0c2953fe265b39980..8ab583130dbc96d160d2a5c8d75751472bbdc246 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service.h
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.h
|
| @@ -165,6 +165,9 @@ class SafeBrowsingService
|
| scoped_ptr<StateSubscription> RegisterStateCallback(
|
| const base::Callback<void(void)>& callback);
|
|
|
| + // Sends serialized download recovery report to backend.
|
| + virtual void SendDownloadRecoveryReport(const std::string& report);
|
| +
|
| protected:
|
| // Creates the safe browsing service. Need to initialize before using.
|
| SafeBrowsingService();
|
| @@ -239,6 +242,8 @@ class SafeBrowsingService
|
| // starts or stops the service accordingly.
|
| void RefreshState();
|
|
|
| + void OnSendDownloadRecoveryReport(const std::string& report);
|
| +
|
| // The factory used to instanciate a SafeBrowsingService object.
|
| // Useful for tests, so they can provide their own implementation of
|
| // SafeBrowsingService.
|
|
|