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

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 5193061352602c2feb4569e9232be06b3d000949..e61fc722d98424d9e23e3315dc3197503049b138 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
@@ -54,8 +54,14 @@ ServiceWorkerClients::ServiceWorkerClients()
{
}
+// Deprecated, please use matchAll instead
falken 2015/02/13 10:15:59 nit: add a period
zhuoyu.qian 2015/02/13 10:47:05 Done.
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)

Powered by Google App Engine
This is Rietveld 408576698