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" | |
11 #include "content/browser/shared_worker/worker_storage_partition.h" | 10 #include "content/browser/shared_worker/worker_storage_partition.h" |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
13 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" | 12 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" |
14 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" | 13 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" |
15 #include "url/gurl.h" | 14 #include "url/gurl.h" |
16 | 15 |
17 namespace content { | 16 namespace content { |
18 class ResourceContext; | 17 class ResourceContext; |
19 | 18 |
20 // 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 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 const blink::WebContentSecurityPolicyType security_policy_type_; | 67 const blink::WebContentSecurityPolicyType security_policy_type_; |
69 ResourceContext* const resource_context_; | 68 ResourceContext* const resource_context_; |
70 const WorkerStoragePartitionId partition_id_; | 69 const WorkerStoragePartitionId partition_id_; |
71 const blink::WebSharedWorkerCreationContextType creation_context_type_; | 70 const blink::WebSharedWorkerCreationContextType creation_context_type_; |
72 }; | 71 }; |
73 | 72 |
74 } // namespace content | 73 } // namespace content |
75 | 74 |
76 | 75 |
77 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ | 76 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_INSTANCE_H_ |
OLD | NEW |