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 487be29296b4f1fab966d1250234406db5fdaf07..6dc59129b55c2318a003b04fba80f62689cbb374 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_service.h |
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h |
@@ -33,6 +33,7 @@ struct SafeBrowsingProtocolConfig; |
class SafeBrowsingDatabaseManager; |
class SafeBrowsingPingManager; |
class SafeBrowsingProtocolManager; |
+class SafeBrowsingProtocolManagerDelegate; |
class SafeBrowsingServiceFactory; |
class SafeBrowsingUIManager; |
class SafeBrowsingURLRequestContextGetter; |
@@ -161,6 +162,9 @@ class SafeBrowsingService |
// This is where you register your process-wide, profile-independent analysis. |
virtual void RegisterAllDelayedAnalysis(); |
+ // Return a ptr to DatabaseManager's delegate, or NULL if it doesn't have one. |
+ virtual SafeBrowsingProtocolManagerDelegate* GetProtocolManagerDelegate(); |
+ |
private: |
friend class SafeBrowsingServiceFactoryImpl; |
friend struct content::BrowserThread::DeleteOnThread< |