Index: chrome/browser/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
index e7d3f71daca0504ca3fc658ce64e630511b0ce78..f2bf01019240415510c5a9ee132054a70d560e8a 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -64,6 +64,7 @@ |
#include "chrome/browser/renderer_host/site_instance.h" |
#include "chrome/browser/renderer_host/web_cache_manager.h" |
#include "chrome/browser/renderer_preferences_util.h" |
+#include "chrome/browser/safe_browsing/client_side_detection_host.h" |
#include "chrome/browser/search_engines/template_url.h" |
#include "chrome/browser/search_engines/template_url_fetcher.h" |
#include "chrome/browser/search_engines/template_url_fetcher_ui_callbacks.h" |
@@ -378,6 +379,9 @@ TabContents::TabContents(Profile* profile, |
plugin_observer_.reset(new PluginObserver(this)); |
AddObserver(plugin_observer_.get()); |
AddObserver(print_preview_.get()); |
+ safebrowsing_detection_host_.reset(new safe_browsing::ClientSideDetectionHost( |
+ this)); |
+ AddObserver(safebrowsing_detection_host_.get()); |
} |
TabContents::~TabContents() { |