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

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

Issue 8198007: Remove PrefService::ScheduleSavePersistentPrefs and SavePersistentPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years 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
« no previous file with comments | « chrome/browser/prefs/testing_pref_store.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/testing_pref_store.cc
diff --git a/chrome/browser/prefs/testing_pref_store.cc b/chrome/browser/prefs/testing_pref_store.cc
index d08016914740a30e3c2459b19ca7f9556dd9b5ba..3c6b631712d6ef4ca6ce255d2de14ddca9520f3c 100644
--- a/chrome/browser/prefs/testing_pref_store.cc
+++ b/chrome/browser/prefs/testing_pref_store.cc
@@ -65,11 +65,6 @@ void TestingPrefStore::ReadPrefsAsync(ReadErrorDelegate* error_delegate_raw) {
NotifyInitializationCompleted();
}
-bool TestingPrefStore::WritePrefs() {
- prefs_written_ = true;
- return prefs_written_;
-}
-
void TestingPrefStore::SetInitializationCompleted() {
init_complete_ = true;
NotifyInitializationCompleted();
@@ -128,11 +123,3 @@ bool TestingPrefStore::GetBoolean(const std::string& key, bool* value) const {
void TestingPrefStore::set_read_only(bool read_only) {
read_only_ = read_only;
}
-
-void TestingPrefStore::set_prefs_written(bool status) {
- prefs_written_ = status;
-}
-
-bool TestingPrefStore::get_prefs_written() {
- return prefs_written_;
-}
« no previous file with comments | « chrome/browser/prefs/testing_pref_store.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698