Chromium Code Reviews| Index: content/public/browser/resource_context.h |
| diff --git a/content/public/browser/resource_context.h b/content/public/browser/resource_context.h |
| index 7019fb715f61f9a0cd277e82b456d89ca5a086d6..967378f5fbe66dcf13e1b908b66c50e6c71478ba 100644 |
| --- a/content/public/browser/resource_context.h |
| +++ b/content/public/browser/resource_context.h |
| @@ -55,6 +55,11 @@ class CONTENT_EXPORT ResourceContext : public base::SupportsUserData { |
| // determine what level of authorization is given to |origin| to access |
| // resource metadata. |
| virtual bool AllowCameraAccess(const GURL& origin) = 0; |
| + |
| + // Returns a random salt string that is used for creating MediaSourceIDs. |
|
Jói
2013/11/04 16:53:29
MediaSourceIDs -> media device IDs (?)
|
| + // The salt should be stored in the current user profile and should be reset |
| + // if cookies are cleared. This is called on the IO thread. |
|
Jói
2013/11/04 16:53:29
"This is called on the IO thread" is probably redu
|
| + virtual std::string GetMediaDeviceIDSalt() = 0; |
| }; |
| } // namespace content |