Index: content/browser/shared/child_process_security_policy_helper.h |
diff --git a/content/browser/child_process_security_policy_impl.h b/content/browser/shared/child_process_security_policy_helper.h |
similarity index 94% |
rename from content/browser/child_process_security_policy_impl.h |
rename to content/browser/shared/child_process_security_policy_helper.h |
index 271e69c0acd110ed0e3d74f7b1d0c8512300973f..e68524c62d3d6aa1d19ae7a3a855088b7dcf2dd9 100644 |
--- a/content/browser/child_process_security_policy_impl.h |
+++ b/content/browser/shared/child_process_security_policy_helper.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ |
-#define CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ |
+#ifndef CONTENT_BROWSER_SHARED_CHILD_PROCESS_SECURITY_POLICY_HELPER_H_ |
+#define CONTENT_BROWSER_SHARED_CHILD_PROCESS_SECURITY_POLICY_HELPER_H_ |
#include <map> |
#include <set> |
@@ -31,14 +31,14 @@ class FileSystemURL; |
namespace content { |
-class CONTENT_EXPORT ChildProcessSecurityPolicyImpl |
+class CONTENT_EXPORT ChildProcessSecurityPolicyHelper |
: NON_EXPORTED_BASE(public ChildProcessSecurityPolicy) { |
public: |
// Object can only be created through GetInstance() so the constructor is |
// private. |
- ~ChildProcessSecurityPolicyImpl() override; |
+ ~ChildProcessSecurityPolicyHelper() override; |
- static ChildProcessSecurityPolicyImpl* GetInstance(); |
+ static ChildProcessSecurityPolicyHelper* GetInstance(); |
// ChildProcessSecurityPolicy implementation. |
void RegisterWebSafeScheme(const std::string& scheme) override; |
@@ -178,9 +178,9 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl |
typedef std::map<int, int> WorkerToMainProcessMap; |
typedef std::map<storage::FileSystemType, int> FileSystemPermissionPolicyMap; |
- // Obtain an instance of ChildProcessSecurityPolicyImpl via GetInstance(). |
- ChildProcessSecurityPolicyImpl(); |
- friend struct base::DefaultSingletonTraits<ChildProcessSecurityPolicyImpl>; |
+ // Obtain an instance of ChildProcessSecurityPolicyHelper via GetInstance(). |
+ ChildProcessSecurityPolicyHelper(); |
+ friend struct base::DefaultSingletonTraits<ChildProcessSecurityPolicyHelper>; |
// Adds child process during registration. |
void AddChild(int child_id); |
@@ -251,9 +251,9 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl |
FileSystemPermissionPolicyMap file_system_policy_map_; |
- DISALLOW_COPY_AND_ASSIGN(ChildProcessSecurityPolicyImpl); |
+ DISALLOW_COPY_AND_ASSIGN(ChildProcessSecurityPolicyHelper); |
}; |
} // namespace content |
-#endif // CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ |
+#endif // CONTENT_BROWSER_SHARED_CHILD_PROCESS_SECURITY_POLICY_HELPER_H_ |