Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: chrome/browser/chromeos/policy/device_local_account_external_data_service.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698