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

Unified Diff: content/renderer/media/media_permission_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/geolocation_dispatcher.cc ('k') | content/renderer/media/media_permission_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_permission_dispatcher.h
diff --git a/content/renderer/media/media_permission_dispatcher.h b/content/renderer/media/media_permission_dispatcher.h
index d63cdd3e84a058e37edeabab59a39d9531fafe9d..2a94defebcb133b2bd8170b376fec1fffa30d4f7 100644
--- a/content/renderer/media/media_permission_dispatcher.h
+++ b/content/renderer/media/media_permission_dispatcher.h
@@ -13,9 +13,9 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "components/permissions/permission.mojom.h"
#include "content/common/content_export.h"
#include "media/base/media_permission.h"
+#include "third_party/WebKit/public/platform/modules/permissions/permission.mojom.h"
namespace base {
class SingleThreadTaskRunner;
@@ -27,7 +27,7 @@
class CONTENT_EXPORT MediaPermissionDispatcher : public media::MediaPermission {
public:
using ConnectToServiceCB = base::Callback<void(
- mojo::InterfaceRequest<permissions::mojom::PermissionService>)>;
+ mojo::InterfaceRequest<blink::mojom::PermissionService>)>;
explicit MediaPermissionDispatcher(
const ConnectToServiceCB& connect_to_service_cb);
@@ -54,13 +54,13 @@
// Callback for |permission_service_| calls.
void OnPermissionStatus(uint32_t request_id,
- permissions::mojom::PermissionStatus status);
+ blink::mojom::PermissionStatus status);
ConnectToServiceCB connect_to_service_cb_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
uint32_t next_request_id_;
RequestMap requests_;
- permissions::mojom::PermissionServicePtr permission_service_;
+ blink::mojom::PermissionServicePtr permission_service_;
// Used to safely post MediaPermission calls for execution on |task_runner_|.
base::WeakPtr<MediaPermissionDispatcher> weak_ptr_;
« no previous file with comments | « content/renderer/geolocation_dispatcher.cc ('k') | content/renderer/media/media_permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698