| 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 CHROME_BROWSER_SIGNIN_CROSS_DEVICE_PROMO_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_CROSS_DEVICE_PROMO_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_CROSS_DEVICE_PROMO_H_ | 6 #define CHROME_BROWSER_SIGNIN_CROSS_DEVICE_PROMO_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 9 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| 10 #include "components/keyed_service/core/keyed_service.h" | 11 #include "components/keyed_service/core/keyed_service.h" |
| 11 #include "components/signin/core/browser/device_activity_fetcher.h" | 12 #include "components/signin/core/browser/device_activity_fetcher.h" |
| 12 #include "components/signin/core/browser/gaia_cookie_manager_service.h" | 13 #include "components/signin/core/browser/gaia_cookie_manager_service.h" |
| 13 | 14 |
| 14 class PrefService; | 15 class PrefService; |
| 15 class SigninClient; | 16 class SigninClient; |
| 16 class SigninManager; | 17 class SigninManager; |
| 17 | 18 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 229 |
| 229 // Used to delay the check of device activity. See | 230 // Used to delay the check of device activity. See |
| 230 // OnFetchDeviceActivitySuccess() or MaybeBrowsingSessionStarted(), as well as | 231 // OnFetchDeviceActivitySuccess() or MaybeBrowsingSessionStarted(), as well as |
| 231 // |delay_until_next_device_activity_fetch_|, for details. | 232 // |delay_until_next_device_activity_fetch_|, for details. |
| 232 base::OneShotTimer device_activity_timer_; | 233 base::OneShotTimer device_activity_timer_; |
| 233 | 234 |
| 234 DISALLOW_COPY_AND_ASSIGN(CrossDevicePromo); | 235 DISALLOW_COPY_AND_ASSIGN(CrossDevicePromo); |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 #endif // CHROME_BROWSER_SIGNIN_CROSS_DEVICE_PROMO_H_ | 238 #endif // CHROME_BROWSER_SIGNIN_CROSS_DEVICE_PROMO_H_ |
| OLD | NEW |