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 6da4023520f9500364c8298bd80bdf5e8bf1e4f1..a03892ef956c4abd4e9cd5ac738fd8c9ff734698 100644 |
--- a/chrome/browser/tab_contents/tab_contents.h |
+++ b/chrome/browser/tab_contents/tab_contents.h |
@@ -59,6 +59,10 @@ class PrintPreviewMessageHandler; |
class PrintViewManager; |
} |
+namespace safe_browsing { |
+class ClientSideDetectionHost; |
+} |
+ |
class AutocompleteHistoryManager; |
class AutoFillManager; |
class BlockedContentContainer; |
@@ -713,6 +717,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); |
@@ -1093,6 +1101,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 ---------------------------------------------------- |