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 "content/browser/shared_worker/worker_storage_partition.h" | 10 #include "content/browser/shared_worker/worker_storage_partition.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "third_party/WebKit/public/platform/WebAddressSpace.h" | 12 #include "third_party/WebKit/public/platform/WebAddressSpace.h" |
13 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" | 13 #include "third_party/WebKit/public/platform/WebContentSecurityPolicy.h" |
14 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" | 14 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class ResourceContext; | 18 class ResourceContext; |
19 | 19 |
20 // SharedWorkerInstance is copyable value-type data type. It could be passed to | 20 // SharedWorkerInstance is copyable value-type data type. It could be passed to |
21 // the UI thread and be used for comparison in SharedWorkerDevToolsManager. | 21 // the UI thread and be used for comparison in SharedWorkerDevToolsManager. |
22 class CONTENT_EXPORT SharedWorkerInstance { | 22 class CONTENT_EXPORT SharedWorkerInstance { |
23 public: | 23 public: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 const blink::WebAddressSpace creation_address_space_; | 73 const blink::WebAddressSpace creation_address_space_; |
74 ResourceContext* const resource_context_; | 74 ResourceContext* const resource_context_; |
75 const WorkerStoragePartitionId partition_id_; | 75 const WorkerStoragePartitionId partition_id_; |
76 const blink::WebSharedWorkerCreationContextType creation_context_type_; | 76 const blink::WebSharedWorkerCreationContextType creation_context_type_; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace content | 79 } // namespace content |
80 | 80 |
81 | 81 |
82 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ | 82 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ |
OLD | NEW |