diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 08:57:15 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 08:57:15 +0000 |
commit | 14bfcba6333cffd3e799c15afe312deae7cc3c50 (patch) | |
tree | 6081dd57b1888fc8aa93f1c85489ca965b5ae1ee /chrome/browser | |
parent | 5edce1ef5502e3dc20f030e108978da0c360fb65 (diff) | |
download | chromium_src-14bfcba6333cffd3e799c15afe312deae7cc3c50.zip chromium_src-14bfcba6333cffd3e799c15afe312deae7cc3c50.tar.gz chromium_src-14bfcba6333cffd3e799c15afe312deae7cc3c50.tar.bz2 |
Build fix.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16049 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/ssl/ssl_manager.cc | 4 | ||||
-rw-r--r-- | chrome/browser/ssl/ssl_manager.h | 6 | ||||
-rw-r--r-- | chrome/browser/ssl/ssl_policy_backend.h | 12 |
3 files changed, 8 insertions, 14 deletions
diff --git a/chrome/browser/ssl/ssl_manager.cc b/chrome/browser/ssl/ssl_manager.cc index 334eaa4..a8733af 100644 --- a/chrome/browser/ssl/ssl_manager.cc +++ b/chrome/browser/ssl/ssl_manager.cc @@ -249,7 +249,7 @@ void SSLManager::DidCommitProvisionalLoad( entry->ssl().set_cert_status(ssl_cert_status); entry->ssl().set_security_bits(ssl_security_bits); } - ShowPendingMessages(); + backend_.ShowPendingMessages(); } UpdateEntry(entry); @@ -264,7 +264,7 @@ void SSLManager::DidFailProvisionalLoadWithError( return; if (details->main_frame()) - ClearPendingMessages(); + backend_.ClearPendingMessages(); } void SSLManager::DidStartResourceResponse(ResourceRequestDetails* details) { diff --git a/chrome/browser/ssl/ssl_manager.h b/chrome/browser/ssl/ssl_manager.h index d5c4e13..4021f53 100644 --- a/chrome/browser/ssl/ssl_manager.h +++ b/chrome/browser/ssl/ssl_manager.h @@ -209,12 +209,6 @@ class SSLManager : public NotificationObserver { // Update the NavigationEntry with our current state. void UpdateEntry(NavigationEntry* entry); - // Shows the pending messages (in info-bars) if any. - void ShowPendingMessages(); - - // Clears any pending messages. - void ClearPendingMessages(); - // Our delegate. The delegate is responsible for making policy decisions. // Must not be NULL. Delegate* delegate_; diff --git a/chrome/browser/ssl/ssl_policy_backend.h b/chrome/browser/ssl/ssl_policy_backend.h index b0af806..f8a829c 100644 --- a/chrome/browser/ssl/ssl_policy_backend.h +++ b/chrome/browser/ssl/ssl_policy_backend.h @@ -71,6 +71,12 @@ class SSLPolicyBackend { // Reloads the tab. void Reload(); + // Shows the pending messages (in info-bars) if any. + void ShowPendingMessages(); + + // Clears any pending messages. + void ClearPendingMessages(); + private: // SSLMessageInfo contains the information necessary for displaying a message // in an info-bar. @@ -99,12 +105,6 @@ class SSLPolicyBackend { // Dispatch NotificationType::SSL_INTERNAL_STATE_CHANGED notification. void DispatchSSLInternalStateChanged(); - // Shows the pending messages (in info-bars) if any. - void ShowPendingMessages(); - - // Clears any pending messages. - void ClearPendingMessages(); - // The NavigationController that owns this SSLManager. We are responsible // for the security UI of this tab. NavigationController* controller_; |