| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "chrome/browser/chromeos/policy/device_cloud_policy_initializer.h" | 13 #include "chrome/browser/chromeos/policy/device_cloud_policy_initializer.h" |
| 14 | 14 |
| 15 class GoogleServiceAuthError; | 15 class GoogleServiceAuthError; |
| 16 class Profile; | |
| 17 | 16 |
| 18 namespace policy { | 17 namespace policy { |
| 19 struct EnrollmentConfig; | 18 struct EnrollmentConfig; |
| 20 class EnrollmentStatus; | 19 class EnrollmentStatus; |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace chromeos { | 22 namespace chromeos { |
| 24 | 23 |
| 25 // This class is capable to enroll the device into enterprise domain, using | 24 // This class is capable to enroll the device into enterprise domain, using |
| 26 // either a profile containing authentication data or OAuth token. | 25 // either a profile containing authentication data or OAuth token. |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 // If this is not nullptr, then it will be used to create the enrollment | 136 // If this is not nullptr, then it will be used to create the enrollment |
| 138 // helper. |create_mock_enrollment_helper_| needs to outlive this class. | 137 // helper. |create_mock_enrollment_helper_| needs to outlive this class. |
| 139 static CreateMockEnrollmentHelper create_mock_enrollment_helper_; | 138 static CreateMockEnrollmentHelper create_mock_enrollment_helper_; |
| 140 | 139 |
| 141 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentHelper); | 140 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentHelper); |
| 142 }; | 141 }; |
| 143 | 142 |
| 144 } // namespace chromeos | 143 } // namespace chromeos |
| 145 | 144 |
| 146 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER
_H_ | 145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER
_H_ |
| OLD | NEW |