Index: public/platform/WebServiceWorkerClientsInfo.h |
diff --git a/public/platform/WebServiceWorkerClientsInfo.h b/public/platform/WebServiceWorkerClientsInfo.h |
index 53dfa93a766eb10676ee90eace6c59f9ca3c272b..7c7ec6a63a770b28252096f8a0302e4e5e725cf9 100644 |
--- a/public/platform/WebServiceWorkerClientsInfo.h |
+++ b/public/platform/WebServiceWorkerClientsInfo.h |
@@ -2,47 +2,4 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WebServiceWorkerClientsInfo_h |
-#define WebServiceWorkerClientsInfo_h |
- |
-#include "public/platform/WebCallbacks.h" |
-#include "public/platform/WebPageVisibilityState.h" |
-#include "public/platform/WebPassOwnPtr.h" |
-#include "public/platform/WebServiceWorkerClientType.h" |
-#include "public/platform/WebURL.h" |
-#include "public/platform/WebURLRequest.h" |
-#include "public/platform/WebVector.h" |
- |
-namespace blink { |
- |
-struct WebServiceWorkerError; |
- |
-struct WebServiceWorkerClientInfo { |
- WebServiceWorkerClientInfo() |
- : pageVisibilityState(WebPageVisibilityStateLast) |
- , isFocused(false) |
- , frameType(WebURLRequest::FrameTypeNone) |
- , clientType(WebServiceWorkerClientTypeWindow) |
- { |
- } |
- |
- WebString uuid; |
- |
- WebPageVisibilityState pageVisibilityState; |
- bool isFocused; |
- WebURL url; |
- WebURLRequest::FrameType frameType; |
- WebServiceWorkerClientType clientType; |
-}; |
- |
-struct WebServiceWorkerClientsInfo { |
- WebVector<WebServiceWorkerClientInfo> clients; |
-}; |
- |
-// Two WebCallbacks, one for one client, one for a WebVector of clients. |
-using WebServiceWorkerClientCallbacks = WebCallbacks<WebPassOwnPtr<WebServiceWorkerClientInfo>, const WebServiceWorkerError&>; |
-using WebServiceWorkerClientsCallbacks = WebCallbacks<const WebServiceWorkerClientsInfo&, const WebServiceWorkerError&>; |
- |
-} // namespace blink |
- |
-#endif // WebServiceWorkerClientsInfo_h |
+#include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h" |