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

Unified Diff: public/platform/WebServiceWorkerClientsInfo.h

Issue 1262943002: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (1/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 2 Created 5 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 | « public/platform/WebServiceWorkerClientsClaimCallbacks.h ('k') | public/platform/WebServiceWorkerError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « public/platform/WebServiceWorkerClientsClaimCallbacks.h ('k') | public/platform/WebServiceWorkerError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698