bool InitializePrefsFromMasterPrefs(
const base::DictionaryValue& master_prefs);
+ // Creates a single-file PrefStore as was used in M34 and earlier. Used only
+ // for testing migration.
+ PersistentPrefStore* CreateDeprecatedCombinedProfilePrefStore(
+ const scoped_refptr<base::SequencedTaskRunner>& io_task_runner);
+
private:
class InitializeHashStoreObserver;
// if |kPlatformSupportsPreferenceTracking|.
scoped_ptr<PrefHashStoreImpl> GetPrefHashStoreImpl();
+ // Returns a PrefHashStore that is a copy of the current state of the real
+ // hash store.
+ scoped_ptr<PrefHashStore> CopyPrefHashStore();
+
const base::FilePath profile_path_;
const std::vector<PrefHashFilter::TrackedPreferenceMetadata>
tracking_configuration_;