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

Issue 7461106: Inform disk cache of WebKit memory cache hits. (Closed)

Created:
9 years, 5 months ago by James Simonsen
Modified:
9 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, brettw-cc_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Inform disk cache of WebKit memory cache hits. BUG=37112 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95145

Patch Set 1 #

Total comments: 8

Patch Set 2 : Implement in backend #

Total comments: 4

Patch Set 3 : Move to content #

Patch Set 4 : Remove rank from test #

Total comments: 3

Patch Set 5 : Add resource_type.cc #

Patch Set 6 : Check for http urls #

Patch Set 7 : Move http check #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -47 lines) Patch
M content/browser/renderer_host/resource_dispatcher_host.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host.cc View 1 2 3 4 5 6 3 chunks +22 lines, -0 lines 1 comment Download
M content/browser/tab_contents/tab_contents.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/render_view.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M net/disk_cache/backend_impl.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M net/disk_cache/backend_impl.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M net/disk_cache/backend_unittest.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download
M net/disk_cache/disk_cache.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/disk_cache/in_flight_backend_io.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M net/disk_cache/in_flight_backend_io.cc View 1 3 chunks +15 lines, -0 lines 0 comments Download
M net/disk_cache/mem_backend_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/disk_cache/mem_backend_impl.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M net/http/http_cache.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M net/http/http_cache.cc View 1 6 1 chunk +12 lines, -0 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M webkit/glue/resource_type.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A webkit/glue/resource_type.cc View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/weburlloader_impl.cc View 1 2 2 chunks +2 lines, -37 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
James Simonsen
9 years, 5 months ago (2011-07-27 03:09:49 UTC) #1
darin (slow to review)
On Wed, Jul 27, 2011 at 3:48 PM, Darin Fisher <darin@chromium.org> wrote: > On Tue, ...
9 years, 5 months ago (2011-07-27 22:55:01 UTC) #2
darin (slow to review)
On Tue, Jul 26, 2011 at 8:09 PM, <simonjam@chromium.org> wrote: > Reviewers: rvargas, darin, > ...
9 years, 5 months ago (2011-07-27 22:55:51 UTC) #3
James Simonsen
On Wed, Jul 27, 2011 at 3:48 PM, Darin Fisher <darin@chromium.org> wrote: > On Tue, ...
9 years, 5 months ago (2011-07-27 23:14:02 UTC) #4
rvargas (doing something else)
Thanks for working on this! http://codereview.chromium.org/7461106/diff/1/chrome/browser/renderer_host/chrome_render_message_filter.cc File chrome/browser/renderer_host/chrome_render_message_filter.cc (right): http://codereview.chromium.org/7461106/diff/1/chrome/browser/renderer_host/chrome_render_message_filter.cc#newcode542 chrome/browser/renderer_host/chrome_render_message_filter.cc:542: request_context_->GetURLRequestContext()->http_transaction_factory()-> I'm not sure, ...
9 years, 5 months ago (2011-07-27 23:26:17 UTC) #5
James Simonsen
Thanks for all the feedback! Returning false from the message handler did indeed work. Also, ...
9 years, 5 months ago (2011-07-28 01:25:19 UTC) #6
rvargas (doing something else)
What I meant by the ChromeRenderMessageFilter is that src\content is meant to have things that ...
9 years, 4 months ago (2011-07-28 22:27:01 UTC) #7
James Simonsen
Thanks for explaining everything. I think I've addressed everything you mentioned.
9 years, 4 months ago (2011-07-30 01:22:55 UTC) #8
darin (slow to review)
LGTM for content/ and webkit/ http://codereview.chromium.org/7461106/diff/1/content/common/view_messages.h File content/common/view_messages.h (right): http://codereview.chromium.org/7461106/diff/1/content/common/view_messages.h#newcode1418 content/common/view_messages.h:1418: IPC_MESSAGE_CONTROL2(ViewHostMsg_DidAccessResourceInMemoryCache, it slightly bugs ...
9 years, 4 months ago (2011-07-30 05:09:32 UTC) #9
darin (slow to review)
On 2011/07/30 05:09:32, darin wrote: > it slightly bugs me that we have DidLoadResourceFromMemoryCache and ...
9 years, 4 months ago (2011-07-30 05:10:49 UTC) #10
darin (slow to review)
On 2011/07/30 05:09:32, darin wrote: > it slightly bugs me that we have DidLoadResourceFromMemoryCache and ...
9 years, 4 months ago (2011-07-30 05:10:50 UTC) #11
rvargas (doing something else)
LGTM, Thanks!
9 years, 4 months ago (2011-08-01 18:18:06 UTC) #12
James Simonsen
http://codereview.chromium.org/7461106/diff/17001/content/browser/renderer_host/resource_dispatcher_host.cc File content/browser/renderer_host/resource_dispatcher_host.cc (right): http://codereview.chromium.org/7461106/diff/17001/content/browser/renderer_host/resource_dispatcher_host.cc#newcode348 content/browser/renderer_host/resource_dispatcher_host.cc:348: if (message.type() == ViewHostMsg_DidLoadResourceFromMemoryCache::ID) { On 2011/07/30 05:09:32, darin ...
9 years, 4 months ago (2011-08-02 00:14:27 UTC) #13
darin (slow to review)
On Mon, Aug 1, 2011 at 5:14 PM, <simonjam@chromium.org> wrote: > > http://codereview.chromium.**org/7461106/diff/17001/** > content/browser/renderer_host/**resource_dispatcher_host.cc<http://codereview.chromium.org/7461106/diff/17001/content/browser/renderer_host/resource_dispatcher_host.cc> ...
9 years, 4 months ago (2011-08-02 03:49:22 UTC) #14
James Simonsen
On 2011/08/02 03:49:22, darin wrote: > Do we have any histograms that can help us ...
9 years, 4 months ago (2011-08-02 17:55:46 UTC) #15
darin (slow to review)
On Tue, Aug 2, 2011 at 10:55 AM, <simonjam@chromium.org> wrote: > On 2011/08/02 03:49:22, darin ...
9 years, 4 months ago (2011-08-02 17:58:04 UTC) #16
darin (slow to review)
On Tue, Aug 2, 2011 at 10:57 AM, Darin Fisher <darin@chromium.org> wrote: > On Tue, ...
9 years, 4 months ago (2011-08-02 17:58:43 UTC) #17
rvargas (doing something else)
On 2011/08/02 03:49:22, darin wrote: > Do we have any histograms that can help us ...
9 years, 4 months ago (2011-08-02 18:01:51 UTC) #18
James Simonsen
On 2011/08/02 17:58:04, darin wrote: > Should we roll this CL out as an A/B ...
9 years, 4 months ago (2011-08-02 18:02:57 UTC) #19
darin (slow to review)
Agreed. -Darin On Tue, Aug 2, 2011 at 11:02 AM, <simonjam@chromium.org> wrote: > On 2011/08/02 ...
9 years, 4 months ago (2011-08-02 18:17:12 UTC) #20
commit-bot: I haz the power
9 years, 4 months ago (2011-08-02 20:13:32 UTC) #21
Change committed as 95145

Powered by Google App Engine
This is Rietveld 408576698