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

Issue 2933193003: Headers for resource tracking. (Closed)

Created:
3 years, 6 months ago by Pete Williamson
Modified:
3 years, 6 months ago
CC:
chromium-reviews, loading-reviews_chromium.org, mmenke, rdsmith+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Headers for resource tracking. The BackgroundLoaderOffliner needs signals to do a better job of knowing when a page is loaded enough to take a snapshot. One such signal is to track the precentages of resources that have been requested that actually get loaded. This change adds the headers in the design documented below. Design doc here: https://docs.google.com/document/d/1dxGOMsUkmxfoNUfQKqZRi4qAhWVGh9DZDiFI1arkiJ0 BUG=699313 Review-Url: https://codereview.chromium.org/2933193003 Cr-Commit-Position: refs/heads/master@{#480210} Committed: https://chromium.googlesource.com/chromium/src/+/7c8537fbd2ed880fd61e765bcdcc1d57b864853d

Patch Set 1 #

Patch Set 2 : Headers for resource tracking #

Patch Set 3 : Update build file and ensure proper enabling of offline code. #

Total comments: 10

Patch Set 4 : CR fixes per Dimich #

Patch Set 5 : Continue rename #

Total comments: 14

Patch Set 6 : CR feedback from RyanSturm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -30 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/offline_pages/background_loader_offliner.h View 1 2 3 4 5 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/offline_pages/background_loader_offliner.cc View 1 2 3 4 6 chunks +13 lines, -28 lines 0 comments Download
A chrome/browser/offline_pages/offliner_user_data.h View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/offline_pages/offliner_user_data.cc View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/offline_pages/resource_loading_observer.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (25 generated)
Pete Williamson
3 years, 6 months ago (2017-06-13 21:36:47 UTC) #10
Dmitry Titov
Initial comments: https://codereview.chromium.org/2933193003/diff/40001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2933193003/diff/40001/chrome/browser/BUILD.gn#newcode812 chrome/browser/BUILD.gn:812: "offline_pages/offliner_user_data.cc", These should be under build flag ...
3 years, 6 months ago (2017-06-14 19:56:37 UTC) #11
Pete Williamson
CR fixes per Dimich https://codereview.chromium.org/2933193003/diff/40001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2933193003/diff/40001/chrome/browser/BUILD.gn#newcode812 chrome/browser/BUILD.gn:812: "offline_pages/offliner_user_data.cc", On 2017/06/14 19:56:37, Dmitry ...
3 years, 6 months ago (2017-06-15 01:03:27 UTC) #17
RyanSturm
bunch of nits, but lgtm on the whole. I'll let dimich review the rest. https://codereview.chromium.org/2933193003/diff/80001/chrome/browser/offline_pages/background_loader_offliner.h ...
3 years, 6 months ago (2017-06-16 17:04:45 UTC) #21
Pete Williamson
https://codereview.chromium.org/2933193003/diff/80001/chrome/browser/offline_pages/background_loader_offliner.h File chrome/browser/offline_pages/background_loader_offliner.h (right): https://codereview.chromium.org/2933193003/diff/80001/chrome/browser/offline_pages/background_loader_offliner.h#newcode69 chrome/browser/offline_pages/background_loader_offliner.h:69: // ResourceTrackerObserver implemenation On 2017/06/16 17:04:45, RyanSturm wrote: > ...
3 years, 6 months ago (2017-06-16 21:16:16 UTC) #22
Dmitry Titov
lgtm, thanks!
3 years, 6 months ago (2017-06-16 22:45:08 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2933193003/100001
3 years, 6 months ago (2017-06-16 22:58:10 UTC) #30
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 23:03:34 UTC) #33
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/7c8537fbd2ed880fd61e765bcdcc...

Powered by Google App Engine
This is Rietveld 408576698