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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 2820163002: Move MediaDeviceIDSalt from ProfileIOData to ProfileImpl. (Closed)
Patch Set: merge Created 3 years, 8 months 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
« no previous file with comments | « chrome/browser/media/media_device_id_salt.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 7956e02e5246a6b9660071a8cb14e548e0ced412..d2cd7334ffb55600aa3a3378803ab39cda27fba0 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -25,6 +25,7 @@
#include "content/public/browser/host_zoom_map.h"
#include "extensions/features/features.h"
+class MediaDeviceIDSalt;
class PrefService;
#if defined(OS_CHROMEOS)
@@ -97,6 +98,7 @@ class ProfileImpl : public Profile {
const base::FilePath& partition_path,
bool in_memory) override;
void RegisterInProcessServices(StaticServiceMap* services) override;
+ std::string GetMediaDeviceIDSalt() override;
// Profile implementation:
scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override;
@@ -251,6 +253,11 @@ class ProfileImpl : public Profile {
std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
+ // TODO(mmenke): This should be removed from the Profile, and use a
+ // BrowserContextKeyedService instead.
+ // See https://crbug.com/713733
+ scoped_refptr<MediaDeviceIDSalt> media_device_id_salt_;
+
// STOP!!!! DO NOT ADD ANY MORE ITEMS HERE!!!!
//
// Instead, make your Service/Manager/whatever object you're hanging off the
« no previous file with comments | « chrome/browser/media/media_device_id_salt.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698