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

Unified Diff: content/browser/renderer_host/media/device_request_message_filter.h

Issue 34393006: Refactor MediaStreamManager to never output real device id. It now always output sourceId in the fo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up unneccessary test setup that just caused confusion. Created 7 years, 2 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/browser/renderer_host/media/device_request_message_filter.h
diff --git a/content/browser/renderer_host/media/device_request_message_filter.h b/content/browser/renderer_host/media/device_request_message_filter.h
index 0f0505d877def40f24b9e92c2b82284b13a3659e..6c164ab09ca9d0ca9346365c793f90df35bb45f9 100644
--- a/content/browser/renderer_host/media/device_request_message_filter.h
+++ b/content/browser/renderer_host/media/device_request_message_filter.h
@@ -47,20 +47,11 @@ class CONTENT_EXPORT DeviceRequestMessageFilter : public BrowserMessageFilter,
bool* message_was_ok) OVERRIDE;
virtual void OnChannelClosing() OVERRIDE;
- // Helper method that checks whether the GUID generated by
- // DeviceRequestMessageFilter matches the given |raw_device_id|.
- static bool DoesRawIdMatchGuid(const GURL& security_origin,
- const std::string& device_guid,
- const std::string& raw_device_id);
-
protected:
virtual ~DeviceRequestMessageFilter();
private:
void OnGetSources(int request_id, const GURL& security_origin);
- void HmacDeviceIds(const GURL& origin,
- const StreamDeviceInfoArray& raw_devices,
- StreamDeviceInfoArray* devices_with_guids);
// Owned by ProfileIOData which is guaranteed to outlive DRMF.
ResourceContext* resource_context_;

Powered by Google App Engine
This is Rietveld 408576698