| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/policy/enrollment_handler_chromeos.h" | 5 #include "chrome/browser/chromeos/policy/enrollment_handler_chromeos.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
| 14 #include "base/sequenced_task_runner.h" |
| 14 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 15 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
| 16 #include "chrome/browser/browser_process.h" | 17 #include "chrome/browser/browser_process.h" |
| 17 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h" | 18 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h" |
| 18 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" | 19 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" |
| 19 #include "chrome/browser/chromeos/policy/active_directory_join_delegate.h" | 20 #include "chrome/browser/chromeos/policy/active_directory_join_delegate.h" |
| 20 #include "chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h" | 21 #include "chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h" |
| 21 #include "chrome/browser/chromeos/policy/dm_token_storage.h" | 22 #include "chrome/browser/chromeos/policy/dm_token_storage.h" |
| 22 #include "chrome/browser/chromeos/policy/enrollment_status_chromeos.h" | 23 #include "chrome/browser/chromeos/policy/enrollment_status_chromeos.h" |
| 23 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" | 24 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 callback.Run(status); | 662 callback.Run(status); |
| 662 } | 663 } |
| 663 | 664 |
| 664 void EnrollmentHandlerChromeOS::SetStep(EnrollmentStep step) { | 665 void EnrollmentHandlerChromeOS::SetStep(EnrollmentStep step) { |
| 665 DCHECK_LE(enrollment_step_, step); | 666 DCHECK_LE(enrollment_step_, step); |
| 666 VLOG(1) << "Step: " << step; | 667 VLOG(1) << "Step: " << step; |
| 667 enrollment_step_ = step; | 668 enrollment_step_ = step; |
| 668 } | 669 } |
| 669 | 670 |
| 670 } // namespace policy | 671 } // namespace policy |
| OLD | NEW |