| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |