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 264a29d8a9e620eda83b79e2083de690e86ff79f..6410fba0590f0fe21437954feee22083995097ce 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/sessions/session_types.h" |
#include "chrome/browser/tab_contents/infobar_delegate.h" |
#include "chrome/browser/tab_contents/interstitial_page.h" |
@@ -368,6 +369,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() { |