OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PROXIMITY_AUTH_CRYPTAUTH_CRYPTAUTH_DEVICE_MANAGER_H | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_CRYPTAUTH_DEVICE_MANAGER_H |
6 #define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_CRYPTAUTH_DEVICE_MANAGER_H | 6 #define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_CRYPTAUTH_DEVICE_MANAGER_H |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
11 #include "base/time/clock.h" | 12 #include "base/time/clock.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager.h" | 14 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager.h" |
14 #include "components/proximity_auth/cryptauth/proto/cryptauth_api.pb.h" | 15 #include "components/proximity_auth/cryptauth/proto/cryptauth_api.pb.h" |
15 #include "components/proximity_auth/cryptauth/sync_scheduler.h" | 16 #include "components/proximity_auth/cryptauth/sync_scheduler.h" |
16 | 17 |
17 class PrefService; | 18 class PrefService; |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 base::ObserverList<Observer> observers_; | 161 base::ObserverList<Observer> observers_; |
161 | 162 |
162 base::WeakPtrFactory<CryptAuthDeviceManager> weak_ptr_factory_; | 163 base::WeakPtrFactory<CryptAuthDeviceManager> weak_ptr_factory_; |
163 | 164 |
164 DISALLOW_COPY_AND_ASSIGN(CryptAuthDeviceManager); | 165 DISALLOW_COPY_AND_ASSIGN(CryptAuthDeviceManager); |
165 }; | 166 }; |
166 | 167 |
167 } // namespace proximity_auth | 168 } // namespace proximity_auth |
168 | 169 |
169 #endif // COMPONENTS_PROXIMITY_CRYPTAUTH_CRYPTAUTH_DEVICE_MANAGER_H | 170 #endif // COMPONENTS_PROXIMITY_CRYPTAUTH_CRYPTAUTH_DEVICE_MANAGER_H |
OLD | NEW |