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

Unified Diff: content/public/browser/content_browser_client.h

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: removed lock include. 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 87079c1f60485bae679153fff5ba3319a4ebc816..06da5f2745efe597fc74de602758501ed61fd282 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -524,6 +524,11 @@ class CONTENT_EXPORT ContentBrowserClient {
// else we should do with the file.
virtual std::string GetDefaultDownloadName();
+ // Returns a random salt string that is used for creating MediaSourceIds.
+ // The salt should depend on the current user profile and should be reset if
Jói 2013/11/01 14:29:38 depend on -> "be stored in" or "be part of"
perkj_chrome 2013/11/01 15:49:06 Done.
+ // cookies are cleared. This is called on the IO thread.
+ virtual std::string GetMediaDeviceIDSalt(ResourceContext* rc);
+
// Notification that a pepper plugin has just been spawned. This allows the
// embedder to add filters onto the host to implement interfaces.
// This is called on the IO thread.

Powered by Google App Engine
This is Rietveld 408576698