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

Unified Diff: chrome/browser/profiles/profile_io_data.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: Addressed more comments. 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: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index fcdf2a9fffae5083c0915c1782ead31a482d96a1..1236c6dee591b64fc6659fd7765afeef2edf54a7 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -33,6 +33,7 @@ class DesktopNotificationService;
class ExtensionInfoMap;
class HostContentSettingsMap;
class ManagedModeURLFilter;
+class MediaDeviceIDSalt;
class Profile;
class ProtocolHandlerRegistry;
class SigninNamesOnIOThread;
@@ -173,6 +174,8 @@ class ProfileIOData {
return &signin_allowed_;
}
+ std::string GetMediaDeviceIDSalt() const;
+
net::TransportSecurityState* transport_security_state() const {
return transport_security_state_.get();
}
@@ -530,6 +533,8 @@ class ProfileIOData {
mutable chrome_browser_net::LoadTimeStats* load_time_stats_;
+ mutable scoped_ptr<MediaDeviceIDSalt> media_device_id_salt_;
+
#if defined(ENABLE_MANAGED_USERS)
mutable scoped_refptr<const ManagedModeURLFilter> managed_mode_url_filter_;
#endif

Powered by Google App Engine
This is Rietveld 408576698