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

Side by Side Diff: services/preferences/pref_store_manager_impl.h

Issue 2850743004: Replace ServiceInfo with BindSourceInfo. (Closed)
Patch Set: . Created 3 years, 7 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_PREF_STORE_MANAGER_IMPL_H_ 5 #ifndef SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_
6 #define SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_ 6 #define SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <unordered_map> 10 #include <unordered_map>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // service_manager::InterfaceFactory<PrefServiceControl>: 79 // service_manager::InterfaceFactory<PrefServiceControl>:
80 void Create(const service_manager::Identity& remote_identity, 80 void Create(const service_manager::Identity& remote_identity,
81 prefs::mojom::PrefServiceControlRequest request) override; 81 prefs::mojom::PrefServiceControlRequest request) override;
82 82
83 // PrefServiceControl: 83 // PrefServiceControl:
84 void Init(mojom::PersistentPrefStoreConfigurationPtr configuration) override; 84 void Init(mojom::PersistentPrefStoreConfigurationPtr configuration) override;
85 85
86 // service_manager::Service: 86 // service_manager::Service:
87 void OnStart() override; 87 void OnStart() override;
88 void OnBindInterface(const service_manager::ServiceInfo& source_info, 88 void OnBindInterface(const service_manager::BindSourceInfo& source_info,
89 const std::string& interface_name, 89 const std::string& interface_name,
90 mojo::ScopedMessagePipeHandle interface_pipe) override; 90 mojo::ScopedMessagePipeHandle interface_pipe) override;
91 91
92 // Called when a PrefStore previously registered using |Register| disconnects. 92 // Called when a PrefStore previously registered using |Register| disconnects.
93 void OnPrefStoreDisconnect(PrefValueStore::PrefStoreType type); 93 void OnPrefStoreDisconnect(PrefValueStore::PrefStoreType type);
94 94
95 // Have all the expected PrefStores connected? 95 // Have all the expected PrefStores connected?
96 bool AllConnected() const; 96 bool AllConnected() const;
97 97
98 void ProcessPendingConnects(); 98 void ProcessPendingConnects();
(...skipping 28 matching lines...) Expand all
127 const scoped_refptr<base::SequencedWorkerPool> worker_pool_; 127 const scoped_refptr<base::SequencedWorkerPool> worker_pool_;
128 128
129 service_manager::BinderRegistry registry_; 129 service_manager::BinderRegistry registry_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(PrefStoreManagerImpl); 131 DISALLOW_COPY_AND_ASSIGN(PrefStoreManagerImpl);
132 }; 132 };
133 133
134 } // namespace prefs 134 } // namespace prefs
135 135
136 #endif // SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_ 136 #endif // SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « services/preferences/pref_service_factory_unittest.cc ('k') | services/preferences/pref_store_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698