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

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

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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
« no previous file with comments | « content/renderer/media/media_permission_dispatcher.cc ('k') | content/renderer/media/midi_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/midi_dispatcher.h
diff --git a/content/renderer/media/midi_dispatcher.h b/content/renderer/media/midi_dispatcher.h
index f840610a4466a96382d4d8e6d30d33ad9dcd6d3f..802328a770cd647ac2fea150aa62726a9888f50e 100644
--- a/content/renderer/media/midi_dispatcher.h
+++ b/content/renderer/media/midi_dispatcher.h
@@ -7,8 +7,8 @@
#include "base/id_map.h"
#include "base/macros.h"
-#include "content/common/permission_service.mojom.h"
#include "content/public/renderer/render_frame_observer.h"
+#include "third_party/WebKit/public/platform/modules/permissions/permission.mojom.h"
#include "third_party/WebKit/public/web/modules/webmidi/WebMIDIClient.h"
namespace blink {
@@ -35,7 +35,7 @@ class MidiDispatcher : public RenderFrameObserver,
const blink::WebMIDIPermissionRequest& request) override;
// Permission for using MIDI system has been set.
- void OnPermissionSet(int request_id, mojom::PermissionStatus status);
+ void OnPermissionSet(int request_id, blink::mojom::PermissionStatus status);
// Each WebMIDIPermissionRequest object is valid until
// cancelSysexPermissionRequest() is called with the object, or used to call
@@ -43,7 +43,7 @@ class MidiDispatcher : public RenderFrameObserver,
typedef IDMap<blink::WebMIDIPermissionRequest, IDMapOwnPointer> Requests;
Requests requests_;
- mojom::PermissionServicePtr permission_service_;
+ blink::mojom::PermissionServicePtr permission_service_;
DISALLOW_COPY_AND_ASSIGN(MidiDispatcher);
};
« no previous file with comments | « content/renderer/media/media_permission_dispatcher.cc ('k') | content/renderer/media/midi_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698