Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4926)

Unified Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6014003: Intergration of the client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ----------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698