| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/device_local_account_external_data_serv
ice.h" | 5 #include "chrome/browser/chromeos/policy/device_local_account_external_data_serv
ice.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/sequenced_task_runner.h" | 15 #include "base/sequenced_task_runner.h" |
| 16 #include "chrome/browser/policy/cloud/cloud_policy_store.h" | |
| 17 #include "chromeos/chromeos_paths.h" | 16 #include "chromeos/chromeos_paths.h" |
| 17 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
| 18 #include "policy/policy_constants.h" | 18 #include "policy/policy_constants.h" |
| 19 | 19 |
| 20 namespace policy { | 20 namespace policy { |
| 21 | 21 |
| 22 DeviceLocalAccountExternalDataService::DeviceLocalAccountExternalDataService( | 22 DeviceLocalAccountExternalDataService::DeviceLocalAccountExternalDataService( |
| 23 DeviceLocalAccountPolicyService* parent, | 23 DeviceLocalAccountPolicyService* parent, |
| 24 scoped_refptr<base::SequencedTaskRunner> backend_task_runner, | 24 scoped_refptr<base::SequencedTaskRunner> backend_task_runner, |
| 25 scoped_refptr<base::SequencedTaskRunner> io_task_runner) | 25 scoped_refptr<base::SequencedTaskRunner> io_task_runner) |
| 26 : parent_(parent), | 26 : parent_(parent), |
| 27 backend_task_runner_(backend_task_runner), | 27 backend_task_runner_(backend_task_runner), |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 base::Bind(&GetChromePolicyDetails), | 79 base::Bind(&GetChromePolicyDetails), |
| 80 backend_task_runner_, | 80 backend_task_runner_, |
| 81 io_task_runner_, | 81 io_task_runner_, |
| 82 resource_cache_.get()); | 82 resource_cache_.get()); |
| 83 } | 83 } |
| 84 external_data_manager->SetPolicyStore(policy_store); | 84 external_data_manager->SetPolicyStore(policy_store); |
| 85 return external_data_manager; | 85 return external_data_manager; |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace policy | 88 } // namespace policy |
| OLD | NEW |