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

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

Issue 1987643002: Make default media device ID salts random by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix for compile error Created 4 years, 6 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
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 6b00aa88af4c4e48e7a88ae5aa8615fb79a5c483..0913c6863ba56abe111d77555d810ad7fb147739 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -185,6 +185,10 @@ class ProfileIOData {
return &network_prediction_options_;
}
+ bool HasMediaDeviceIDSalt() const {
+ return media_device_id_salt_.get() != nullptr;
+ }
+
content::ResourceContext::SaltCallback GetMediaDeviceIDSalt() const;
DevToolsNetworkControllerHandle* network_controller_handle() const {

Powered by Google App Engine
This is Rietveld 408576698