Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / prefs / profile_pref_store_manager.h
index f75d3d0..9463d0b 100644 (file)
@@ -98,6 +98,11 @@ class ProfilePrefStoreManager {
   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;
 
@@ -105,6 +110,10 @@ class ProfilePrefStoreManager {
   // 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_;