summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-25 14:13:15 +0000
committergab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-25 14:13:15 +0000
commitd0e8a90b379b59efaad4d5435844471033ec58bf (patch)
tree44f4b884132bb8591a2222184204c691affa1a14
parent243576fda09119fb91c151395d69c713f0ede6c3 (diff)
downloadchromium_src-d0e8a90b379b59efaad4d5435844471033ec58bf.zip
chromium_src-d0e8a90b379b59efaad4d5435844471033ec58bf.tar.gz
chromium_src-d0e8a90b379b59efaad4d5435844471033ec58bf.tar.bz2
Remove unused method PrefService::ReloadPersistentPrefs().
This was removed as part of removing the import process in issue 219419. BUG=219419 R=battre@chromium.org Review URL: https://codereview.chromium.org/24453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225185 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/prefs/pref_service.cc5
-rw-r--r--base/prefs/pref_service.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/base/prefs/pref_service.cc b/base/prefs/pref_service.cc
index 046af91..1981598 100644
--- a/base/prefs/pref_service.cc
+++ b/base/prefs/pref_service.cc
@@ -87,11 +87,6 @@ void PrefService::InitFromStorage(bool async) {
}
}
-bool PrefService::ReloadPersistentPrefs() {
- return user_pref_store_->ReadPrefs() ==
- PersistentPrefStore::PREF_READ_ERROR_NONE;
-}
-
void PrefService::CommitPendingWrite() {
DCHECK(CalledOnValidThread());
user_pref_store_->CommitPendingWrite();
diff --git a/base/prefs/pref_service.h b/base/prefs/pref_service.h
index 8af042f..757be20 100644
--- a/base/prefs/pref_service.h
+++ b/base/prefs/pref_service.h
@@ -150,11 +150,6 @@ class BASE_PREFS_EXPORT PrefService : public base::NonThreadSafe {
bool async);
virtual ~PrefService();
- // Reloads the data from file. This should only be called when the importer
- // is running during first run, and the main process may not change pref
- // values while the importer process is running. Returns true on success.
- bool ReloadPersistentPrefs();
-
// Lands pending writes to disk. This should only be used if we need to save
// immediately (basically, during shutdown).
void CommitPendingWrite();