| Index: chrome/browser/safe_browsing/safe_browsing_service.h
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/safe_browsing_service.h (revision 66642)
|
| +++ chrome/browser/safe_browsing/safe_browsing_service.h (working copy)
|
| @@ -25,6 +25,7 @@
|
|
|
| class PrefService;
|
| class SafeBrowsingDatabase;
|
| +class SafeBrowsingMalwareReport;
|
| class SafeBrowsingProtocolManager;
|
| class URLRequestContextGetter;
|
|
|
| @@ -174,6 +175,13 @@
|
| // the current page is 'safe'.
|
| void LogPauseDelay(base::TimeDelta time);
|
|
|
| + // Send the given malware report.
|
| + virtual void SendMalwareReport(
|
| + scoped_refptr<SafeBrowsingMalwareReport> report);
|
| +
|
| + protected:
|
| + virtual ~SafeBrowsingService(); // For the unittest.
|
| +
|
| private:
|
| typedef std::set<SafeBrowsingCheck*> CurrentChecks;
|
| typedef std::vector<SafeBrowsingCheck*> GetHashRequestors;
|
| @@ -192,8 +200,6 @@
|
| friend class base::RefCountedThreadSafe<SafeBrowsingService>;
|
| friend class SafeBrowsingServiceTest;
|
|
|
| - ~SafeBrowsingService();
|
| -
|
| // Called to initialize objects that are used on the io_thread.
|
| void OnIOInitialize(const std::string& client_key,
|
| const std::string& wrapped_key,
|
|
|