Index: chrome/browser/ssl/ssl_tab_helper.cc |
diff --git a/chrome/browser/ssl/ssl_tab_helper.cc b/chrome/browser/ssl/ssl_tab_helper.cc |
index 886db8ac6436a6ad76473244fdff7e4345aacf5e..3be816a253514786d534212f952b1affc3f90164 100644 |
--- a/chrome/browser/ssl/ssl_tab_helper.cc |
+++ b/chrome/browser/ssl/ssl_tab_helper.cc |
@@ -20,7 +20,6 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ssl/ssl_add_cert_handler.h" |
#include "chrome/browser/ssl/ssl_client_certificate_selector.h" |
-#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
#include "content/public/browser/notification_details.h" |
@@ -192,21 +191,12 @@ void SSLTabHelper::SSLAddCertData::Observe( |
DEFINE_WEB_CONTENTS_USER_DATA_KEY(SSLTabHelper); |
SSLTabHelper::SSLTabHelper(content::WebContents* contents) |
- : WebContentsObserver(contents), |
- web_contents_(contents) { |
+ : web_contents_(contents) { |
} |
SSLTabHelper::~SSLTabHelper() { |
} |
-void SSLTabHelper::DidChangeVisibleSSLState() { |
-#if !defined(OS_ANDROID) |
- Browser* browser = chrome::FindBrowserWithWebContents(web_contents_); |
- if (browser) |
- browser->VisibleSSLStateChanged(web_contents_); |
-#endif // !defined(OS_ANDROID) |
-} |
- |
void SSLTabHelper::ShowClientCertificateRequestDialog( |
const net::HttpNetworkSession* network_session, |
net::SSLCertRequestInfo* cert_request_info, |