| Index: chrome/browser/chromeos/arc/arc_auth_service.h
|
| diff --git a/chrome/browser/chromeos/arc/arc_auth_service.h b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| index b61927a80bbfe3d58eb15e25be1622f767f7d13d..853ebf3e70917ab1d801a17cf5917c3686187111 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.h
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| @@ -18,6 +18,7 @@
|
| namespace arc {
|
|
|
| class ArcAuthInfoFetcher;
|
| +enum class ArcAuthInfoFetchStatus;
|
|
|
| // Implementation of ARC authorization.
|
| // TODO(hidehiko): Move to c/b/c/arc/auth with adding tests.
|
| @@ -62,8 +63,10 @@ class ArcAuthService : public ArcService,
|
| std::unique_ptr<AccountInfoNotifier> account_info_notifier);
|
|
|
| // Callbacks when auth info is fetched.
|
| - void OnEnrollmentTokenFetched(const std::string& enrollment_token);
|
| - void OnAuthCodeFetched(const std::string& auth_code);
|
| + void OnEnrollmentTokenFetched(ArcAuthInfoFetchStatus status,
|
| + const std::string& enrollment_token);
|
| + void OnAuthCodeFetched(ArcAuthInfoFetchStatus status,
|
| + const std::string& auth_code);
|
|
|
| // Called to let ARC container know the account info.
|
| void OnAccountInfoReady(mojom::AccountInfoPtr account_info);
|
|
|