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 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
54 void GrantCreateFileForFileSystem(int child_id, | 54 void GrantCreateFileForFileSystem(int child_id, |
55 const std::string& filesystem_id) override; | 55 const std::string& filesystem_id) override; |
56 void GrantCreateReadWriteFileSystem( | 56 void GrantCreateReadWriteFileSystem( |
57 int child_id, | 57 int child_id, |
58 const std::string& filesystem_id) override; | 58 const std::string& filesystem_id) override; |
59 void GrantCopyIntoFileSystem(int child_id, | 59 void GrantCopyIntoFileSystem(int child_id, |
60 const std::string& filesystem_id) override; | 60 const std::string& filesystem_id) override; |
61 void GrantDeleteFromFileSystem(int child_id, | 61 void GrantDeleteFromFileSystem(int child_id, |
62 const std::string& filesystem_id) override; | 62 const std::string& filesystem_id) override; |
63 void GrantScheme(int child_id, const std::string& scheme) override; | 63 void GrantScheme(int child_id, const std::string& scheme) override; |
64 void GrantSchemeHost(int child_id, const std::string& scheme, | |
65 const std::string& host) override; | |
Charlie Reis
2015/09/22 17:38:15
Style nit: "For function declarations and definiti
paulmeyer
2015/09/22 22:13:57
Done.
| |
64 bool CanReadFile(int child_id, const base::FilePath& file) override; | 66 bool CanReadFile(int child_id, const base::FilePath& file) override; |
65 bool CanCreateReadWriteFile(int child_id, | 67 bool CanCreateReadWriteFile(int child_id, |
66 const base::FilePath& file) override; | 68 const base::FilePath& file) override; |
67 bool CanReadFileSystem(int child_id, | 69 bool CanReadFileSystem(int child_id, |
68 const std::string& filesystem_id) override; | 70 const std::string& filesystem_id) override; |
69 bool CanReadWriteFileSystem(int child_id, | 71 bool CanReadWriteFileSystem(int child_id, |
70 const std::string& filesystem_id) override; | 72 const std::string& filesystem_id) override; |
71 bool CanCopyIntoFileSystem(int child_id, | 73 bool CanCopyIntoFileSystem(int child_id, |
72 const std::string& filesystem_id) override; | 74 const std::string& filesystem_id) override; |
73 bool CanDeleteFromFileSystem(int child_id, | 75 bool CanDeleteFromFileSystem(int child_id, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
245 WorkerToMainProcessMap worker_map_; | 247 WorkerToMainProcessMap worker_map_; |
246 | 248 |
247 FileSystemPermissionPolicyMap file_system_policy_map_; | 249 FileSystemPermissionPolicyMap file_system_policy_map_; |
248 | 250 |
249 DISALLOW_COPY_AND_ASSIGN(ChildProcessSecurityPolicyImpl); | 251 DISALLOW_COPY_AND_ASSIGN(ChildProcessSecurityPolicyImpl); |
250 }; | 252 }; |
251 | 253 |
252 } // namespace content | 254 } // namespace content |
253 | 255 |
254 #endif // CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ | 256 #endif // CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_ |
OLD | NEW |