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

Unified Diff: third_party/WebKit/Source/core/loader/BaseFetchContext.h

Issue 2894063002: Expose UseCounter::Feature enum out of blink as WebFeature (Closed)
Patch Set: Initial check in Created 3 years, 7 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
Index: third_party/WebKit/Source/core/loader/BaseFetchContext.h
diff --git a/third_party/WebKit/Source/core/loader/BaseFetchContext.h b/third_party/WebKit/Source/core/loader/BaseFetchContext.h
index 925765f80464565c2fe7feb9d57f10274d82f43c..6d95a866101313a98e4f5dda67782760ce99828f 100644
--- a/third_party/WebKit/Source/core/loader/BaseFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/BaseFetchContext.h
@@ -72,8 +72,12 @@ class CORE_EXPORT BaseFetchContext : public FetchContext {
virtual void ReportLocalLoadFailed(const KURL&) const = 0;
virtual bool ShouldBypassMainWorldCSP() const = 0;
virtual bool IsSVGImageChromeClient() const = 0;
+ // TODO(lunalu): Deprecate UseCounter::Feature by WebFeature in
Rick Byers 2017/05/23 19:51:49 From a quick scan I think all the worker-related s
lunalu1 2017/05/24 20:56:33 Reverted.
+ // CountDeprecation() and CountUsage().
virtual void CountUsage(UseCounter::Feature) const = 0;
+ virtual void CountUsage(WebFeature) const = 0;
virtual void CountDeprecation(UseCounter::Feature) const = 0;
+ virtual void CountDeprecation(WebFeature) const = 0;
virtual bool ShouldBlockFetchByMixedContentCheck(
const ResourceRequest&,
const KURL&,

Powered by Google App Engine
This is Rietveld 408576698