diff options
author | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-07 00:07:04 +0000 |
---|---|---|
committer | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-07 00:07:04 +0000 |
commit | a5ded246b87ab09ebcf770ffc5c157fb4efaddac (patch) | |
tree | aadd442a22c7aa39d8762d12d7976adec75db368 /chrome/browser/ssl/ssl_blocking_page.cc | |
parent | b6bf0e40157f4caab059b757dfd28d0a1ab58b51 (diff) | |
download | chromium_src-a5ded246b87ab09ebcf770ffc5c157fb4efaddac.zip chromium_src-a5ded246b87ab09ebcf770ffc5c157fb4efaddac.tar.gz chromium_src-a5ded246b87ab09ebcf770ffc5c157fb4efaddac.tar.bz2 |
Enable interstitial pages for SSL certificate errors on Linux.
There are still problems with this patch, as acknowledging the interstitial page often fails to load a new page. Instead, it just displays a blank gray page. This appears to be somewhat timing related.
Nonetheless, this changelist is strictly an improvement over what we have right now. So, I would still like to commit it.
Ideally, I'd like to remove the special-case Windows code. But I don't have a Windows machine to check whether the new code is actually a full superset of the old Windows code.
Review URL: http://codereview.chromium.org/40095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl/ssl_blocking_page.cc')
-rw-r--r-- | chrome/browser/ssl/ssl_blocking_page.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc index c98975d..91b1373 100644 --- a/chrome/browser/ssl/ssl_blocking_page.cc +++ b/chrome/browser/ssl/ssl_blocking_page.cc @@ -70,7 +70,6 @@ std::string SSLBlockingPage::GetHTMLContents() { } void SSLBlockingPage::UpdateEntry(NavigationEntry* entry) { -#if defined(OS_WIN) DCHECK(tab()->type() == TAB_CONTENTS_WEB); WebContents* web = tab()->AsWebContents(); const net::SSLInfo& ssl_info = error_->ssl_info(); @@ -85,9 +84,6 @@ void SSLBlockingPage::UpdateEntry(NavigationEntry* entry) { NotificationType::SSL_STATE_CHANGED, Source<NavigationController>(web->controller()), NotificationService::NoDetails()); -#else - NOTIMPLEMENTED(); -#endif } void SSLBlockingPage::CommandReceived(const std::string& command) { @@ -142,4 +138,3 @@ void SSLBlockingPage::SetExtraInfo( strings->SetString(keys[i], L""); } } - |