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 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_
impl.h" | 5 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_
impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
10 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
11 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/browser_process_platform_part.h" | 13 #include "chrome/browser/browser_process_platform_part.h" |
13 #include "chrome/browser/chromeos/login/enrollment/enrollment_uma.h" | 14 #include "chrome/browser/chromeos/login/enrollment/enrollment_uma.h" |
14 #include "chrome/browser/chromeos/login/startup_utils.h" | 15 #include "chrome/browser/chromeos/login/startup_utils.h" |
15 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 16 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
16 #include "chrome/browser/chromeos/policy/device_cloud_policy_initializer.h" | 17 #include "chrome/browser/chromeos/policy/device_cloud_policy_initializer.h" |
17 #include "chrome/browser/chromeos/policy/enrollment_status_chromeos.h" | 18 #include "chrome/browser/chromeos/policy/enrollment_status_chromeos.h" |
18 #include "chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h" | 19 #include "chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h" |
19 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 20 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 EnrollmentUMA(sample, enrollment_config_.mode); | 408 EnrollmentUMA(sample, enrollment_config_.mode); |
408 } | 409 } |
409 | 410 |
410 void EnterpriseEnrollmentHelperImpl::OnSigninProfileCleared( | 411 void EnterpriseEnrollmentHelperImpl::OnSigninProfileCleared( |
411 const base::Closure& callback) { | 412 const base::Closure& callback) { |
412 auth_data_cleared_ = true; | 413 auth_data_cleared_ = true; |
413 callback.Run(); | 414 callback.Run(); |
414 } | 415 } |
415 | 416 |
416 } // namespace chromeos | 417 } // namespace chromeos |
OLD | NEW |