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/policy/device_local_account_policy_service.h" | 5 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "chromeos/dbus/session_manager_client.h" | 28 #include "chromeos/dbus/session_manager_client.h" |
29 #include "chromeos/settings/cros_settings_names.h" | 29 #include "chromeos/settings/cros_settings_names.h" |
30 #include "chromeos/settings/cros_settings_provider.h" | 30 #include "chromeos/settings/cros_settings_provider.h" |
31 #include "components/policy/core/browser/browser_policy_connector.h" | 31 #include "components/policy/core/browser/browser_policy_connector.h" |
32 #include "components/policy/core/common/cloud/cloud_policy_client.h" | 32 #include "components/policy/core/common/cloud/cloud_policy_client.h" |
33 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 33 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
34 #include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h" | 34 #include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.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/core/common/cloud/resource_cache.h" | 36 #include "components/policy/core/common/cloud/resource_cache.h" |
37 #include "components/policy/core/common/cloud/system_policy_request_context.h" | 37 #include "components/policy/core/common/cloud/system_policy_request_context.h" |
| 38 #include "components/policy/core/common/policy_namespace.h" |
38 #include "components/policy/core/common/policy_switches.h" | 39 #include "components/policy/core/common/policy_switches.h" |
39 #include "content/public/browser/browser_thread.h" | 40 #include "content/public/browser/browser_thread.h" |
40 #include "net/url_request/url_request_context_getter.h" | 41 #include "net/url_request/url_request_context_getter.h" |
41 #include "policy/policy_constants.h" | 42 #include "policy/policy_constants.h" |
42 #include "policy/proto/device_management_backend.pb.h" | 43 #include "policy/proto/device_management_backend.pb.h" |
43 #include "url/gurl.h" | 44 #include "url/gurl.h" |
44 | 45 |
45 namespace em = enterprise_management; | 46 namespace em = enterprise_management; |
46 | 47 |
47 namespace policy { | 48 namespace policy { |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 } | 560 } |
560 return NULL; | 561 return NULL; |
561 } | 562 } |
562 | 563 |
563 void DeviceLocalAccountPolicyService::NotifyPolicyUpdated( | 564 void DeviceLocalAccountPolicyService::NotifyPolicyUpdated( |
564 const std::string& user_id) { | 565 const std::string& user_id) { |
565 FOR_EACH_OBSERVER(Observer, observers_, OnPolicyUpdated(user_id)); | 566 FOR_EACH_OBSERVER(Observer, observers_, OnPolicyUpdated(user_id)); |
566 } | 567 } |
567 | 568 |
568 } // namespace policy | 569 } // namespace policy |
OLD | NEW |