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

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

Issue 2065383003: Revert of Make default media device ID salts random by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/browser/media/media_device_id_salt.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5f7078d8cc21fec039335ee0168f6e5a7fb5a014..e8afc1df863fbeb035158d5082bb39e45a1457a6 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -29,6 +29,7 @@
#include "components/prefs/pref_member.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/resource_context.h"
+#include "net/cert/ct_verifier.h"
#include "net/cookies/cookie_monster.h"
#include "net/http/http_cache.h"
#include "net/http/http_network_session.h"
@@ -184,11 +185,7 @@
return &network_prediction_options_;
}
- bool HasMediaDeviceIDSalt() const {
- return media_device_id_salt_.get() != nullptr;
- }
-
- std::string GetMediaDeviceIDSalt() const;
+ content::ResourceContext::SaltCallback GetMediaDeviceIDSalt() const;
DevToolsNetworkControllerHandle* network_controller_handle() const {
return &network_controller_handle_;
@@ -439,7 +436,7 @@
const GURL& url,
const base::Callback<void(std::unique_ptr<net::KeygenHandler>)>&
callback) override;
- std::string GetMediaDeviceIDSalt() override;
+ SaltCallback GetMediaDeviceIDSalt() override;
private:
friend class ProfileIOData;
« no previous file with comments | « chrome/browser/media/media_device_id_salt.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698