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

Unified Diff: content/public/browser/child_process_security_policy.h

Issue 755673002: Update MidiDispatcher to use Mojo Permission Service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/child_process_security_policy.h
diff --git a/content/public/browser/child_process_security_policy.h b/content/public/browser/child_process_security_policy.h
index 7048d91cf529a13c23a6ffefd2dab445de4f9263..b2a343f05b142ecd67c37bf9627f989428c05319 100644
--- a/content/public/browser/child_process_security_policy.h
+++ b/content/public/browser/child_process_security_policy.h
@@ -150,6 +150,9 @@ class ChildProcessSecurityPolicy {
// The browser should check this property before assuming the child process
// is allowed to use WebUI bindings.
virtual bool HasWebUIBindings(int child_id) = 0;
+
+ // Grants permission to send system exclusive message to any MIDI devices.
+ 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
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698