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

Unified Diff: content/renderer/media/media_permission_dispatcher_impl.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/media_permission_dispatcher_impl.h
diff --git a/content/renderer/media/media_permission_dispatcher_impl.h b/content/renderer/media/media_permission_dispatcher_impl.h
index 5bb1128bcef2e149ee24db0295fa47fc075ee28d..86a78287ed07c2bd88d9f30522c830efc4e8d258 100644
--- a/content/renderer/media/media_permission_dispatcher_impl.h
+++ b/content/renderer/media/media_permission_dispatcher_impl.h
@@ -15,8 +15,8 @@
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_checker.h"
+#include "components/permission/public/interfaces/permission.mojom.h"
#include "content/common/content_export.h"
-#include "content/common/permission_service.mojom.h"
#include "content/public/renderer/render_frame_observer.h"
#include "content/renderer/media/media_permission_dispatcher.h"
#include "media/base/media_permission.h"
@@ -50,11 +50,11 @@ class CONTENT_EXPORT MediaPermissionDispatcherImpl
private:
// Callback for |permission_service_| calls.
- void OnPermissionStatus(uint32_t request_id, PermissionStatus status);
+ void OnPermissionStatus(uint32_t request_id, permission::Status status);
const scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- PermissionServicePtr permission_service_;
+ permission::PermissionServicePtr permission_service_;
base::WeakPtrFactory<MediaPermissionDispatcherImpl> weak_ptr_factory_;
« no previous file with comments | « content/renderer/geolocation_dispatcher.cc ('k') | content/renderer/media/media_permission_dispatcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698