summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/navigation_entry.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:48:30 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:48:30 +0000
commit5e36967c2b96745b13f3bc8d9ca56f62d888ae1d (patch)
treeb0d19f0215e69041641f667af37cd493b748c4e2 /chrome/browser/tab_contents/navigation_entry.cc
parent4eae2c4462379beaf4df96815a2cd95424dcd73e (diff)
downloadchromium_src-5e36967c2b96745b13f3bc8d9ca56f62d888ae1d.zip
chromium_src-5e36967c2b96745b13f3bc8d9ca56f62d888ae1d.tar.gz
chromium_src-5e36967c2b96745b13f3bc8d9ca56f62d888ae1d.tar.bz2
Changes session restore to use a normal load rather than preferring
the cache. We need to do this else we don't honor page expiration and end up showing stale data for some sites. BUG=21195 TEST=make sure session restore works. Review URL: http://codereview.chromium.org/341043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/navigation_entry.cc')
-rw-r--r--chrome/browser/tab_contents/navigation_entry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/navigation_entry.cc b/chrome/browser/tab_contents/navigation_entry.cc
index f2de70ec..826e648 100644
--- a/chrome/browser/tab_contents/navigation_entry.cc
+++ b/chrome/browser/tab_contents/navigation_entry.cc
@@ -43,7 +43,7 @@ NavigationEntry::NavigationEntry()
page_id_(-1),
transition_type_(PageTransition::LINK),
has_post_data_(false),
- restored_(false) {
+ restore_type_(RESTORE_NONE) {
}
NavigationEntry::NavigationEntry(SiteInstance* instance,
@@ -61,7 +61,7 @@ NavigationEntry::NavigationEntry(SiteInstance* instance,
page_id_(page_id),
transition_type_(transition_type),
has_post_data_(false),
- restored_(false) {
+ restore_type_(RESTORE_NONE) {
}
NavigationEntry::~NavigationEntry() {