| 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 0f9ef893152587a4522fea7464ecdf214c4c22d2..24fa8a710ba64a96e35343112393383b354ab701 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service.h
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.h
|
| @@ -169,6 +169,9 @@ class SafeBrowsingService
|
| scoped_ptr<StateSubscription> RegisterStateCallback(
|
| const base::Callback<void(void)>& callback);
|
|
|
| + // Sends serialized download recovery report to backend.
|
| + void SendDownloadRecoveryReport(const std::string& report);
|
| +
|
| protected:
|
| // Creates the safe browsing service. Need to initialize before using.
|
| SafeBrowsingService();
|
| @@ -244,6 +247,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.
|
|
|