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

Unified Diff: content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc

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_unittest.cc
diff --git a/content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc b/content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc
index b324673c667ec82c2b53c0d44ffeb3798a7529f9..caaf698492aaec20bce77bd2e8b7396d1f530772 100644
--- a/content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc
+++ b/content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc
@@ -53,13 +53,11 @@ class TestDelegate : public PepperDeviceEnumerationHostHelper::Delegate,
~TestDelegate() override { CHECK(monitoring_callbacks_.empty()); }
void EnumerateDevices(PP_DeviceType_Dev /* type */,
- const GURL& /* document_url */,
const DevicesCallback& callback) override {
callback.Run(TestEnumerationData());
}
uint32_t StartMonitoringDevices(PP_DeviceType_Dev /* type */,
- const GURL& /* document_url */,
const DevicesCallback& callback) override {
last_used_id_++;
monitoring_callbacks_[last_used_id_] = callback;

Powered by Google App Engine
This is Rietveld 408576698