Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Issue 341043: Changes session restore to use a normal load rather than preferring... (Closed)

Created:
11 years, 1 month ago by sky
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), Paweł Hajdan Jr., jam, ben+cc_chromium.org
Visibility:
Public.

Description

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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30892

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 3

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -84 lines) Patch
M chrome/browser/browser.h View 1 2 3 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 3 chunks +8 lines, -24 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_restore.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sessions/tab_restore_service.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sessions/tab_restore_service.cc View 1 2 3 5 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/tab_contents/navigation_controller.h View 1 2 3 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/navigation_controller.cc View 1 2 3 4 6 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/tab_contents/navigation_controller_unittest.cc View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/navigation_entry.h View 1 2 3 4 2 chunks +20 lines, -8 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry_unittest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_manager.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 2 chunks +16 lines, -4 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 chunks +56 lines, -6 lines 0 comments Download
M chrome/renderer/navigation_state.h View 1 2 3 4 4 chunks +25 lines, -1 line 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 3 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sky
Darin, could you review the renderer side and Brett the browser? Thanks!
11 years, 1 month ago (2009-10-29 21:51:34 UTC) #1
Peter Kasting
I really really really don't want to see this happen. Comment left on bug.
11 years, 1 month ago (2009-10-29 21:59:28 UTC) #2
brettw
LGTM on the implementation. I'll stay out of "whether this is a good idea" for ...
11 years, 1 month ago (2009-10-30 17:26:27 UTC) #3
darin (slow to review)
http://codereview.chromium.org/341043/diff/2012/2029 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/341043/diff/2012/2029#newcode2339 Line 2339: if (frame->provisionalDataSource()) { note: this only changes the ...
11 years, 1 month ago (2009-10-30 18:13:38 UTC) #4
sky
On 2009/10/30 18:13:38, darin wrote: > http://codereview.chromium.org/341043/diff/2012/2029 > File chrome/renderer/render_view.cc (right): > > http://codereview.chromium.org/341043/diff/2012/2029#newcode2339 > ...
11 years, 1 month ago (2009-10-30 21:18:27 UTC) #5
darin (slow to review)
LGTM for common/ and renderer/ side. It'll be so easy to follow this same approach ...
11 years, 1 month ago (2009-10-30 21:23:15 UTC) #6
brettw
LGTM with some comment changes. http://codereview.chromium.org/341043/diff/3015/2057 File chrome/browser/sessions/tab_restore_service.h (right): http://codereview.chromium.org/341043/diff/3015/2057#newcode74 Line 74: // Is this ...
11 years, 1 month ago (2009-10-30 22:31:44 UTC) #7
sky
All updated. I've also changed the semantics so that we only do this new behavior ...
11 years, 1 month ago (2009-11-02 18:00:23 UTC) #8
sky
Ping -Scott On Mon, Nov 2, 2009 at 10:00 AM, <sky@chromium.org> wrote: > All updated. ...
11 years, 1 month ago (2009-11-03 16:09:11 UTC) #9
brettw
11 years, 1 month ago (2009-11-03 17:01:25 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698