Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2028)

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.h

Issue 2655873002: Get enrollment token from DMServer when an Active Directory user uses ARC (Closed)
Patch Set: Fix Luis's comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698