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

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

Issue 2745563005: Pref service: add support for tracked prefs. (Closed)
Patch Set: Created 3 years, 9 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_unittest.cc
diff --git a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
index 62d22de8fd07e71ff35780716525a3f4323729e5..34ace43fd4b38c3e9afb7d77b4551e8fe8357c5a 100644
--- a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
+++ b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
@@ -131,9 +131,9 @@ class ProfilePrefStoreManagerTest : public testing::Test {
}
void ReloadConfiguration() {
- manager_.reset(new ProfilePrefStoreManager(
- profile_dir_.GetPath(), configuration_, kReportingIdCount, seed_,
- "device_id", &local_state_));
+ manager_.reset(
+ new ProfilePrefStoreManager(profile_dir_.GetPath(), configuration_,
+ kReportingIdCount, seed_, "device_id"));
}
void TearDown() override { DestroyPrefStore(); }
@@ -265,7 +265,6 @@ class ProfilePrefStoreManagerTest : public testing::Test {
base::MessageLoop main_message_loop_;
std::vector<PrefHashFilter::TrackedPreferenceMetadata> configuration_;
base::ScopedTempDir profile_dir_;
- TestingPrefServiceSimple local_state_;
scoped_refptr<user_prefs::PrefRegistrySyncable> profile_pref_registry_;
RegistryVerifier registry_verifier_;
scoped_refptr<MockValidationDelegateRecord> mock_validation_delegate_record_;

Powered by Google App Engine
This is Rietveld 408576698