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

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

Issue 2872913003: Do not pass the origin to MediaDevicesDispatcherHost. (Closed)
Patch Set: Add tests with unique origin Created 3 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/common/media/media_devices.mojom ('k') | content/renderer/media/media_devices_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_devices_event_dispatcher.h
diff --git a/content/renderer/media/media_devices_event_dispatcher.h b/content/renderer/media/media_devices_event_dispatcher.h
index c5e241e482e481119049fd7bb9e18777d8d00df8..daa3ed6505e35109a7fd98a6c98779de74daa1ff 100644
--- a/content/renderer/media/media_devices_event_dispatcher.h
+++ b/content/renderer/media/media_devices_event_dispatcher.h
@@ -19,10 +19,6 @@
#include "content/public/renderer/render_frame_observer.h"
#include "content/public/renderer/render_frame_observer_tracker.h"
-namespace url {
-class Origin;
-}
-
namespace content {
// This class implements the logic for managing media device-change
@@ -52,7 +48,6 @@ class CONTENT_EXPORT MediaDevicesEventDispatcher
// subscription.
SubscriptionId SubscribeDeviceChangeNotifications(
MediaDeviceType type,
- const url::Origin& security_origin,
const DevicesChangedCallback& callback);
// Cancels a subscription identified with |subscription_id| to device-change
@@ -66,7 +61,6 @@ class CONTENT_EXPORT MediaDevicesEventDispatcher
// Returns a list of subscription IDs that can be used to cancel the
// subscriptions.
SubscriptionIdList SubscribeDeviceChangeNotifications(
- const url::Origin& security_origin,
const DevicesChangedCallback& callback);
// Cancels subscriptions identified by |subscription_ids| to device-change
« no previous file with comments | « content/common/media/media_devices.mojom ('k') | content/renderer/media/media_devices_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698