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/browser_policy_connector.h" | 5 #include "chrome/browser/policy/browser_policy_connector.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "base/strings/sys_string_conversions.h" | 23 #include "base/strings/sys_string_conversions.h" |
24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
25 #include "base/sys_info.h" | 25 #include "base/sys_info.h" |
26 #include "base/threading/sequenced_worker_pool.h" | 26 #include "base/threading/sequenced_worker_pool.h" |
27 #include "chrome/browser/browser_process.h" | 27 #include "chrome/browser/browser_process.h" |
28 #include "chrome/browser/policy/async_policy_provider.h" | 28 #include "chrome/browser/policy/async_policy_provider.h" |
29 #include "chrome/browser/policy/cloud/cloud_policy_client.h" | 29 #include "chrome/browser/policy/cloud/cloud_policy_client.h" |
30 #include "chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h" | 30 #include "chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h" |
31 #include "chrome/browser/policy/cloud/cloud_policy_service.h" | 31 #include "chrome/browser/policy/cloud/cloud_policy_service.h" |
32 #include "chrome/browser/policy/cloud/device_management_service.h" | 32 #include "chrome/browser/policy/cloud/device_management_service.h" |
| 33 #include "chrome/browser/policy/configuration_policy_provider.h" |
33 #include "chrome/browser/policy/policy_service_impl.h" | 34 #include "chrome/browser/policy/policy_service_impl.h" |
34 #include "chrome/browser/policy/policy_statistics_collector.h" | 35 #include "chrome/browser/policy/policy_statistics_collector.h" |
35 #include "chrome/browser/policy/policy_transformations.h" | 36 #include "chrome/browser/policy/policy_transformations.h" |
36 #include "chrome/common/chrome_paths.h" | 37 #include "chrome/common/chrome_paths.h" |
37 #include "chrome/common/chrome_switches.h" | 38 #include "chrome/common/chrome_switches.h" |
38 #include "chrome/common/chrome_version_info.h" | 39 #include "chrome/common/chrome_version_info.h" |
39 #include "chrome/common/pref_names.h" | 40 #include "chrome/common/pref_names.h" |
40 #include "components/policy/core/common/configuration_policy_provider.h" | |
41 #include "components/policy/core/common/policy_namespace.h" | 41 #include "components/policy/core/common/policy_namespace.h" |
42 #include "components/policy/core/common/policy_pref_names.h" | 42 #include "components/policy/core/common/policy_pref_names.h" |
43 #include "components/policy/core/common/schema.h" | 43 #include "components/policy/core/common/schema.h" |
44 #include "content/public/browser/browser_thread.h" | 44 #include "content/public/browser/browser_thread.h" |
45 #include "content/public/common/content_client.h" | 45 #include "content/public/common/content_client.h" |
46 #include "google_apis/gaia/gaia_auth_util.h" | 46 #include "google_apis/gaia/gaia_auth_util.h" |
47 #include "google_apis/gaia/gaia_constants.h" | 47 #include "google_apis/gaia/gaia_constants.h" |
48 #include "grit/generated_resources.h" | 48 #include "grit/generated_resources.h" |
49 #include "net/url_request/url_request_context_getter.h" | 49 #include "net/url_request/url_request_context_getter.h" |
50 #include "policy/policy_constants.h" | 50 #include "policy/policy_constants.h" |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 return new AsyncPolicyProvider(GetSchemaRegistry(), loader.Pass()); | 606 return new AsyncPolicyProvider(GetSchemaRegistry(), loader.Pass()); |
607 } else { | 607 } else { |
608 return NULL; | 608 return NULL; |
609 } | 609 } |
610 #else | 610 #else |
611 return NULL; | 611 return NULL; |
612 #endif | 612 #endif |
613 } | 613 } |
614 | 614 |
615 } // namespace policy | 615 } // namespace policy |
OLD | NEW |