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_IM
PL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_IM
PL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_IM
PL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_IM
PL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.
h" | 15 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.
h" |
16 #include "chrome/browser/chromeos/policy/enrollment_config.h" | 16 #include "chrome/browser/chromeos/policy/enrollment_config.h" |
17 #include "components/policy/core/common/cloud/enterprise_metrics.h" | 17 #include "components/policy/core/common/cloud/enterprise_metrics.h" |
18 #include "google_apis/gaia/google_service_auth_error.h" | 18 #include "google_apis/gaia/google_service_auth_error.h" |
19 | 19 |
20 class Profile; | |
21 | |
22 namespace policy { | 20 namespace policy { |
23 class PolicyOAuth2TokenFetcher; | 21 class PolicyOAuth2TokenFetcher; |
24 } | 22 } |
25 | 23 |
26 namespace chromeos { | 24 namespace chromeos { |
27 | 25 |
28 class EnterpriseEnrollmentHelperImpl : public EnterpriseEnrollmentHelper { | 26 class EnterpriseEnrollmentHelperImpl : public EnterpriseEnrollmentHelper { |
29 public: | 27 public: |
30 EnterpriseEnrollmentHelperImpl( | 28 EnterpriseEnrollmentHelperImpl( |
31 EnrollmentStatusConsumer* status_consumer, | 29 EnrollmentStatusConsumer* status_consumer, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 std::unique_ptr<policy::PolicyOAuth2TokenFetcher> oauth_fetcher_; | 92 std::unique_ptr<policy::PolicyOAuth2TokenFetcher> oauth_fetcher_; |
95 | 93 |
96 base::WeakPtrFactory<EnterpriseEnrollmentHelperImpl> weak_ptr_factory_; | 94 base::WeakPtrFactory<EnterpriseEnrollmentHelperImpl> weak_ptr_factory_; |
97 | 95 |
98 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentHelperImpl); | 96 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentHelperImpl); |
99 }; | 97 }; |
100 | 98 |
101 } // namespace chromeos | 99 } // namespace chromeos |
102 | 100 |
103 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER
_IMPL_H_ | 101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER
_IMPL_H_ |
OLD | NEW |