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_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
143 const std::string& filesystem_id) = 0; | 143 const std::string& filesystem_id) = 0; |
144 | 144 |
145 // Returns true if delete-from access has been granted to |filesystem_id|. | 145 // Returns true if delete-from access has been granted to |filesystem_id|. |
146 virtual bool CanDeleteFromFileSystem(int child_id, | 146 virtual bool CanDeleteFromFileSystem(int child_id, |
147 const std::string& filesystem_id) = 0; | 147 const std::string& filesystem_id) = 0; |
148 | 148 |
149 // Returns true if the specified child_id has been granted WebUI bindings. | 149 // Returns true if the specified child_id has been granted WebUI bindings. |
150 // The browser should check this property before assuming the child process | 150 // The browser should check this property before assuming the child process |
151 // is allowed to use WebUI bindings. | 151 // is allowed to use WebUI bindings. |
152 virtual bool HasWebUIBindings(int child_id) = 0; | 152 virtual bool HasWebUIBindings(int child_id) = 0; |
153 | |
154 // Grants permission to send system exclusive message to any MIDI devices. | |
155 virtual void GrantSendMidiSysExMessage(int child_id) = 0; | |
Tom Sepez
2014/11/24 18:10:02
I'd expected to see a corresponding CanSendMidi...
mlamouri (slow - plz ping)
2014/11/24 18:20:17
It's in the _impl.h It seems that ChildProcessSecu
Tom Sepez
2014/11/24 18:27:09
Ah, OK. Its OK where it is, I was just surprised
| |
153 }; | 156 }; |
154 | 157 |
155 } // namespace content | 158 } // namespace content |
156 | 159 |
157 #endif // CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ | 160 #endif // CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ |
OLD | NEW |