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

Issue 1041993004: content::ResourceDispatcherHostImpl changes for stale-while-revalidate (Closed)

Created:
5 years, 8 months ago by Adam Rice
Modified:
3 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Randy Smith (Not in Mondays), loading-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@s-w-r-yhirano-patch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content::ResourceDispatcherHostImpl changes for stale-while-revalidate Inform //net that we support async revalidation using the net::LOAD_SUPPORT_ASYNC_REVALIDATION flag. Issue async revalidations when response info had the async_revalidation_required flag. See design doc at https://docs.google.com/a/chromium.org/document/d/1nBhr25nSJgoyAh4S1-U5h2sH70Iz4RR0NAfXNL79G5Y/edit BUG=348877 TEST=content_unittests Committed: https://crrev.com/96e3ce421fbe8b8133bf9852b7d7cf16e8521026 Cr-Commit-Position: refs/heads/master@{#364253}

Patch Set 1 #

Patch Set 2 : Add BeginAsyncRevalidation() #

Patch Set 3 : Add NullResourceHandler and use it for async revalidations. #

Patch Set 4 : Remove ability for the renderer to launch an async revalidation. #

Patch Set 5 : Rebase. #

Patch Set 6 : Formatting fixups. #

Patch Set 7 : Make it compile. #

Patch Set 8 : Revert change to chrome_browser_field_trials.cc. #

Patch Set 9 : Actually trigger the async revalidation when needed. #

Patch Set 10 : First working version. #

Patch Set 11 : Add tests and make NullResourceHandler call ResourceDispatcherHostDelegate callbacks. #

Patch Set 12 : Suppress duplicate async revalidations to the same URL. #

Total comments: 16

Patch Set 13 : Cleanups from tyoshino review. #

Total comments: 8

Patch Set 14 : Readability improvements suggested by tyoshino #

Total comments: 4

Patch Set 15 : Factor out refactoring of ResourceDispatcherHostImpl::DidReceiveResponse #

Patch Set 16 : Comment why ResourceHostMsg_Request can be safely copied #

Total comments: 14

Patch Set 17 : Block SSL client cert selection and error recovery. #

Patch Set 18 : Rebase. #

Patch Set 19 : Remove dependency of ResourceScheduler on ResourceRequestInfo. #

Patch Set 20 : WIP: Tests fail. #

Patch Set 21 : Revert unneeded changes. #

Patch Set 22 : Split ResourceScheduler changes into crrev.com/1257113002 #

Patch Set 23 : Fix tiny regression. #

Patch Set 24 : Rebase against parent CL. #

Patch Set 25 : The tests work again. #

Patch Set 26 : Rebase on latest ResourceScheduler changes; remove AsyncRevalidationDriver::Delegate. #

Patch Set 27 : Rebase. #

Patch Set 28 : Disable async revalidations for requests with redirects. #

Patch Set 29 : Minor fixes. #

Patch Set 30 : Rebase. #

Patch Set 31 : Workaround iwyu bug in prerender_resource #

Total comments: 70

Patch Set 32 : Changes from davidben and mmenke reviews. #

Patch Set 33 : Don't read from cache on 304. Add test for that case. Fix test failures. #

Patch Set 34 : Copy only headers from the original IPC. Move most code to AsyncRevalidationManager. #

Patch Set 35 : Remove unnecessary deferral logic from AsyncRevalidationDriver #

Total comments: 112

Patch Set 36 : Changes from bnc review. #

Patch Set 37 : clang-format fixes. #

Patch Set 38 : Remove unnecessary copied comment. #

Total comments: 31

Patch Set 39 : Rebase. #

Patch Set 40 : Fixes from kinuko review. #

Patch Set 41 : Functional change: An initial redirect leg is now async revalidated. s-w-r is still ignored after t… #

Total comments: 78

Patch Set 42 : Fixes from davidben review. #

Total comments: 8

