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

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

Issue 10834232: Revert 150491 - refactor EnumerateDevices to make it a persistent request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
===================================================================
--- content/renderer/pepper/pepper_plugin_delegate_impl.cc (revision 150592)
+++ content/renderer/pepper/pepper_plugin_delegate_impl.cc (working copy)
@@ -1506,19 +1506,6 @@
return request_id;
}
-void PepperPluginDelegateImpl::StopEnumerateDevices(int request_id) {
-#if defined(ENABLE_WEBRTC)
- // Need to post task since this function might be called inside the callback
- // of EnumerateDevices.
- MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(
- &MediaStreamDispatcher::StopEnumerateDevices,
- base::Unretained(render_view_->media_stream_dispatcher()),
- request_id, device_enumeration_event_handler_.get()->AsWeakPtr()));
-#endif
-}
-
bool PepperPluginDelegateImpl::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(PepperPluginDelegateImpl, message)
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698