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

Unified Diff: content/renderer/media/midi_dispatcher.h

Issue 1373883003: Move geolocation and permission mojoms into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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/renderer/media/midi_dispatcher.h
diff --git a/content/renderer/media/midi_dispatcher.h b/content/renderer/media/midi_dispatcher.h
index 582e0931fbfd28a63c30f247842741a5c8c4fcc2..e21630023491abf01f6da5775253961ceb1ebaf2 100644
--- a/content/renderer/media/midi_dispatcher.h
+++ b/content/renderer/media/midi_dispatcher.h
@@ -6,7 +6,7 @@
#define CONTENT_RENDERER_MEDIA_MIDI_DISPATCHER_H_
#include "base/id_map.h"
-#include "content/common/permission_service.mojom.h"
+#include "components/permission/public/interfaces/permission.mojom.h"
#include "content/public/renderer/render_frame_observer.h"
#include "third_party/WebKit/public/web/WebMIDIClient.h"
@@ -34,7 +34,7 @@ class MidiDispatcher : public RenderFrameObserver,
const blink::WebMIDIPermissionRequest& request) override;
// Permission for using system exclusive messages has been set.
- void OnSysExPermissionSet(int request_id, PermissionStatus status);
+ void OnSysExPermissionSet(int request_id, permission::Status status);
// Each WebMIDIPermissionRequest object is valid until
// cancelSysexPermissionRequest() is called with the object, or used to call
@@ -42,7 +42,7 @@ class MidiDispatcher : public RenderFrameObserver,
typedef IDMap<blink::WebMIDIPermissionRequest, IDMapOwnPointer> Requests;
Requests requests_;
- PermissionServicePtr permission_service_;
+ permission::PermissionServicePtr permission_service_;
DISALLOW_COPY_AND_ASSIGN(MidiDispatcher);
};
« no previous file with comments | « content/renderer/media/media_permission_dispatcher_impl.cc ('k') | content/renderer/media/midi_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698