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

Unified Diff: content/renderer/pepper/pepper_device_enumeration_host_helper.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
Index: content/renderer/pepper/pepper_device_enumeration_host_helper.h
diff --git a/content/renderer/pepper/pepper_device_enumeration_host_helper.h b/content/renderer/pepper/pepper_device_enumeration_host_helper.h
index 70d5d66d9f37a5c60d805c766d19d5386d3661a6..a322a9a13d9eb628e138508c68f3d6c3d1ed22fd 100644
--- a/content/renderer/pepper/pepper_device_enumeration_host_helper.h
+++ b/content/renderer/pepper/pepper_device_enumeration_host_helper.h
@@ -49,7 +49,6 @@ class CONTENT_EXPORT PepperDeviceEnumerationHostHelper {
// Enumerates devices of the specified type.
virtual void EnumerateDevices(PP_DeviceType_Dev type,
- const GURL& document_url,
const DevicesCallback& callback) = 0;
// Starts monitoring devices of the specified |type|. Returns a
@@ -58,7 +57,6 @@ class CONTENT_EXPORT PepperDeviceEnumerationHostHelper {
// when device changes of the specified |type| occur.
virtual uint32_t StartMonitoringDevices(
PP_DeviceType_Dev type,
- const GURL& document_url,
const DevicesCallback& callback) = 0;
// Stops monitoring devices of the specified |type|. The
@@ -106,7 +104,6 @@ class CONTENT_EXPORT PepperDeviceEnumerationHostHelper {
base::WeakPtr<Delegate> delegate_;
PP_DeviceType_Dev device_type_;
- GURL document_url_;
std::unique_ptr<ScopedEnumerationRequest> enumerate_;
std::unique_ptr<ScopedMonitoringRequest> monitor_;

Powered by Google App Engine
This is Rietveld 408576698