OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/user_cloud_policy_manager_factory_chrom
eos.h" | 5 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.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" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "chrome/browser/policy/schema_registry_service.h" | 26 #include "chrome/browser/policy/schema_registry_service.h" |
27 #include "chrome/browser/policy/schema_registry_service_factory.h" | 27 #include "chrome/browser/policy/schema_registry_service_factory.h" |
28 #include "chrome/browser/profiles/profile.h" | 28 #include "chrome/browser/profiles/profile.h" |
29 #include "chromeos/chromeos_paths.h" | 29 #include "chromeos/chromeos_paths.h" |
30 #include "chromeos/chromeos_switches.h" | 30 #include "chromeos/chromeos_switches.h" |
31 #include "chromeos/dbus/dbus_thread_manager.h" | 31 #include "chromeos/dbus/dbus_thread_manager.h" |
32 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 32 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
33 #include "components/policy/core/browser/browser_policy_connector.h" | 33 #include "components/policy/core/browser/browser_policy_connector.h" |
34 #include "components/policy/core/common/cloud/cloud_external_data_manager.h" | 34 #include "components/policy/core/common/cloud/cloud_external_data_manager.h" |
35 #include "components/policy/core/common/cloud/device_management_service.h" | 35 #include "components/policy/core/common/cloud/device_management_service.h" |
| 36 #include "components/policy/policy_constants.h" |
36 #include "components/user_manager/user.h" | 37 #include "components/user_manager/user.h" |
37 #include "components/user_manager/user_manager.h" | 38 #include "components/user_manager/user_manager.h" |
38 #include "content/public/browser/browser_thread.h" | 39 #include "content/public/browser/browser_thread.h" |
39 #include "net/url_request/url_request_context_getter.h" | 40 #include "net/url_request/url_request_context_getter.h" |
40 #include "policy/policy_constants.h" | |
41 | 41 |
42 namespace policy { | 42 namespace policy { |
43 | 43 |
44 namespace { | 44 namespace { |
45 | 45 |
46 // Subdirectory in the user's profile for storing legacy user policies. | 46 // Subdirectory in the user's profile for storing legacy user policies. |
47 const base::FilePath::CharType kDeviceManagementDir[] = | 47 const base::FilePath::CharType kDeviceManagementDir[] = |
48 FILE_PATH_LITERAL("Device Management"); | 48 FILE_PATH_LITERAL("Device Management"); |
49 | 49 |
50 // File in the above directory for storing legacy user policy dmtokens. | 50 // File in the above directory for storing legacy user policy dmtokens. |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 261 |
262 bool UserCloudPolicyManagerFactoryChromeOS::HasTestingFactory( | 262 bool UserCloudPolicyManagerFactoryChromeOS::HasTestingFactory( |
263 content::BrowserContext* context) { | 263 content::BrowserContext* context) { |
264 return false; | 264 return false; |
265 } | 265 } |
266 | 266 |
267 void UserCloudPolicyManagerFactoryChromeOS::CreateServiceNow( | 267 void UserCloudPolicyManagerFactoryChromeOS::CreateServiceNow( |
268 content::BrowserContext* context) {} | 268 content::BrowserContext* context) {} |
269 | 269 |
270 } // namespace policy | 270 } // namespace policy |
OLD | NEW |