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

Side by Side Diff: components/ownership/owner_settings_service.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_OWNERSHIP_OWNER_SETTINGS_SERVICE_H_ 5 #ifndef COMPONENTS_OWNERSHIP_OWNER_SETTINGS_SERVICE_H_
6 #define COMPONENTS_OWNERSHIP_OWNER_SETTINGS_SERVICE_H_ 6 #define COMPONENTS_OWNERSHIP_OWNER_SETTINGS_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual void OnPostKeypairLoadedActions() = 0; 128 virtual void OnPostKeypairLoadedActions() = 0;
129 129
130 scoped_refptr<ownership::PublicKey> public_key_; 130 scoped_refptr<ownership::PublicKey> public_key_;
131 131
132 scoped_refptr<ownership::PrivateKey> private_key_; 132 scoped_refptr<ownership::PrivateKey> private_key_;
133 133
134 scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_; 134 scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_;
135 135
136 std::vector<IsOwnerCallback> pending_is_owner_callbacks_; 136 std::vector<IsOwnerCallback> pending_is_owner_callbacks_;
137 137
138 ObserverList<Observer> observers_; 138 base::ObserverList<Observer> observers_;
139 139
140 base::ThreadChecker thread_checker_; 140 base::ThreadChecker thread_checker_;
141 141
142 private: 142 private:
143 base::WeakPtrFactory<OwnerSettingsService> weak_factory_; 143 base::WeakPtrFactory<OwnerSettingsService> weak_factory_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(OwnerSettingsService); 145 DISALLOW_COPY_AND_ASSIGN(OwnerSettingsService);
146 }; 146 };
147 147
148 } // namespace ownership 148 } // namespace ownership
149 149
150 #endif // COMPONENTS_OWNERSHIP_OWNER_SETTINGS_SERVICE_H_ 150 #endif // COMPONENTS_OWNERSHIP_OWNER_SETTINGS_SERVICE_H_
OLDNEW
« no previous file with comments | « components/metrics/metrics_service.h ('k') | components/pairing/bluetooth_controller_pairing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698