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

Side by Side Diff: services/preferences/public/cpp/pref_store_impl.h

Issue 2812863002: Pref service: Add a ScopedDictionaryPrefUpdate to track value changes. (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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_PREFERENCES_PUBLIC_CPP_PREF_STORE_IMPL_H_ 5 #ifndef SERVICES_PREFERENCES_PUBLIC_CPP_PREF_STORE_IMPL_H_
6 #define SERVICES_PREFERENCES_PUBLIC_CPP_PREF_STORE_IMPL_H_ 6 #define SERVICES_PREFERENCES_PUBLIC_CPP_PREF_STORE_IMPL_H_
7 7
8 #include <string>
8 #include <vector> 9 #include <vector>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "components/prefs/pref_store.h" 13 #include "components/prefs/pref_store.h"
13 #include "components/prefs/pref_value_store.h" 14 #include "components/prefs/pref_value_store.h"
14 #include "mojo/public/cpp/bindings/binding.h" 15 #include "mojo/public/cpp/bindings/binding.h"
15 #include "services/preferences/public/interfaces/preferences.mojom.h" 16 #include "services/preferences/public/interfaces/preferences.mojom.h"
16 17
17 namespace prefs { 18 namespace prefs {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 bool backing_pref_store_initialized_; 55 bool backing_pref_store_initialized_;
55 56
56 mojo::Binding<mojom::PrefStore> binding_; 57 mojo::Binding<mojom::PrefStore> binding_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(PrefStoreImpl); 59 DISALLOW_COPY_AND_ASSIGN(PrefStoreImpl);
59 }; 60 };
60 61
61 } // namespace prefs 62 } // namespace prefs
62 63
63 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_PREF_STORE_IMPL_H_ 64 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_PREF_STORE_IMPL_H_
OLDNEW
« no previous file with comments | « services/preferences/public/cpp/pref_store_client_mixin.cc ('k') | services/preferences/public/cpp/pref_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698