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

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

Issue 1943963004: Revert of (reland) Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 5c43d75cc60b22cb8e7eaa07ffb1d8fceaa917e6..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 "components/permissions/permission.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,8 +35,7 @@
const blink::WebMIDIPermissionRequest& request) override;
// Permission for using MIDI system has been set.
- void OnPermissionSet(int request_id,
- permissions::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
@@ -44,7 +43,7 @@
typedef IDMap<blink::WebMIDIPermissionRequest, IDMapOwnPointer> Requests;
Requests requests_;
- permissions::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