From d0e8a90b379b59efaad4d5435844471033ec58bf Mon Sep 17 00:00:00 2001 From: "gab@chromium.org" Date: Wed, 25 Sep 2013 14:13:15 +0000 Subject: 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 --- base/prefs/pref_service.cc | 5 ----- base/prefs/pref_service.h | 5 ----- 2 files changed, 10 deletions(-) (limited to 'base') 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(); -- cgit v1.1