| Index: content/renderer/media/midi_message_filter.h
|
| diff --git a/content/renderer/media/midi_message_filter.h b/content/renderer/media/midi_message_filter.h
|
| index c34ce53225fa7419a192a12529b5eecda2117c0e..9ad6c1232aa20ffd3c314258015ff8cbd7351fee 100644
|
| --- a/content/renderer/media/midi_message_filter.h
|
| +++ b/content/renderer/media/midi_message_filter.h
|
| @@ -32,7 +32,9 @@ class CONTENT_EXPORT MIDIMessageFilter
|
| // If permission is granted, then the client's
|
| // addInputPort() and addOutputPort() methods will be called,
|
| // giving the client access to receive and send data.
|
| - void RequestAccess(WebKit::WebMIDIAccessorClient* client, int access);
|
| + void RequestAccess(const std::string& origin,
|
| + WebKit::WebMIDIAccessorClient* client,
|
| + int access);
|
| void RemoveClient(WebKit::WebMIDIAccessorClient* client);
|
|
|
| // A client will only be able to call this method if it has a suitable
|
| @@ -84,7 +86,9 @@ class CONTENT_EXPORT MIDIMessageFilter
|
| const std::vector<uint8>& data,
|
| double timestamp);
|
|
|
| - void RequestAccessOnIOThread(int client_id, int access);
|
| + void RequestAccessOnIOThread(const std::string& origin,
|
| + int client_id,
|
| + int access);
|
|
|
| void SendMIDIDataOnIOThread(int port,
|
| const std::vector<uint8>& data,
|
|
|