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

Unified Diff: chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.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: rebase 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: chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h
diff --git a/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h b/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h
index a90c4aa39eeb933d943e713536249378cc5f4a70..fbe992a7f30606aea9818eb1e89408f87b69879c 100644
--- a/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h
+++ b/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h
@@ -7,6 +7,8 @@
#include <stddef.h>
+#include <string>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/system_monitor/system_monitor.h"
@@ -96,10 +98,10 @@ class WebrtcAudioPrivateFunction : public ChromeAsyncExtensionFunction {
// Callable from any thread. Must previously have called
// |InitDeviceIDSalt()|.
- const content::ResourceContext::SaltCallback& device_id_salt() const;
+ const std::string device_id_salt() const;
private:
- content::ResourceContext::SaltCallback device_id_salt_;
+ std::string device_id_salt_;
DISALLOW_COPY_AND_ASSIGN(WebrtcAudioPrivateFunction);
};

Powered by Google App Engine
This is Rietveld 408576698