summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_blocking_page.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/safe_browsing/safe_browsing_blocking_page.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/safe_browsing/safe_browsing_blocking_page.cc')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_blocking_page.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index eacbf86..c495952 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -173,9 +173,9 @@ void SafeBrowsingBlockingPage::DisplayBlockingPage() {
// this dummy entry a new one. Because we'll remove the entry when the
// interstitial is going away, it will not conflict with any future
// navigations.
- nav_entry->SetPageID(tab_->GetMaxPageID() + 1);
- nav_entry->SetPageType(NavigationEntry::INTERSTITIAL_PAGE);
- nav_entry->SetURL(url_);
+ nav_entry->set_page_id(tab_->GetMaxPageID() + 1);
+ nav_entry->set_page_type(NavigationEntry::INTERSTITIAL_PAGE);
+ nav_entry->set_url(url_);
tab_->controller()->DidNavigateToEntry(nav_entry);
created_temporary_entry_ = true;
}
@@ -213,7 +213,7 @@ bool SafeBrowsingBlockingPage::GoBack() {
// interstitial to hide which will trigger "this" to be deleted.
tab_->controller()->LoadURL(GURL("about:blank"),
PageTransition::AUTO_BOOKMARK);
- } else if (prev_entry->GetType() != TAB_CONTENTS_WEB ||
+ } else if (prev_entry->tab_type() != TAB_CONTENTS_WEB ||
prev_entry->restored() ||
!is_main_frame_) {
// We do navigate back if any of these is true: