Index: content/child/service_worker/web_cross_origin_service_worker_client_impl.h |
diff --git a/content/child/service_worker/web_cross_origin_service_worker_client_impl.h b/content/child/service_worker/web_cross_origin_service_worker_client_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6e94f9c73e7d7ae34d9b8d9afe8bf314c4100352 |
--- /dev/null |
+++ b/content/child/service_worker/web_cross_origin_service_worker_client_impl.h |
@@ -0,0 +1,33 @@ |
+// 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 CONTENT_CHILD_SERVICE_WORKER_WEB_CROSS_ORIGIN_SERVICE_ORKER_CLIENT_IMPL_H_ |
+#define CONTENT_CHILD_SERVICE_WORKER_WEB_CROSS_ORIGIN_SERVICE_ORKER_CLIENT_IMPL_H_ |
+ |
+#include "third_party/WebKit/public/platform/WebCrossOriginServiceWorkerClient.h" |
+#include "url/gurl.h" |
+ |
+namespace content { |
+ |
+struct CrossOriginServiceWorkerClient; |
+ |
+class WebCrossOriginServiceWorkerClientImpl |
+ : public blink::WebCrossOriginServiceWorkerClient { |
+ public: |
+ WebCrossOriginServiceWorkerClientImpl( |
+ const CrossOriginServiceWorkerClient& client); |
+ virtual ~WebCrossOriginServiceWorkerClientImpl(); |
+ |
+ virtual blink::WebURL targetURL() const; |
+ |
+ int message_port_id() const { return message_port_id_; } |
+ |
+ private: |
+ GURL target_url_; |
+ int message_port_id_; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_CHILD_SERVICE_WORKER_WEB_CROSS_ORIGIN_SERVICE_ORKER_CLIENT_IMPL_H_ |