| 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/settings/session_manager_operation.h" | 5 #include "chrome/browser/chromeos/settings/session_manager_operation.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
| 12 #include "base/task_runner_util.h" | 12 #include "base/task_runner_util.h" |
| 13 #include "base/threading/sequenced_worker_pool.h" | 13 #include "base/threading/sequenced_worker_pool.h" |
| 14 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" | 14 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" |
| 15 #include "chrome/browser/net/nss_context.h" | |
| 16 #include "components/ownership/owner_key_util.h" | 15 #include "components/ownership/owner_key_util.h" |
| 17 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 16 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
| 18 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 19 #include "crypto/rsa_private_key.h" | 18 #include "crypto/rsa_private_key.h" |
| 20 #include "crypto/signature_creator.h" | 19 #include "crypto/signature_creator.h" |
| 21 #include "policy/proto/device_management_backend.pb.h" | 20 #include "policy/proto/device_management_backend.pb.h" |
| 22 | 21 |
| 23 using ownership::OwnerKeyUtil; | 22 using ownership::OwnerKeyUtil; |
| 24 using ownership::PublicKey; | 23 using ownership::PublicKey; |
| 25 | 24 |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 } | 290 } |
| 292 | 291 |
| 293 void SignAndStoreSettingsOperation::HandleStoreResult(bool success) { | 292 void SignAndStoreSettingsOperation::HandleStoreResult(bool success) { |
| 294 if (!success) | 293 if (!success) |
| 295 ReportResult(DeviceSettingsService::STORE_OPERATION_FAILED); | 294 ReportResult(DeviceSettingsService::STORE_OPERATION_FAILED); |
| 296 else | 295 else |
| 297 StartLoading(); | 296 StartLoading(); |
| 298 } | 297 } |
| 299 | 298 |
| 300 } // namespace chromeos | 299 } // namespace chromeos |
| OLD | NEW |