summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_info_window.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/page_info_window.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/page_info_window.cc')
-rw-r--r--chrome/browser/page_info_window.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/page_info_window.cc b/chrome/browser/page_info_window.cc
index 1902efc..f136b65 100644
--- a/chrome/browser/page_info_window.cc
+++ b/chrome/browser/page_info_window.cc
@@ -233,14 +233,14 @@ SecurityTabView::SecurityTabView(Profile* profile,
const NavigationEntry::SSLStatus& ssl = navigation_entry->ssl();
// Identity section.
- std::wstring subject_name(UTF8ToWide(navigation_entry->GetURL().host()));
+ std::wstring subject_name(UTF8ToWide(navigation_entry->url().host()));
bool empty_subject_name = false;
if (subject_name.empty()) {
subject_name.assign(
l10n_util::GetString(IDS_PAGE_INFO_SECURITY_TAB_UNKNOWN_PARTY));
empty_subject_name = true;
}
- if (navigation_entry->GetPageType() == NavigationEntry::NORMAL_PAGE &&
+ if (navigation_entry->page_type() == NavigationEntry::NORMAL_PAGE &&
ssl.cert_id() &&
CertStore::GetSharedInstance()->RetrieveCert(ssl.cert_id(), &cert) &&
!net::IsCertStatusError(ssl.cert_status())) {
@@ -250,7 +250,7 @@ SecurityTabView::SecurityTabView(Profile* profile,
identity_title =
l10n_util::GetStringF(IDS_PAGE_INFO_EV_IDENTITY_TITLE,
UTF8ToWide(cert->subject().organization_names[0]),
- UTF8ToWide(navigation_entry->GetURL().host()));
+ UTF8ToWide(navigation_entry->url().host()));
// An EV Cert is required to have a city (localityName) and country but
// state is "if any".
DCHECK(!cert->subject().locality_name.empty());
@@ -349,7 +349,7 @@ SecurityTabView::SecurityTabView(Profile* profile,
Profile::EXPLICIT_ACCESS);
if (history) {
history->GetVisitCountToHost(
- navigation_entry->GetURL(),
+ navigation_entry->url(),
&request_consumer_,
NewCallback(this, &SecurityTabView::OnGotVisitCountToHost));
}