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

Unified Diff: base/prefs/pref_service.cc

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 6 months 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 | « base/prefs/pref_service.h ('k') | base/prefs/testing_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_service.cc
diff --git a/base/prefs/pref_service.cc b/base/prefs/pref_service.cc
index 6e1d58ca0f163eff22c4048e6691ba3192bec884..a9749b2ba836f6423c8d1696c038ae0b5e139cf0 100644
--- a/base/prefs/pref_service.cc
+++ b/base/prefs/pref_service.cc
@@ -106,6 +106,11 @@ void PrefService::CommitPendingWrite() {
user_pref_store_->CommitPendingWrite();
}
+void PrefService::SchedulePendingLossyWrites() {
+ DCHECK(CalledOnValidThread());
+ user_pref_store_->SchedulePendingLossyWrites();
+}
+
bool PrefService::GetBoolean(const std::string& path) const {
DCHECK(CalledOnValidThread());
« no previous file with comments | « base/prefs/pref_service.h ('k') | base/prefs/testing_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698