|
Pref service: add persistent pref store frontend and backend.
Key parts:
- PersistentPrefStoreImpl: A mojo adapter that provides access from
multiple clients to a single PersistentPrefStore.
- PersistentPrefStoreClient: This bridges the PersistentPrefStore
interface and a mojo connection to the PersistentPrefStoreImpl
backend.
- PrefStoreClientMixin: This is a version of PrefStoreClient modified
to be a mixin so it can be reused by PersistentPrefStoreClient to
implement the PrefStore part of the PersistentPrefStore interface.
- PrefStoreClient: The functionality that was previously here mostly
moved into PrefStoreClientMixin, which this now uses.
BUG= 654988
Review-Url: https://codereview.chromium.org/2743563003
Cr-Commit-Position: refs/heads/master@{#456306}
Committed: https://chromium.googlesource.com/chromium/src/+/564fe924388fd462939f76cb1894dbface5eef71
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1280 lines, -113 lines) |
Patch |
|
M |
services/preferences/BUILD.gn
|
View
|
1
|
2 chunks |
+34 lines, -1 line |
0 comments
|
Download
|
|
A |
services/preferences/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
services/preferences/persistent_pref_store_impl.h
|
View
|
1
2
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
services/preferences/persistent_pref_store_impl.cc
|
View
|
1
|
1 chunk |
+165 lines, -0 lines |
0 comments
|
Download
|
|
A |
services/preferences/persistent_pref_store_impl_unittest.cc
|
View
|
1
2
|
1 chunk |
+459 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/BUILD.gn
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
services/preferences/public/cpp/persistent_pref_store_client.h
|
View
|
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
A |
services/preferences/public/cpp/persistent_pref_store_client.cc
|
View
|
1
|
1 chunk |
+129 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/pref_store_client.h
|
View
|
|
2 chunks |
+2 lines, -34 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/pref_store_client.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -64 lines |
0 comments
|
Download
|
|
A |
services/preferences/public/cpp/pref_store_client_mixin.h
|
View
|
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
|
A |
services/preferences/public/cpp/pref_store_client_mixin.cc
|
View
|
1
2
|
1 chunk |
+122 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/preferences.typemap
|
View
|
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/preferences_struct_traits.h
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/preferences_struct_traits.cc
|
View
|
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/tests/BUILD.gn
|
View
|
|
2 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
|
M |
services/preferences/public/cpp/tests/pref_store_client_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
services/preferences/public/interfaces/preferences.mojom
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 48 (39 generated)
|