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 e4aca45e37fbafeed29d34f99c0485b1001f3d51..8f161ed6a8bd73e4bcbbd25bed609c36ca49f576 100644 |
--- a/chrome/browser/chromeos/arc/arc_auth_service.h |
+++ b/chrome/browser/chromeos/arc/arc_auth_service.h |
@@ -205,7 +205,7 @@ class ArcAuthService : public ArcService, |
UIPage ui_page() const { return ui_page_; } |
// Returns current page status, relevant to the specific page. |
- const base::string16& ui_page_status() { return ui_page_status_; } |
+ const base::string16& ui_page_status() const { return ui_page_status_; } |
private: |
void StartArc(); |
@@ -220,9 +220,12 @@ class ArcAuthService : public ArcService, |
void StartUI(); |
void StartAndroidManagementClient(); |
void CheckAndroidManagement(bool background_mode); |
- void StartArcIfSignedIn(); |
+ void OnAndroidManagementPassed(); |
void OnArcDataRemoved(bool success); |
void OnArcSignInTimeout(); |
+ bool IsAuthCodeRequest() const; |
+ void FetchAuthCode(); |
+ void PrepareContextForAuthCodeRequest(); |
// Unowned pointer. Keeps current profile. |
Profile* profile_ = nullptr; |