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

Unified Diff: Source/core/fetch/FetchContext.h

Issue 1189523015: Add use-counters for Client-Hints features (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed to counting functions Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/fetch/ClientHintsPreferencesTest.cpp ('k') | Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/FetchContext.h
diff --git a/Source/core/fetch/FetchContext.h b/Source/core/fetch/FetchContext.h
index a5e31cd44fde712e2dc81b38daca178ac1e5bcab..00e6bbb2afa7e696e7d7d968c69601d89f7a0b93 100644
--- a/Source/core/fetch/FetchContext.h
+++ b/Source/core/fetch/FetchContext.h
@@ -63,6 +63,9 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { }
virtual bool isLiveContext() { return false; }
+ virtual void countClientHintsDPR() { }
+ virtual void countClientHintsResourceWidth() { }
+ virtual void countClientHintsViewportWidth() { }
virtual void addAdditionalRequestHeaders(ResourceRequest&, FetchResourceType);
virtual void setFirstPartyForCookies(ResourceRequest&);
« no previous file with comments | « Source/core/fetch/ClientHintsPreferencesTest.cpp ('k') | Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698