Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_INSTANCE_H_ | |
| 6 #define CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_INSTANCE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 #include "content/browser/worker_host/worker_storage_partition.h" | |
| 12 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" | |
| 13 #include "url/gurl.h" | |
| 14 | |
| 15 namespace content { | |
|
kinuko
2014/02/12 08:09:49
ditto
horo
2014/02/12 08:43:45
Done.
| |
| 16 class ResourceContext; | |
| 17 class SharedWorkerMessageFilter; | |
| 18 class SharedWorkerDocumentSet; | |
| 19 | |
| 20 // If "enable-embedded-shared-worker" is set this class will be used in stead of | |
| 21 // WorkerProcessHost::WorkerInstance. | |
| 22 // TODO(horo): implement this class. | |
| 23 class SharedWorkerInstance { | |
| 24 public: | |
| 25 SharedWorkerInstance(const GURL& url, | |
| 26 const base::string16& name, | |
| 27 const base::string16& content_security_policy, | |
| 28 blink::WebContentSecurityPolicyType security_policy_type, | |
| 29 int worker_route_id, | |
| 30 ResourceContext* resource_context, | |
| 31 const WorkerStoragePartition& partition); | |
| 32 ~SharedWorkerInstance(); | |
| 33 }; | |
| 34 | |
| 35 } // namespace content | |
| 36 | |
| 37 | |
| 38 #endif // CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_INSTANCE_H_ | |
| OLD | NEW |