Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: content/browser/shared_worker/shared_worker_instance.h

Issue 2612793002: Implement ContentSecurityPolicy on the browser-side. (Closed)
Patch Set: Add the TODO and bug ids that was forgotten. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698