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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 944583003: Deprecate Clients.getAll and introduce Clients.matchAll (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/frame/UseCounter.h ('k') | Source/modules/serviceworkers/Clients.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 90057450e6498f8373c85633f2249a792c341bb3..c7d01ec616a28ce69e55602bd32c1776ed2416f1 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -862,6 +862,9 @@ String UseCounter::deprecationMessage(Feature feature)
case ServiceWorkerClientPostMessage:
return "'Client.postMessage()' is an experimental API and may change. See https://github.com/slightlyoff/ServiceWorker/issues/609.";
+ case ServiceWorkerClientsGetAll:
+ return "'Clients.getAll()' is deprecated and will be removed soon. Please use 'Clients.matchAll()' instead.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/serviceworkers/Clients.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698