Index: Source/modules/push_messaging/PushRegistration.h |
diff --git a/Source/modules/push_messaging/PushRegistration.h b/Source/modules/push_messaging/PushRegistration.h |
deleted file mode 100644 |
index 48551c188ac8ee2bfe181b15480e956dc444ea64..0000000000000000000000000000000000000000 |
--- a/Source/modules/push_messaging/PushRegistration.h |
+++ /dev/null |
@@ -1,44 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef PushRegistration_h |
-#define PushRegistration_h |
- |
-#include "bindings/core/v8/ScriptPromise.h" |
-#include "bindings/core/v8/ScriptWrappable.h" |
-#include "platform/heap/Handle.h" |
-#include "wtf/text/WTFString.h" |
- |
-namespace blink { |
- |
-class ServiceWorkerRegistration; |
-class ScriptPromiseResolver; |
-class ScriptState; |
-struct WebPushRegistration; |
- |
-class PushRegistration final : public GarbageCollectedFinalized<PushRegistration>, public ScriptWrappable { |
- DEFINE_WRAPPERTYPEINFO(); |
-public: |
- static PushRegistration* take(ScriptPromiseResolver*, WebPushRegistration*, ServiceWorkerRegistration*); |
- static void dispose(WebPushRegistration* registrationRaw); |
- |
- virtual ~PushRegistration(); |
- |
- const String& endpoint() const { return m_endpoint; } |
- const String& registrationId() const { return m_registrationId; } |
- ScriptPromise unregister(ScriptState*); |
- |
- void trace(Visitor*); |
- |
-private: |
- PushRegistration(const String& endpoint, const String& registrationId, ServiceWorkerRegistration*); |
- |
- String m_endpoint; |
- String m_registrationId; |
- Member<ServiceWorkerRegistration> m_serviceWorkerRegistration; |
-}; |
- |
-} // namespace blink |
- |
-#endif // PushRegistration_h |