| 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 51595489020b99caef251a19f99687e202c40443..def5fb029e2077249a81de30c6d764c7fd3707ca 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service.h
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.h
|
| @@ -40,6 +40,7 @@ class Thread;
|
| }
|
|
|
| namespace net {
|
| +class URLRequest;
|
| class URLRequestContext;
|
| class URLRequestContextGetter;
|
| }
|
| @@ -48,6 +49,7 @@ namespace safe_browsing {
|
| class ClientSideDetectionService;
|
| class DownloadProtectionService;
|
| class IncidentReportingService;
|
| +class OffDomainInclusionDetector;
|
| }
|
|
|
| // Construction needs to happen on the main thread.
|
| @@ -131,6 +133,10 @@ class SafeBrowsingService
|
| void RegisterDelayedAnalysisCallback(
|
| const safe_browsing::DelayedAnalysisCallback& callback);
|
|
|
| + // Observes resource requests made by the renderer and reports suspicious
|
| + // activity.
|
| + void OnResourceRequest(const net::URLRequest* request);
|
| +
|
| protected:
|
| // Creates the safe browsing service. Need to initialize before using.
|
| SafeBrowsingService();
|
| @@ -247,6 +253,9 @@ class SafeBrowsingService
|
| // both UI and IO thread.
|
| scoped_refptr<SafeBrowsingDatabaseManager> database_manager_;
|
|
|
| + scoped_ptr<safe_browsing::OffDomainInclusionDetector>
|
| + off_domain_inclusion_detector_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SafeBrowsingService);
|
| };
|
|
|
|
|