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

Unified Diff: content/browser/renderer_host/media/audio_renderer_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/audio_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index 4f2747be94790027c10675da740f38ef16530e7b..7252086657dc01d89cff53846874d7cf4201b9f0 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -86,7 +86,7 @@ class CONTENT_EXPORT AudioRendererHost : public BrowserMessageFilter {
AudioMirroringManager* mirroring_manager,
MediaInternals* media_internals,
MediaStreamManager* media_stream_manager,
- const ResourceContext::SaltCallback& salt_callback);
+ const std::string& salt);
// Calls |callback| with the list of AudioOutputControllers for this object.
void GetOutputControllers(
@@ -255,7 +255,7 @@ class CONTENT_EXPORT AudioRendererHost : public BrowserMessageFilter {
base::AtomicRefCount num_playing_streams_;
// Salt required to translate renderer device IDs to raw device unique IDs
- ResourceContext::SaltCallback salt_callback_;
+ std::string salt_;
// Map of device authorizations for streams that are not yet created
// The key is the stream ID, and the value is a pair. The pair's first element
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | content/browser/renderer_host/media/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698