| 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_SESSION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <ostream> | 9 #include <ostream> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 namespace user_prefs { | 33 namespace user_prefs { |
| 34 class PrefRegistrySyncable; | 34 class PrefRegistrySyncable; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace arc { | 37 namespace arc { |
| 38 | 38 |
| 39 class ArcAndroidManagementChecker; | 39 class ArcAndroidManagementChecker; |
| 40 class ArcAuthCodeFetcher; | 40 class ArcAuthCodeFetcher; |
| 41 class ArcAuthContext; | 41 class ArcAuthContext; |
| 42 class ArcOptInPreferenceHandler; | 42 class ArcOptInPreferenceHandler; |
| 43 class ArcRobotAuth; | |
| 44 enum class ProvisioningResult : int; | 43 enum class ProvisioningResult : int; |
| 45 | 44 |
| 46 // This class proxies the request from the client to fetch an auth code from | 45 // This class proxies the request from the client to fetch an auth code from |
| 47 // LSO. It lives on the UI thread. | 46 // LSO. It lives on the UI thread. |
| 48 class ArcSessionManager : public ArcService, | 47 class ArcSessionManager : public ArcService, |
| 49 public ArcBridgeService::Observer, | 48 public ArcBridgeService::Observer, |
| 50 public ArcSupportHost::Observer, | 49 public ArcSupportHost::Observer, |
| 51 public ArcOptInPreferenceHandlerObserver, | 50 public ArcOptInPreferenceHandlerObserver, |
| 52 public sync_preferences::PrefServiceSyncableObserver, | 51 public sync_preferences::PrefServiceSyncableObserver, |
| 53 public sync_preferences::SyncedPrefObserver { | 52 public sync_preferences::SyncedPrefObserver { |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 DISALLOW_COPY_AND_ASSIGN(ArcSessionManager); | 262 DISALLOW_COPY_AND_ASSIGN(ArcSessionManager); |
| 264 }; | 263 }; |
| 265 | 264 |
| 266 // Outputs the stringified |state| to |os|. This is only for logging purposes. | 265 // Outputs the stringified |state| to |os|. This is only for logging purposes. |
| 267 std::ostream& operator<<(std::ostream& os, | 266 std::ostream& operator<<(std::ostream& os, |
| 268 const ArcSessionManager::State& state); | 267 const ArcSessionManager::State& state); |
| 269 | 268 |
| 270 } // namespace arc | 269 } // namespace arc |
| 271 | 270 |
| 272 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ | 271 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ |
| OLD | NEW |