Chromium Code Reviews| 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 cd20eaf7598f4c4a94a6920282fa820373ce1faf..aa5d014ed153256e2b97792a1c922dab9007cf37 100644 |
| --- a/chrome/browser/chromeos/arc/arc_auth_service.h |
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.h |
| @@ -34,6 +34,10 @@ namespace user_prefs { |
| class PrefRegistrySyncable; |
| } |
| +namespace policy { |
| +class AndroidManagementClient; |
| +} |
| + |
| namespace arc { |
| // This class proxies the request from the client to fetch an auth code from |
| @@ -159,6 +163,9 @@ class ArcAuthService : public ArcService, |
| void OnOptInPreferenceChanged(); |
| void StartUI(); |
| void OnPrepareContextFailed(); |
| + void StartAndroidManagementClient(); |
| + void CheckAndroidManagement(); |
| + void OnAndroidManagementChecked(bool success); |
| // Unowned pointer. Keeps current profile. |
| Profile* profile_ = nullptr; |
| @@ -180,6 +187,9 @@ class ArcAuthService : public ArcService, |
| bool context_prepared_ = false; |
| UIPage ui_page_ = UIPage::NO_PAGE; |
| base::string16 ui_page_status_; |
| + std::string auth_token_; |
|
bartfab (slow)
2016/04/18 15:06:15
Nit: #include <string>
Polina Bondarenko
2016/04/20 13:37:45
Done.
|
| + |
| + scoped_ptr<policy::AndroidManagementClient> android_management_client_; |
|
bartfab (slow)
2016/04/18 15:06:15
Nit: Use std::unique_ptr instead.
Polina Bondarenko
2016/05/02 12:22:06
Done.
|
| DISALLOW_COPY_AND_ASSIGN(ArcAuthService); |
| }; |