OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ |
6 #define CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ | 6 #define CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ |
7 | 7 |
8 #pragma once | |
9 | 8 |
10 #include <map> | 9 #include <map> |
11 #include <set> | 10 #include <set> |
12 #include <string> | 11 #include <string> |
13 | 12 |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
16 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
17 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
18 #include "content/public/browser/child_process_security_policy.h" | 17 #include "content/public/browser/child_process_security_policy.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 SecurityStateMap security_state_; | 198 SecurityStateMap security_state_; |
200 | 199 |
201 // This maps keeps the record of which js worker thread child process | 200 // This maps keeps the record of which js worker thread child process |
202 // corresponds to which main js thread child process. | 201 // corresponds to which main js thread child process. |
203 WorkerToMainProcessMap worker_map_; | 202 WorkerToMainProcessMap worker_map_; |
204 | 203 |
205 DISALLOW_COPY_AND_ASSIGN(ChildProcessSecurityPolicyImpl); | 204 DISALLOW_COPY_AND_ASSIGN(ChildProcessSecurityPolicyImpl); |
206 }; | 205 }; |
207 | 206 |
208 #endif // CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ | 207 #endif // CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ |
OLD | NEW |