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

Unified Diff: content/shell/browser/shell_browser_context.cc

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added MediaDeviceIDSalt::ShutdownOnUIThread. Added GetDeviceIDSalt on ShellResourceContext. Created 7 years, 1 month 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/shell/browser/shell_browser_context.cc
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc
index 8dee89a08deeb6992ed13ef2c00447c2032d6c83..a98774398ccc593c7c3717d98525712c5009e10e 100644
--- a/content/shell/browser/shell_browser_context.cc
+++ b/content/shell/browser/shell_browser_context.cc
@@ -49,6 +49,9 @@ class ShellBrowserContext::ShellResourceContext : public ResourceContext {
virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE {
return false;
}
+ virtual std::string GetMediaDeviceIDSalt() OVERRIDE {
+ return "shell_salt";
+ }
void set_url_request_context_getter(ShellURLRequestContextGetter* getter) {
getter_ = getter;

Powered by Google App Engine
This is Rietveld 408576698