| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <ostream> | 9 #include <ostream> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 std::unique_ptr<ArcAuthCodeFetcher> auth_code_fetcher_; | 256 std::unique_ptr<ArcAuthCodeFetcher> auth_code_fetcher_; |
| 257 std::unique_ptr<ArcAndroidManagementChecker> android_management_checker_; | 257 std::unique_ptr<ArcAndroidManagementChecker> android_management_checker_; |
| 258 | 258 |
| 259 base::Time sign_in_time_; | 259 base::Time sign_in_time_; |
| 260 | 260 |
| 261 base::WeakPtrFactory<ArcAuthService> weak_ptr_factory_; | 261 base::WeakPtrFactory<ArcAuthService> weak_ptr_factory_; |
| 262 | 262 |
| 263 DISALLOW_COPY_AND_ASSIGN(ArcAuthService); | 263 DISALLOW_COPY_AND_ASSIGN(ArcAuthService); |
| 264 }; | 264 }; |
| 265 | 265 |
| 266 // Outputs the stringified |state| to |os|. This is only for logging purposes. |
| 266 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state); | 267 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state); |
| 267 | 268 |
| 268 } // namespace arc | 269 } // namespace arc |
| 269 | 270 |
| 270 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ | 271 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ |
| OLD | NEW |