| 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 f8bd222204cbe6ba15c22032e69ca2054403547b..b2367b0daa119850230a38d5b11d4632f53ace32 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.h
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "chrome/browser/chromeos/arc/auth/arc_auth_info_fetcher.h"
|
| #include "components/arc/arc_service.h"
|
| #include "components/arc/common/auth.mojom.h"
|
| #include "components/arc/instance_holder.h"
|
| @@ -17,8 +18,6 @@
|
|
|
| namespace arc {
|
|
|
| -class ArcAuthInfoFetcher;
|
| -
|
| // Implementation of ARC authorization.
|
| // TODO(hidehiko): Move to c/b/c/arc/auth with adding tests.
|
| class ArcAuthService : public ArcService,
|
| @@ -63,8 +62,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(ArcAuthInfoFetcher::Status status,
|
| + const std::string& enrollment_token);
|
| + void OnAuthCodeFetched(ArcAuthInfoFetcher::Status status,
|
| + const std::string& auth_code);
|
|
|
| // Called to let ARC container know the account info.
|
| void OnAccountInfoReady(mojom::AccountInfoPtr account_info);
|
|
|