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

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

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PREFS_OBSERVER_STORE_H_ 5 #ifndef SERVICES_PREFERENCES_PUBLIC_CPP_PREFS_OBSERVER_STORE_H_
6 #define SERVICES_PREFERENCES_PUBLIC_CPP_PREFS_OBSERVER_STORE_H_ 6 #define SERVICES_PREFERENCES_PUBLIC_CPP_PREFS_OBSERVER_STORE_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/prefs/value_map_pref_store.h" 11 #include "components/prefs/value_map_pref_store.h"
12 #include "mojo/common/common_custom_types.mojom.h"
13 #include "mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
14 #include "services/preferences/public/interfaces/preferences.mojom.h" 13 #include "services/preferences/public/interfaces/preferences.mojom.h"
15 14
16 namespace shell { 15 namespace shell {
17 class Connector; 16 class Connector;
18 } 17 }
19 18
20 class PrefObserverStoreTest; 19 class PrefObserverStoreTest;
21 20
22 // An implementation of PrefStore which uses prefs::mojom::PreferenceManager as 21 // An implementation of PrefStore which uses prefs::mojom::PreferenceManager as
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 72
74 std::set<std::string> keys_; 73 std::set<std::string> keys_;
75 74
76 // True upon the first OnPreferencesChanged received after Init. 75 // True upon the first OnPreferencesChanged received after Init.
77 bool initialized_; 76 bool initialized_;
78 77
79 DISALLOW_COPY_AND_ASSIGN(PrefObserverStore); 78 DISALLOW_COPY_AND_ASSIGN(PrefObserverStore);
80 }; 79 };
81 80
82 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_PREFS_OBSERVER_STORE_H_ 81 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_PREFS_OBSERVER_STORE_H_
OLDNEW
« no previous file with comments | « services/catalog/public/interfaces/catalog.mojom ('k') | services/preferences/public/cpp/pref_observer_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698