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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerClients.cpp

Issue 892053003: Rename ServiceWorkerClients.getAll to matchAll in M42 (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
Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
index e36e034d9d4cdaccbe6b6380a3431a79fc268248..35aaabbecf8e3c6177a317bc460d17bb7ce0c92a 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
@@ -52,8 +52,14 @@ ServiceWorkerClients::ServiceWorkerClients()
{
}
+// Deprecated, please use matchAll instead
ScriptPromise ServiceWorkerClients::getAll(ScriptState* scriptState, const ClientQueryOptions& options)
{
+ return matchAll(scriptState, options);
+}
+
+ScriptPromise ServiceWorkerClients::matchAll(ScriptState* scriptState, const ClientQueryOptions& options)
+{
ExecutionContext* executionContext = scriptState->executionContext();
// FIXME: May be null due to worker termination: http://crbug.com/413518.
if (!executionContext)
« Source/core/frame/UseCounter.cpp ('K') | « Source/modules/serviceworkers/ServiceWorkerClients.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698