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

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

Issue 287383002: Implement getMediaDevices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed StopEnumerateDevices in pepper. Created 6 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.cc
diff --git a/content/renderer/pepper/pepper_device_enumeration_host_helper.cc b/content/renderer/pepper/pepper_device_enumeration_host_helper.cc
index d983f4a5816f70ae16d72aaa0959eb165a03503f..0425d5be7d35e2a8c46be991599dae0dedfd0f41 100644
--- a/content/renderer/pepper/pepper_device_enumeration_host_helper.cc
+++ b/content/renderer/pepper/pepper_device_enumeration_host_helper.cc
@@ -53,11 +53,7 @@ class PepperDeviceEnumerationHostHelper::ScopedRequest
sync_call_ = false;
}
- ~ScopedRequest() {
- if (requested_) {
- owner_->delegate_->StopEnumerateDevices(request_id_);
- }
- }
+ ~ScopedRequest() {}
dmichael (off chromium) 2014/05/27 20:43:23 Another thing this was doing was canceling the req
Henrik Grunell 2014/05/28 11:08:27 OK. It sounds like the cancel should be kept. Are
dmichael (off chromium) 2014/05/28 15:08:37 I'm not sure what you mean? Do you mean putting th
bool requested() const { return requested_; }
« content/renderer/media/media_stream_impl.cc ('K') | « content/renderer/media/media_stream_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698