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

Unified Diff: content/renderer/pepper/pepper_media_device_manager.h

Issue 2882133002: Block insecure pepper media requests in the renderer (Closed)
Patch Set: Block insecure pepper media requests 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_media_device_manager.h
diff --git a/content/renderer/pepper/pepper_media_device_manager.h b/content/renderer/pepper/pepper_media_device_manager.h
index ff7bc3bb2cccc7dab317f18a18b85dc8a161122a..4d836f11a51ec24b1274969123f66f0011a2cbbc 100644
--- a/content/renderer/pepper/pepper_media_device_manager.h
+++ b/content/renderer/pepper/pepper_media_device_manager.h
@@ -17,6 +17,7 @@
#include "content/public/renderer/render_frame_observer_tracker.h"
#include "content/renderer/media/media_stream_dispatcher_eventhandler.h"
#include "content/renderer/pepper/pepper_device_enumeration_host_helper.h"
+#include "ppapi/c/pp_instance.h"
namespace content {
class MediaStreamDispatcher;
@@ -53,7 +54,7 @@ class PepperMediaDeviceManager
// CloseDevice() and GetSesssionID().
int OpenDevice(PP_DeviceType_Dev type,
const std::string& device_id,
- const GURL& document_url,
+ PP_Instance pp_instance,
const OpenDeviceCallback& callback);
// Cancels an request to open device, using the request ID returned by
// OpenDevice(). It is guaranteed that the callback passed into OpenDevice()
« no previous file with comments | « content/renderer/pepper/pepper_camera_device_host.cc ('k') | content/renderer/pepper/pepper_media_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698