summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/ssl/ssl_manager.cc4
-rw-r--r--chrome/browser/ssl/ssl_manager.h6
-rw-r--r--chrome/browser/ssl/ssl_policy_backend.h12
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_;