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

Unified Diff: services/preferences/persistent_pref_store_impl.h

Issue 2791893002: Pref service: Batch pref updates. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « no previous file | services/preferences/persistent_pref_store_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/persistent_pref_store_impl.h
diff --git a/services/preferences/persistent_pref_store_impl.h b/services/preferences/persistent_pref_store_impl.h
index 49d9cd93b62812a5996a6f9c6c6cc38b98d9d862..5111ed7f4e2ecc93065e21a6a4ff322c3cca1963 100644
--- a/services/preferences/persistent_pref_store_impl.h
+++ b/services/preferences/persistent_pref_store_impl.h
@@ -14,10 +14,6 @@
#include "services/preferences/public/interfaces/preferences.mojom.h"
#include "services/preferences/public/interfaces/tracked_preference_validation_delegate.mojom.h"
-namespace base {
-class Value;
-}
-
namespace prefs {
class PersistentPrefStoreImpl : public PrefStore::Observer {
@@ -40,9 +36,7 @@ class PersistentPrefStoreImpl : public PrefStore::Observer {
private:
class Connection;
- void SetValue(const std::string& key,
- std::unique_ptr<base::Value> value,
- uint32_t flags);
+ void SetValues(std::vector<mojom::PrefUpdatePtr> updates);
void CommitPendingWrite();
void SchedulePendingLossyWrites();
« no previous file with comments | « no previous file | services/preferences/persistent_pref_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698