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/policy/enrollment_handler_chromeos.h" | 5 #include "chrome/browser/chromeos/policy/enrollment_handler_chromeos.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "chrome/browser/policy/cloud_policy_constants.h" | 10 #include "chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h" |
11 #include "chrome/browser/policy/device_cloud_policy_store_chromeos.h" | 11 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h" |
12 #include "chrome/browser/policy/enterprise_install_attributes.h" | 12 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" |
13 #include "chrome/browser/policy/proto/device_management_backend.pb.h" | 13 #include "chrome/browser/policy/proto/device_management_backend.pb.h" |
14 | 14 |
15 namespace em = enterprise_management; | 15 namespace em = enterprise_management; |
16 | 16 |
17 namespace policy { | 17 namespace policy { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 // Retry for InstallAttrs initialization every 500ms. | 21 // Retry for InstallAttrs initialization every 500ms. |
22 const int kLockRetryIntervalMs = 500; | 22 const int kLockRetryIntervalMs = 500; |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 << " " << status.client_status() | 241 << " " << status.client_status() |
242 << " " << status.validation_status() | 242 << " " << status.validation_status() |
243 << " " << status.store_status(); | 243 << " " << status.store_status(); |
244 } | 244 } |
245 | 245 |
246 if (!callback.is_null()) | 246 if (!callback.is_null()) |
247 callback.Run(status); | 247 callback.Run(status); |
248 } | 248 } |
249 | 249 |
250 } // namespace policy | 250 } // namespace policy |
OLD | NEW |