OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ | 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ |
6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ | 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "content/browser/worker_host/worker_storage_partition.h" | 11 #include "content/browser/shared_worker/worker_storage_partition.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" | 13 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 class ResourceContext; | 17 class ResourceContext; |
18 | 18 |
19 // SharedWorkerInstance is copyable value-type data type. It could be passed to | 19 // SharedWorkerInstance is copyable value-type data type. It could be passed to |
20 // the UI thread and be used for comparison in EmbeddedWorkerDevToolsManager. | 20 // the UI thread and be used for comparison in EmbeddedWorkerDevToolsManager. |
21 class CONTENT_EXPORT SharedWorkerInstance { | 21 class CONTENT_EXPORT SharedWorkerInstance { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 const base::string16 content_security_policy_; | 61 const base::string16 content_security_policy_; |
62 const blink::WebContentSecurityPolicyType security_policy_type_; | 62 const blink::WebContentSecurityPolicyType security_policy_type_; |
63 ResourceContext* const resource_context_; | 63 ResourceContext* const resource_context_; |
64 const WorkerStoragePartitionId partition_id_; | 64 const WorkerStoragePartitionId partition_id_; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace content | 67 } // namespace content |
68 | 68 |
69 | 69 |
70 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ | 70 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ |
OLD | NEW |