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

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerReportingProxyImpl.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/web/WebSharedWorkerReportingProxyImpl.h
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerReportingProxyImpl.h b/third_party/WebKit/Source/web/WebSharedWorkerReportingProxyImpl.h
index c5cbb1690740f542ef5660fdc2424420f886be3d..dfb38f0079ea1429cd5b7af216d5eb40d11cf063 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerReportingProxyImpl.h
+++ b/third_party/WebKit/Source/web/WebSharedWorkerReportingProxyImpl.h
@@ -27,8 +27,15 @@ class WebSharedWorkerReportingProxyImpl final
~WebSharedWorkerReportingProxyImpl() override;
// WorkerReportingProxy methods:
+ // TODO(lunalu): Deprecate UseCounter::Feature by WebFeature.
void CountFeature(UseCounter::Feature) override;
+ void CountFeature(WebFeature feature) override {
+ return CountFeature(static_cast<UseCounter::Feature>(feature));
+ }
void CountDeprecation(UseCounter::Feature) override;
+ void CountDeprecation(WebFeature feature) override {
+ return CountDeprecation(static_cast<UseCounter::Feature>(feature));
+ }
void ReportException(const WTF::String&,
std::unique_ptr<SourceLocation>,
int exception_id) override;

Powered by Google App Engine
This is Rietveld 408576698