summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ssl_manager.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 18:09:07 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 18:09:07 +0000
commit1e5645ff803bf73889ced446dab5b5f81e6023c0 (patch)
tree560899029aee3d7b933ae5baf1e17f89d90696a1 /chrome/browser/ssl_manager.cc
parent473343c408b846fda90eba9bd7cf96a342f6f286 (diff)
downloadchromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.zip
chromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.tar.gz
chromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.tar.bz2
Cleanup navigation_entry.h. I made the accessors consistent and in Google style, and organized and commented all the entries. Hopefully it will be much easier to find things and deal with this class.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl_manager.cc')
-rw-r--r--chrome/browser/ssl_manager.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ssl_manager.cc b/chrome/browser/ssl_manager.cc
index c5dd953..9089585 100644
--- a/chrome/browser/ssl_manager.cc
+++ b/chrome/browser/ssl_manager.cc
@@ -531,13 +531,13 @@ void SSLManager::OnMixedContentRequest(ResourceDispatcherHost* rdh,
void SSLManager::OnCertError(CertError* error) {
// Ask our delegate to deal with the error.
NavigationEntry* entry = controller_->GetActiveEntry();
- delegate()->OnCertError(entry->GetURL(), error);
+ delegate()->OnCertError(entry->url(), error);
}
void SSLManager::OnMixedContent(MixedContentHandler* mixed_content) {
// Ask our delegate to deal with the mixed content.
NavigationEntry* entry = controller_->GetActiveEntry();
- delegate()->OnMixedContent(controller_, entry->GetURL(), mixed_content);
+ delegate()->OnMixedContent(controller_, entry->url(), mixed_content);
}
void SSLManager::Observe(NotificationType type,
@@ -578,7 +578,7 @@ void SSLManager::InitializeEntryIfNeeded(NavigationEntry* entry) {
// fresh entry and should get the default style.
if (entry->ssl().security_style() == SECURITY_STYLE_UNKNOWN) {
entry->ssl().set_security_style(
- delegate()->GetDefaultStyle(entry->GetURL()));
+ delegate()->GetDefaultStyle(entry->url()));
}
}