| Index: Source/modules/serviceworkers/ServiceWorkerClient.h
|
| diff --git a/Source/modules/serviceworkers/Client.h b/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| similarity index 58%
|
| rename from Source/modules/serviceworkers/Client.h
|
| rename to Source/modules/serviceworkers/ServiceWorkerClient.h
|
| index 6c986241b48816874d6746b5fdbdd4af46850078..dfff18b1085b8e21303cc1fb76b809b4373c2520 100644
|
| --- a/Source/modules/serviceworkers/Client.h
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef Client_h
|
| -#define Client_h
|
| +#ifndef ServiceWorkerClient_h
|
| +#define ServiceWorkerClient_h
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "bindings/core/v8/SerializedScriptValue.h"
|
| @@ -12,23 +12,23 @@
|
|
|
| namespace blink {
|
|
|
| -class Client FINAL : public RefCountedWillBeGarbageCollected<Client>, public ScriptWrappable {
|
| - DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Client);
|
| +class ServiceWorkerClient FINAL : public RefCountedWillBeGarbageCollected<ServiceWorkerClient>, public ScriptWrappable {
|
| + DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ServiceWorkerClient);
|
| public:
|
| - static PassRefPtrWillBeRawPtr<Client> create(unsigned id);
|
| + static PassRefPtrWillBeRawPtr<ServiceWorkerClient> create(unsigned id);
|
|
|
| - // Client.idl
|
| + // ServiceWorkerClient.idl
|
| unsigned id() const { return m_id; }
|
| void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&);
|
|
|
| void trace(Visitor*) { }
|
|
|
| private:
|
| - explicit Client(unsigned id);
|
| + explicit ServiceWorkerClient(unsigned id);
|
|
|
| unsigned m_id;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // Client_h
|
| +#endif // ServiceWorkerClient_h
|
|
|