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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerClient.h

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/Client.idl ('k') | Source/modules/serviceworkers/ServiceWorkerClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/modules/serviceworkers/Client.idl ('k') | Source/modules/serviceworkers/ServiceWorkerClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698