Patch Set 43 : URLRequest to be copied is passed const ref. Vary is not a problem. Comment fixes by kinuko. #

Patch Set 44 : Rebase. #

Total comments: 26

Patch Set 45 : Add actions AsyncRevalidationResponseTimeout and AsyncRevalidationReadTimeout to actions.xml. Remov… #

Patch Set 46 : Fixes from kinuko review. #

Patch Set 47 : Rebase and remove workaround for URLRequest cancel bug. #

Total comments: 10

Patch Set 48 : AsyncRevalidationDriver test reorganisation. Comment nits. #

Total comments: 31

Patch Set 49 : Remove Driver::CancelRequest(). Simplify tests. #

Total comments: 2

Patch Set 50 : Remove redundant test AsyncRevalidationManagerRecordingTest.InitialRedirectLegRevalidated #

Patch Set 51 : Rebase. URLRequestJob is no longer ref-counted. #

Total comments: 2

Patch Set 52 : Use histograms instead of user actions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1791 lines, -12 lines) Patch
A content/browser/loader/async_revalidation_driver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +104 lines, -0 lines 0 comments Download
A content/browser/loader/async_revalidation_driver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +274 lines, -0 lines 0 comments Download
A content/browser/loader/async_revalidation_driver_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +397 lines, -0 lines 0 comments Download
A content/browser/loader/async_revalidation_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +107 lines, -0 lines 0 comments Download
A content/browser/loader/async_revalidation_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +190 lines, -0 lines 0 comments Download
A content/browser/loader/async_revalidation_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +554 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 3 chunks +9 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 11 chunks +80 lines, -4 lines 0 comments Download
M content/browser/loader/resource_request_info_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 3 chunks +4 lines, -1 line 0 comments Download
M content/browser/loader/resource_request_info_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 3 chunks +6 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/resource_throttle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 31 2 chunks +3 lines, -4 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 71 (11 generated)
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1041993004/diff/220001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/220001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1493 content/browser/loader/resource_dispatcher_host_impl.cc:1493: scoped_ptr<ResourceHandler> ResourceDispatcherHostImpl::AddStandardHandlers( now this should be called e.g. AddThrottlingResourceHandler? ...
5 years, 6 months ago (2015-06-12 08:20:44 UTC) #2
Adam Rice
https://codereview.chromium.org/1041993004/diff/220001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/220001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1493 content/browser/loader/resource_dispatcher_host_impl.cc:1493: scoped_ptr<ResourceHandler> ResourceDispatcherHostImpl::AddStandardHandlers( On 2015/06/12 08:20:44, tyoshino wrote: > now ...
5 years, 6 months ago (2015-06-12 14:20:09 UTC) #3
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1041993004/diff/240001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/240001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode440 content/browser/loader/resource_dispatcher_host_impl.cc:440: std::pair<net::HttpCache*, std::string> AsyncRevalidationKey( how about GetAsyncRevalidationKeyFor? or Create...? https://codereview.chromium.org/1041993004/diff/240001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1318 ...
5 years, 6 months ago (2015-06-15 09:30:39 UTC) #4
Adam Rice
https://codereview.chromium.org/1041993004/diff/240001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/240001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode440 content/browser/loader/resource_dispatcher_host_impl.cc:440: std::pair<net::HttpCache*, std::string> AsyncRevalidationKey( On 2015/06/15 09:30:39, tyoshino wrote: > ...
5 years, 6 months ago (2015-06-15 11:36:20 UTC) #5
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1041993004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode860 content/browser/loader/resource_dispatcher_host_impl.cc:860: request->url().SchemeIs(url::kHttpScheme)) { you can split this refactoring into a ...
5 years, 6 months ago (2015-06-16 13:04:42 UTC) #6
Adam Rice
https://codereview.chromium.org/1041993004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode860 content/browser/loader/resource_dispatcher_host_impl.cc:860: request->url().SchemeIs(url::kHttpScheme)) { On 2015/06/16 13:04:42, tyoshino wrote: > you ...
5 years, 6 months ago (2015-06-17 10:05:15 UTC) #8
davidben
I think this is not lgtm until the design issues raised on net-dev have been ...
5 years, 6 months ago (2015-06-19 15:35:15 UTC) #10
davidben
https://codereview.chromium.org/1041993004/diff/320001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/320001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode2483 content/browser/loader/resource_dispatcher_host_impl.cc:2483: int route_id = info->GetRouteID(); On 2015/06/19 15:35:14, David Benjamin ...
5 years, 6 months ago (2015-06-19 15:38:53 UTC) #11
Adam Rice
https://codereview.chromium.org/1041993004/diff/320001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/320001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode436 content/browser/loader/resource_dispatcher_host_impl.cc:436: return false; On 2015/06/19 15:35:14, David Benjamin wrote: > ...
5 years, 6 months ago (2015-06-22 18:05:31 UTC) #12
Adam Rice
davidben@, PTAL.
5 years, 4 months ago (2015-08-18 18:07:12 UTC) #13
davidben
Did a first pass over it. Sorry about the delay. Though see the thread I ...
5 years, 2 months ago (2015-10-08 21:57:52 UTC) #15
mmenke
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1296 content/browser/loader/resource_dispatcher_host_impl.cc:1296: QualifiesForAsyncRevalidation(request_data)); We shouldn't do async revalidations when "predictive network ...
5 years, 2 months ago (2015-10-08 21:58:26 UTC) #16
mmenke
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode446 content/browser/loader/resource_dispatcher_host_impl.cc:446: net::LOAD_ONLY_FROM_CACHE)) { LOAD_IGNORE_LIMITS is also kinda weird. You either ...
5 years, 2 months ago (2015-10-09 16:02:22 UTC) #17
mmenke
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode900 content/browser/loader/resource_dispatcher_host_impl.cc:900: BeginAsyncRevalidation(request); On 2015/10/09 16:02:22, mmenke wrote: > We shouldn't ...
5 years, 2 months ago (2015-10-09 16:29:57 UTC) #18
Adam Rice
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/async_revalidation_driver.cc#newcode112 content/browser/loader/async_revalidation_driver.cc:112: request_->CancelAuth(); On 2015/10/08 21:57:51, David Benjamin wrote: > This ...
5 years, 2 months ago (2015-10-13 22:53:18 UTC) #19
mmenke
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1296 content/browser/loader/resource_dispatcher_host_impl.cc:1296: QualifiesForAsyncRevalidation(request_data)); On 2015/10/13 22:53:17, Adam Rice wrote: > On ...
5 years, 2 months ago (2015-10-13 23:01:53 UTC) #20
mmenke
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1296 content/browser/loader/resource_dispatcher_host_impl.cc:1296: QualifiesForAsyncRevalidation(request_data)); On 2015/10/13 23:01:53, mmenke wrote: > On 2015/10/13 ...
5 years, 2 months ago (2015-10-14 00:16:49 UTC) #21
Adam Rice
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1296 content/browser/loader/resource_dispatcher_host_impl.cc:1296: QualifiesForAsyncRevalidation(request_data)); On 2015/10/13 23:01:53, mmenke wrote: > On 2015/10/13 ...
5 years, 2 months ago (2015-10-14 15:03:45 UTC) #22
davidben
On 2015/10/14 15:03:45, Adam Rice wrote: > https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc > File content/browser/loader/resource_dispatcher_host_impl.cc (right): > > https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1296 ...
5 years, 2 months ago (2015-10-14 21:28:46 UTC) #23
davidben
Matt and I chatted about the higher-level technical problems more after the meeting (I'd wanted ...
5 years, 2 months ago (2015-10-16 00:02:16 UTC) #24
Adam Rice
On 16 October 2015 at 09:02, <davidben@chromium.org> wrote: > - Despite having the word "scheduler" ...
5 years, 2 months ago (2015-10-16 02:07:35 UTC) #25
Adam Rice
On 2015/10/16 00:02:16, David Benjamin wrote: > - Grabbing a copy of the IPC parameters ...
5 years, 2 months ago (2015-10-16 02:13:15 UTC) #26
Adam Rice
https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/610001/content/browser/loader/async_revalidation_driver.cc#newcode235 content/browser/loader/async_revalidation_driver.cc:235: return; On 2015/10/13 22:53:16, Adam Rice wrote: > On ...
5 years, 1 month ago (2015-10-22 18:16:12 UTC) #27
Adam Rice
davidben: Please review everything except async_revalidation_manager_unittest.cc. I want to take another look at that, because ...
5 years, 1 month ago (2015-10-29 23:10:04 UTC) #28
davidben
+bnc to do an initial pass here.
5 years, 1 month ago (2015-11-06 18:18:50 UTC) #30
Bence
On 2015/11/06 18:18:50, davidben wrote: > +bnc to do an initial pass here. I'm very ...
5 years, 1 month ago (2015-11-11 02:11:08 UTC) #31
Adam Rice
bnc: Do you mind if I rebase? The base revision of this CL is now ...
5 years, 1 month ago (2015-11-11 19:07:21 UTC) #32
Bence
Adam: sorry for the delay. Very nice CL, I especially enjoyed thoughtfully written comments that ...
5 years, 1 month ago (2015-11-17 13:12:23 UTC) #33
Bence
On 2015/11/11 19:07:21, Adam Rice wrote: > bnc: Do you mind if I rebase? The ...
5 years, 1 month ago (2015-11-17 13:14:48 UTC) #34
Adam Rice
Thank you for the thorough review. https://codereview.chromium.org/1041993004/diff/690001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/690001/content/browser/loader/async_revalidation_driver.cc#newcode7 content/browser/loader/async_revalidation_driver.cc:7: #include "base/location.h" On ...
5 years, 1 month ago (2015-11-17 17:45:53 UTC) #35
Bence
Excellent. This CL looks swell to me, but I am not competent in design questions, ...
5 years, 1 month ago (2015-11-17 21:34:28 UTC) #36
kinuko
Haven't looked all files yet, but let me send early comments https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): ...
5 years, 1 month ago (2015-11-19 07:00:29 UTC) #38
kinuko
https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_manager.h File content/browser/loader/async_revalidation_manager.h (right): https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_manager.h#newcode28 content/browser/loader/async_revalidation_manager.h:28: // process. It also implements the creation of a ...
5 years, 1 month ago (2015-11-19 08:01:32 UTC) #39
kinuko
Haven't taken a closer look in the tests but this is looking good to me. ...
5 years, 1 month ago (2015-11-19 08:38:34 UTC) #40
Adam Rice
https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc#newcode7 content/browser/loader/async_revalidation_driver.cc:7: #include "base/location.h" // For FROM_HERE On 2015/11/19 07:00:28, kinuko ...
5 years, 1 month ago (2015-11-19 21:13:52 UTC) #41
Bence
https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc#newcode7 content/browser/loader/async_revalidation_driver.cc:7: #include "base/location.h" // For FROM_HERE On 2015/11/19 21:13:52, Adam ...
5 years, 1 month ago (2015-11-20 13:18:35 UTC) #42
Adam Rice
https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc#newcode7 content/browser/loader/async_revalidation_driver.cc:7: #include "base/location.h" // For FROM_HERE On 2015/11/20 13:18:35, Bence ...
5 years, 1 month ago (2015-11-20 13:23:52 UTC) #43
kinuko
On 2015/11/20 13:23:52, Adam Rice wrote: > https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc > File content/browser/loader/async_revalidation_driver.cc (right): > > https://codereview.chromium.org/1041993004/diff/750001/content/browser/loader/async_revalidation_driver.cc#newcode7 ...
5 years, 1 month ago (2015-11-20 13:28:20 UTC) #44
Adam Rice
davidben, could you review the RDH changes?
5 years, 1 month ago (2015-11-20 15:47:19 UTC) #45
davidben
Thanks! This is much better. https://codereview.chromium.org/1041993004/diff/810001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/810001/content/browser/loader/async_revalidation_driver.cc#newcode12 content/browser/loader/async_revalidation_driver.cc:12: #include "base/single_thread_task_runner.h" Unused? https://codereview.chromium.org/1041993004/diff/810001/content/browser/loader/async_revalidation_driver.cc#newcode17 ...
5 years ago (2015-11-23 23:40:43 UTC) #46
Adam Rice
https://codereview.chromium.org/1041993004/diff/810001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/810001/content/browser/loader/async_revalidation_driver.cc#newcode12 content/browser/loader/async_revalidation_driver.cc:12: #include "base/single_thread_task_runner.h" On 2015/11/23 23:40:41, davidben (slow) wrote: > ...
5 years ago (2015-11-25 19:39:40 UTC) #47
kinuko
(Did lightweight review only) https://codereview.chromium.org/1041993004/diff/830001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/830001/content/browser/loader/async_revalidation_driver.cc#newcode41 content/browser/loader/async_revalidation_driver.cc:41: // destroyed. nit: this comment ...
5 years ago (2015-11-27 08:50:02 UTC) #48
Adam Rice
Thank you for the extra review. https://codereview.chromium.org/1041993004/diff/830001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/830001/content/browser/loader/async_revalidation_driver.cc#newcode41 content/browser/loader/async_revalidation_driver.cc:41: // destroyed. On ...
5 years ago (2015-11-27 14:45:14 UTC) #49
kinuko
Some more review. https://codereview.chromium.org/1041993004/diff/870001/content/browser/loader/async_revalidation_driver_unittest.cc File content/browser/loader/async_revalidation_driver_unittest.cc (right): https://codereview.chromium.org/1041993004/diff/870001/content/browser/loader/async_revalidation_driver_unittest.cc#newcode237 content/browser/loader/async_revalidation_driver_unittest.cc:237: scoped_ptr<ClientCertificateDelegate> delegate) override { This seems ...
5 years ago (2015-12-03 07:51:41 UTC) #50
kinuko
btw when your patch has compile errors reviewers tend to just defer reviewing, would be ...
5 years ago (2015-12-03 07:52:47 UTC) #51
Adam Rice
https://codereview.chromium.org/1041993004/diff/870001/content/browser/loader/async_revalidation_driver_unittest.cc File content/browser/loader/async_revalidation_driver_unittest.cc (right): https://codereview.chromium.org/1041993004/diff/870001/content/browser/loader/async_revalidation_driver_unittest.cc#newcode237 content/browser/loader/async_revalidation_driver_unittest.cc:237: scoped_ptr<ClientCertificateDelegate> delegate) override { On 2015/12/03 07:51:41, kinuko wrote: ...
5 years ago (2015-12-03 14:20:44 UTC) #52
Adam Rice
On 2015/12/03 07:52:47, kinuko wrote: > btw when your patch has compile errors reviewers tend ...
5 years ago (2015-12-03 14:22:14 UTC) #53
kinuko
Ok let me give lgtm for this one. You'd probably want to explicitly ask davidben ...
5 years ago (2015-12-05 07:21:38 UTC) #54
Adam Rice
https://codereview.chromium.org/1041993004/diff/930001/content/browser/loader/async_revalidation_driver_unittest.cc File content/browser/loader/async_revalidation_driver_unittest.cc (right): https://codereview.chromium.org/1041993004/diff/930001/content/browser/loader/async_revalidation_driver_unittest.cc#newcode299 content/browser/loader/async_revalidation_driver_unittest.cc:299: TEST_F(AsyncRevalidationDriverTest, ResumeCancelledRequest) { On 2015/12/05 07:21:37, kinuko wrote: > ...
5 years ago (2015-12-07 16:29:23 UTC) #55
davidben
Sorry, I really should have gotten to this last week. This should be the last ...
5 years ago (2015-12-07 23:56:04 UTC) #56
Adam Rice
https://codereview.chromium.org/1041993004/diff/950001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/950001/content/browser/loader/async_revalidation_driver.cc#newcode201 content/browser/loader/async_revalidation_driver.cc:201: base::ThreadTaskRunnerHandle::Get(); On 2015/12/07 23:56:03, davidben (behind on reviews) wrote: ...
5 years ago (2015-12-08 18:05:36 UTC) #57
davidben
lgtm https://codereview.chromium.org/1041993004/diff/970001/content/browser/loader/async_revalidation_manager_unittest.cc File content/browser/loader/async_revalidation_manager_unittest.cc (right): https://codereview.chromium.org/1041993004/diff/970001/content/browser/loader/async_revalidation_manager_unittest.cc#newcode561 content/browser/loader/async_revalidation_manager_unittest.cc:561: TEST_F(AsyncRevalidationManagerRecordingTest, NoSWRAfterFirstRedirectLeg) { It looks like this test ...
5 years ago (2015-12-08 21:35:48 UTC) #58
Adam Rice
https://codereview.chromium.org/1041993004/diff/970001/content/browser/loader/async_revalidation_manager_unittest.cc File content/browser/loader/async_revalidation_manager_unittest.cc (right): https://codereview.chromium.org/1041993004/diff/970001/content/browser/loader/async_revalidation_manager_unittest.cc#newcode561 content/browser/loader/async_revalidation_manager_unittest.cc:561: TEST_F(AsyncRevalidationManagerRecordingTest, NoSWRAfterFirstRedirectLeg) { On 2015/12/08 21:35:48, davidben (behind on ...
5 years ago (2015-12-09 06:44:43 UTC) #59
Adam Rice
+asvitkine for actions.xml. All actions are recorded in content/browser/loader/async_revalidation_driver.cc.
5 years ago (2015-12-09 06:45:26 UTC) #61
Alexei Svitkine (slow)
https://codereview.chromium.org/1041993004/diff/1010001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/1010001/content/browser/loader/async_revalidation_driver.cc#newcode261 content/browser/loader/async_revalidation_driver.cc:261: RecordAction(base::UserMetricsAction("AsyncRevalidationReadTimeout")); Given these are not user actions in the ...
5 years ago (2015-12-09 18:07:05 UTC) #62
Adam Rice
https://codereview.chromium.org/1041993004/diff/1010001/content/browser/loader/async_revalidation_driver.cc File content/browser/loader/async_revalidation_driver.cc (right): https://codereview.chromium.org/1041993004/diff/1010001/content/browser/loader/async_revalidation_driver.cc#newcode261 content/browser/loader/async_revalidation_driver.cc:261: RecordAction(base::UserMetricsAction("AsyncRevalidationReadTimeout")); On 2015/12/09 18:07:04, Alexei Svitkine (slow) wrote: > ...
5 years ago (2015-12-09 20:30:21 UTC) #63
Alexei Svitkine (slow)
lgtm
5 years ago (2015-12-09 21:21:06 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1041993004/1030001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1041993004/1030001
5 years ago (2015-12-10 00:37:23 UTC) #67
commit-bot: I haz the power
Committed patchset #52 (id:1030001)
5 years ago (2015-12-10 02:13:40 UTC) #69
commit-bot: I haz the power
5 years ago (2015-12-10 02:15:08 UTC) #71
Message was sent while issue was closed.
Patchset 52 (id:??) landed as
https://crrev.com/96e3ce421fbe8b8133bf9852b7d7cf16e8521026
Cr-Commit-Position: refs/heads/master@{#364253}

Powered by Google App Engine
This is Rietveld 408576698