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

Issue 123133006: Expose a cachePolicy parameter to loadHistoryItem. (Closed)

Created:
6 years, 11 months ago by davidben
Modified:
6 years, 11 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, Nate Chapin, gavinp+loader_chromium.org, abarth-chromium, rmcilroy
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[Not to land until https://codereview.chromium.org/101203006/ does] Expose a cachePolicy parameter to loadHistoryItem. In some cases, Chromium goes through the loadHistoryItem codepath to perform a reload if the page to be reloaded isn't in this WebFrame (e.g., when reloading a sad tab or during a session restore). Expose a cachePolicy parameter so the embedder can override the default behavior (one of ReturnCacheDataElseLoad or ReturnCacheDataDontLoad). BUG=331386 TEST=WebFrameTest.LoadHistoryItemReload Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164592

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -21 lines) Patch
M Source/core/loader/FrameLoader.h View 3 chunks +2 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/loader/HistoryController.h View 4 chunks +4 lines, -2 lines 0 comments Download
M Source/core/loader/HistoryController.cpp View 5 chunks +9 lines, -6 lines 0 comments Download
M Source/web/WebFrameImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 chunk +22 lines, -0 lines 0 comments Download
M public/web/WebFrame.h View 2 chunks +10 lines, -7 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
davidben
This is the second of a three-legged change. Sending them all out now to get ...
6 years, 11 months ago (2014-01-06 22:28:44 UTC) #1
davidben
This is the second of a three-legged change. Sending them all out now to get ...
6 years, 11 months ago (2014-01-06 22:28:44 UTC) #2
davidben
On 2014/01/06 22:28:44, David Benjamin wrote: > This is the second of a three-legged change. ...
6 years, 11 months ago (2014-01-06 22:30:08 UTC) #3
Nate Chapin
Source/ changes LGTM
6 years, 11 months ago (2014-01-06 22:33:02 UTC) #4
abarth-chromium
public/ changes LGTM https://codereview.chromium.org/123133006/diff/1/public/web/WebFrame.h File public/web/WebFrame.h (right): https://codereview.chromium.org/123133006/diff/1/public/web/WebFrame.h#newcode43 public/web/WebFrame.h:43: #include "public/platform/WebURLRequest.h" Unfortunately, this will cause ...
6 years, 11 months ago (2014-01-06 22:34:02 UTC) #5
davidben
https://codereview.chromium.org/123133006/diff/1/public/web/WebFrame.h File public/web/WebFrame.h (right): https://codereview.chromium.org/123133006/diff/1/public/web/WebFrame.h#newcode43 public/web/WebFrame.h:43: #include "public/platform/WebURLRequest.h" On 2014/01/06 22:34:02, abarth wrote: > Unfortunately, ...
6 years, 11 months ago (2014-01-06 22:42:49 UTC) #6
abarth-chromium
Awesome, thank you!
6 years, 11 months ago (2014-01-06 22:44:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/123133006/1
6 years, 11 months ago (2014-01-07 16:06:16 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-07 16:12:50 UTC) #9
Message was sent while issue was closed.
Change committed as 164592

Powered by Google App Engine
This is Rietveld 408576698