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

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

Issue 1987643002: Make default media device ID salts random by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change return type from const string to string as it makes no difference Created 4 years, 6 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/media_stream_dispatcher_host.h
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.h b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
index 4d82cc78d1ba763b955489649a750e215f5a5660..53195cc9404d2f44b7cd26f59ca2db5b3b00c24a 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.h
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
@@ -33,7 +33,7 @@ class CONTENT_EXPORT MediaStreamDispatcherHost : public BrowserMessageFilter,
public MediaStreamRequester {
public:
MediaStreamDispatcherHost(int render_process_id,
- const ResourceContext::SaltCallback& salt_callback,
+ const std::string& salt,
MediaStreamManager* media_stream_manager,
bool use_fake_ui = false);
@@ -118,7 +118,7 @@ class CONTENT_EXPORT MediaStreamDispatcherHost : public BrowserMessageFilter,
bool have_access);
int render_process_id_;
- ResourceContext::SaltCallback salt_callback_;
+ std::string salt_;
MediaStreamManager* media_stream_manager_;
struct DeviceChangeSubscriberInfo {

Powered by Google App Engine
This is Rietveld 408576698