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

Unified Diff: chrome/browser/prefs/profile_pref_store_manager.cc

Issue 2634403002: Use GetDeterministicMachineSpecificId instead of RLZ for device_id (Closed)
Patch Set: Rebase Created 3 years, 11 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/prefs/profile_pref_store_manager.cc
diff --git a/chrome/browser/prefs/profile_pref_store_manager.cc b/chrome/browser/prefs/profile_pref_store_manager.cc
index 80716a38ac72a1e8ad76f2294d435d17bd33c757..98f85db941adbc593d951c97aaad3117be85cc6a 100644
--- a/chrome/browser/prefs/profile_pref_store_manager.cc
+++ b/chrome/browser/prefs/profile_pref_store_manager.cc
@@ -63,13 +63,13 @@ ProfilePrefStoreManager::ProfilePrefStoreManager(
tracking_configuration,
size_t reporting_ids_count,
const std::string& seed,
- const std::string& device_id,
+ const std::string& legacy_device_id,
PrefService* local_state)
: profile_path_(profile_path),
tracking_configuration_(tracking_configuration),
reporting_ids_count_(reporting_ids_count),
seed_(seed),
- device_id_(device_id),
+ legacy_device_id_(legacy_device_id),
local_state_(local_state) {}
ProfilePrefStoreManager::~ProfilePrefStoreManager() {}
@@ -210,7 +210,7 @@ std::unique_ptr<PrefHashStore> ProfilePrefStoreManager::GetPrefHashStore(
DCHECK(kPlatformSupportsPreferenceTracking);
return std::unique_ptr<PrefHashStore>(
- new PrefHashStoreImpl(seed_, device_id_, use_super_mac));
+ new PrefHashStoreImpl(seed_, legacy_device_id_, use_super_mac));
}
std::pair<std::unique_ptr<PrefHashStore>, std::unique_ptr<HashStoreContents>>
@@ -219,7 +219,7 @@ ProfilePrefStoreManager::GetExternalVerificationPrefHashStorePair() {
#if defined(OS_WIN)
return std::make_pair(
base::MakeUnique<PrefHashStoreImpl>(
- "ChromeRegistryHashStoreValidationSeed", device_id_,
+ "ChromeRegistryHashStoreValidationSeed", legacy_device_id_,
false /* use_super_mac */),
g_preference_validation_registry_path_for_testing
? base::MakeUnique<RegistryHashStoreContentsWin>(
« no previous file with comments | « chrome/browser/prefs/profile_pref_store_manager.h ('k') | components/user_prefs/tracked/pref_hash_calculator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698