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

Issue 1189523015: Add use-counters for Client-Hints features (Closed)

Created:
5 years, 6 months ago by Yoav Weiss
Modified:
5 years, 6 months ago
Reviewers:
Nate Chapin, Mike West
CC:
blink-reviews, tyoshino+watch_chromium.org, blink-reviews-html_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, Nate Chapin, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add use-counters for Client-Hints features In order to be aware of usage, this CL adds use-counters for the various Client-Hints features. Due to ClientHintsPreferences living in fetch/ (Owned by FetchRequest) and the will to avoid creating dependencies between fetch/ and the rest of core/, counted features are re-defined in FetchContext and counting is done through loader/FrameFetchContext. BUG=458983 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197208

Patch Set 1 #

Patch Set 2 : style #

Total comments: 2

Patch Set 3 : Changed to counting functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -11 lines) Patch
M Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ClientHintsPreferences.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/fetch/ClientHintsPreferences.cpp View 1 2 1 chunk +14 lines, -4 lines 0 comments Download
M Source/core/fetch/ClientHintsPreferencesTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/FetchContext.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/html/parser/HTMLPreloadScanner.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameFetchContext.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/loader/FrameFetchContext.cpp View 1 2 2 chunks +21 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Yoav Weiss
5 years, 6 months ago (2015-06-16 12:47:43 UTC) #2
Mike West
I'm not sure whether this indirection is the right way to do things, or whether ...
5 years, 6 months ago (2015-06-16 12:52:27 UTC) #3
Nate Chapin
I think moving ClientHintsPreferences to core/loader/ is preferable to me, but I'm not absolutely opposed ...
5 years, 6 months ago (2015-06-16 17:10:28 UTC) #4
Yoav Weiss
On 2015/06/16 17:10:28, Nate Chapin wrote: > I think moving ClientHintsPreferences to core/loader/ is preferable ...
5 years, 6 months ago (2015-06-16 18:01:44 UTC) #5
Nate Chapin
lgtm
5 years, 6 months ago (2015-06-16 18:04:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1189523015/40001
5 years, 6 months ago (2015-06-16 20:02:59 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-16 23:55:08 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197208

Powered by Google App Engine
This is Rietveld 408576698