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