| Index: chrome/browser/media/media_device_id_salt.h
|
| diff --git a/chrome/browser/media/media_device_id_salt.h b/chrome/browser/media/media_device_id_salt.h
|
| index 8db27317d876f871a2278506487d842ae37f02f9..5e1ec8fde31fe3150deceb44b95acb5d53480668 100644
|
| --- a/chrome/browser/media/media_device_id_salt.h
|
| +++ b/chrome/browser/media/media_device_id_salt.h
|
| @@ -22,7 +22,7 @@
|
| // callback returned by ResourceContext::GetMediaDeviceIDSalt.
|
| class MediaDeviceIDSalt : public base::RefCountedThreadSafe<MediaDeviceIDSalt> {
|
| public:
|
| - explicit MediaDeviceIDSalt(PrefService* pref_service);
|
| + MediaDeviceIDSalt(PrefService* pref_service, bool incognito);
|
| void ShutdownOnUIThread();
|
|
|
| std::string GetSalt() const;
|
| @@ -34,6 +34,9 @@
|
| friend class base::RefCountedThreadSafe<MediaDeviceIDSalt>;
|
| ~MediaDeviceIDSalt();
|
|
|
| + // |incognito_salt_| is initialized in ctor on UI thread but only read
|
| + // on the IO thread.
|
| + std::string incognito_salt_;
|
| mutable StringPrefMember media_device_id_salt_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MediaDeviceIDSalt);
|
|
|