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

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

Issue 463423003: ServiceWorker: Rename Client interface to ServiceWorkerClient (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix GN build Created 6 years, 4 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/modules/serviceworkers/ServiceWorkerClients.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
index 149a71b2a5e73ca1516359d628237b440d8dfbb2..c528e527be0c033f8dde0b35dbcf1f48a8940e3d 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
@@ -7,7 +7,7 @@
#include "bindings/core/v8/CallbackPromiseAdapter.h"
#include "bindings/core/v8/ScriptPromiseResolver.h"
-#include "modules/serviceworkers/Client.h"
+#include "modules/serviceworkers/ServiceWorkerClient.h"
#include "modules/serviceworkers/ServiceWorkerError.h"
#include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
#include "public/platform/WebServiceWorkerClientsInfo.h"
@@ -21,12 +21,12 @@ namespace {
class ClientArray {
public:
typedef blink::WebServiceWorkerClientsInfo WebType;
- static WillBeHeapVector<RefPtrWillBeMember<Client> > take(ScriptPromiseResolver*, WebType* webClientsRaw)
+ static WillBeHeapVector<RefPtrWillBeMember<ServiceWorkerClient> > take(ScriptPromiseResolver*, WebType* webClientsRaw)
{
OwnPtr<WebType> webClients = adoptPtr(webClientsRaw);
- WillBeHeapVector<RefPtrWillBeMember<Client> > clients;
+ WillBeHeapVector<RefPtrWillBeMember<ServiceWorkerClient> > clients;
for (size_t i = 0; i < webClients->clientIDs.size(); ++i) {
- clients.append(Client::create(webClients->clientIDs[i]));
+ clients.append(ServiceWorkerClient::create(webClients->clientIDs[i]));
}
return clients;
}
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerClients.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698