| 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/configuration_policy_provider.h" | 5 #include "chrome/browser/policy/configuration_policy_provider.h" |
| 6 | 6 |
| 7 #include "chrome/browser/policy/policy_domain_descriptor.h" |
| 7 #include "chrome/browser/policy/policy_map.h" | 8 #include "chrome/browser/policy/policy_map.h" |
| 8 #include "policy/policy_constants.h" | 9 #include "policy/policy_constants.h" |
| 9 | 10 |
| 10 namespace policy { | 11 namespace policy { |
| 11 | 12 |
| 12 namespace { | 13 namespace { |
| 13 | 14 |
| 14 const char* kProxyPolicies[] = { | 15 const char* kProxyPolicies[] = { |
| 15 key::kProxyMode, | 16 key::kProxyMode, |
| 16 key::kProxyServerMode, | 17 key::kProxyServerMode, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 97 |
| 97 void ConfigurationPolicyProvider::AddObserver(Observer* observer) { | 98 void ConfigurationPolicyProvider::AddObserver(Observer* observer) { |
| 98 observer_list_.AddObserver(observer); | 99 observer_list_.AddObserver(observer); |
| 99 } | 100 } |
| 100 | 101 |
| 101 void ConfigurationPolicyProvider::RemoveObserver(Observer* observer) { | 102 void ConfigurationPolicyProvider::RemoveObserver(Observer* observer) { |
| 102 observer_list_.RemoveObserver(observer); | 103 observer_list_.RemoveObserver(observer); |
| 103 } | 104 } |
| 104 | 105 |
| 105 void ConfigurationPolicyProvider::RegisterPolicyDomain( | 106 void ConfigurationPolicyProvider::RegisterPolicyDomain( |
| 106 PolicyDomain domain, | 107 scoped_refptr<const PolicyDomainDescriptor> descriptor) {} |
| 107 const std::set<std::string>& component_ids) {} | |
| 108 | 108 |
| 109 } // namespace policy | 109 } // namespace policy |
| OLD | NEW |