Index: chrome/browser/tab_contents/tab_contents.h |
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h |
index 930c3792fcb27cfd0d31609c680e0c0222e907ab..3c99ce85646e245c98719f268af3d22991f463f3 100644 |
--- a/chrome/browser/tab_contents/tab_contents.h |
+++ b/chrome/browser/tab_contents/tab_contents.h |
@@ -54,6 +54,10 @@ class PrintPreviewMessageHandler; |
class PrintViewManager; |
} |
+namespace safe_browsing { |
+class ClientSideDetectionHost; |
+} |
+ |
class AutocompleteHistoryManager; |
class AutoFillManager; |
class BlockedContentContainer; |
@@ -709,6 +713,10 @@ class TabContents : public PageNavigator, |
} |
AutoFillManager* autofill_manager() { return autofill_manager_.get(); } |
+ safe_browsing::ClientSideDetectionHost* safebrowsing_detection_host() { |
+ return safebrowsing_detection_host_.get(); |
+ } |
+ |
protected: |
// from RenderViewHostDelegate. |
virtual bool OnMessageReceived(const IPC::Message& message); |
@@ -1099,6 +1107,9 @@ class TabContents : public PageNavigator, |
// Handles desktop notification IPCs. |
scoped_ptr<DesktopNotificationHandler> desktop_notification_handler_; |
+ // Handles IPCs related to SafeBrowsing client-side phishing detection. |
+ scoped_ptr<safe_browsing::ClientSideDetectionHost> |
+ safebrowsing_detection_host_; |
// Data for loading state ---------------------------------------------------- |