Index: content/browser/worker_host/shared_worker_instance.h |
diff --git a/content/browser/worker_host/shared_worker_instance.h b/content/browser/worker_host/shared_worker_instance.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61a5ff1c0d1207371c41f1f6f7be39c0f5151c2f |
--- /dev/null |
+++ b/content/browser/worker_host/shared_worker_instance.h |
@@ -0,0 +1,38 @@ |
+// 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_BROWSER_WORKER_HOST_SHARED_WORKER_INSTANCE_H_ |
+#define CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_INSTANCE_H_ |
+ |
+#include <string> |
+ |
+#include "base/basictypes.h" |
+#include "content/browser/worker_host/worker_storage_partition.h" |
+#include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" |
+#include "url/gurl.h" |
+ |
+namespace content { |
kinuko
2014/02/12 08:09:49
ditto
horo
2014/02/12 08:43:45
Done.
|
+class ResourceContext; |
+class SharedWorkerMessageFilter; |
+class SharedWorkerDocumentSet; |
+ |
+// If "enable-embedded-shared-worker" is set this class will be used in stead of |
+// WorkerProcessHost::WorkerInstance. |
+// TODO(horo): implement this class. |
+class SharedWorkerInstance { |
+ public: |
+ SharedWorkerInstance(const GURL& url, |
+ const base::string16& name, |
+ const base::string16& content_security_policy, |
+ blink::WebContentSecurityPolicyType security_policy_type, |
+ int worker_route_id, |
+ ResourceContext* resource_context, |
+ const WorkerStoragePartition& partition); |
+ ~SharedWorkerInstance(); |
+}; |
+ |
+} // namespace content |
+ |
+ |
+#endif // CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_INSTANCE_H_ |