| 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 13080e11bee63658a564ef052f21d4729f4e657b..b61927a80bbfe3d58eb15e25be1622f767f7d13d 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.h
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| @@ -17,7 +17,7 @@
|
|
|
| namespace arc {
|
|
|
| -class ArcAuthCodeFetcher;
|
| +class ArcAuthInfoFetcher;
|
|
|
| // Implementation of ARC authorization.
|
| // TODO(hidehiko): Move to c/b/c/arc/auth with adding tests.
|
| @@ -61,7 +61,8 @@ class ArcAuthService : public ArcService,
|
| void RequestAccountInfoInternal(
|
| std::unique_ptr<AccountInfoNotifier> account_info_notifier);
|
|
|
| - // Callback on auth_code fetched.
|
| + // Callbacks when auth info is fetched.
|
| + void OnEnrollmentTokenFetched(const std::string& enrollment_token);
|
| void OnAuthCodeFetched(const std::string& auth_code);
|
|
|
| // Called to let ARC container know the account info.
|
| @@ -70,7 +71,7 @@ class ArcAuthService : public ArcService,
|
| mojo::Binding<mojom::AuthHost> binding_;
|
|
|
| std::unique_ptr<AccountInfoNotifier> notifier_;
|
| - std::unique_ptr<ArcAuthCodeFetcher> fetcher_;
|
| + std::unique_ptr<ArcAuthInfoFetcher> fetcher_;
|
|
|
| base::WeakPtrFactory<ArcAuthService> weak_ptr_factory_;
|
|
|
|
|