OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_pref_store.h" | 5 #include "chrome/browser/policy/configuration_policy_pref_store.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 prefs::kDisable3DAPIs }, | 270 prefs::kDisable3DAPIs }, |
271 { Value::TYPE_BOOLEAN, kPolicyDisablePluginFinder, | 271 { Value::TYPE_BOOLEAN, kPolicyDisablePluginFinder, |
272 prefs::kDisablePluginFinder }, | 272 prefs::kDisablePluginFinder }, |
273 { Value::TYPE_INTEGER, kPolicyPolicyRefreshRate, | 273 { Value::TYPE_INTEGER, kPolicyPolicyRefreshRate, |
274 prefs::kUserPolicyRefreshRate }, | 274 prefs::kUserPolicyRefreshRate }, |
275 { Value::TYPE_INTEGER, kPolicyDevicePolicyRefreshRate, | 275 { Value::TYPE_INTEGER, kPolicyDevicePolicyRefreshRate, |
276 prefs::kDevicePolicyRefreshRate }, | 276 prefs::kDevicePolicyRefreshRate }, |
277 { Value::TYPE_BOOLEAN, kPolicyInstantEnabled, prefs::kInstantEnabled }, | 277 { Value::TYPE_BOOLEAN, kPolicyInstantEnabled, prefs::kInstantEnabled }, |
278 { Value::TYPE_BOOLEAN, kPolicyDefaultBrowserSettingEnabled, | 278 { Value::TYPE_BOOLEAN, kPolicyDefaultBrowserSettingEnabled, |
279 prefs::kDefaultBrowserSettingEnabled }, | 279 prefs::kDefaultBrowserSettingEnabled }, |
280 { Value::TYPE_BOOLEAN, kPolicyRemoteAccessClientFirewallTraversal, | |
281 prefs::kRemoteAccessClientFirewallTraversal }, | |
282 { Value::TYPE_BOOLEAN, kPolicyRemoteAccessHostFirewallTraversal, | 280 { Value::TYPE_BOOLEAN, kPolicyRemoteAccessHostFirewallTraversal, |
283 prefs::kRemoteAccessHostFirewallTraversal }, | 281 prefs::kRemoteAccessHostFirewallTraversal }, |
284 { Value::TYPE_BOOLEAN, kPolicyCloudPrintProxyEnabled, | 282 { Value::TYPE_BOOLEAN, kPolicyCloudPrintProxyEnabled, |
285 prefs::kCloudPrintProxyEnabled }, | 283 prefs::kCloudPrintProxyEnabled }, |
286 { Value::TYPE_BOOLEAN, kPolicyTranslateEnabled, prefs::kEnableTranslate }, | 284 { Value::TYPE_BOOLEAN, kPolicyTranslateEnabled, prefs::kEnableTranslate }, |
287 { Value::TYPE_BOOLEAN, kPolicyAllowOutdatedPlugins, | 285 { Value::TYPE_BOOLEAN, kPolicyAllowOutdatedPlugins, |
288 prefs::kPluginsAllowOutdated }, | 286 prefs::kPluginsAllowOutdated }, |
289 { Value::TYPE_BOOLEAN, kPolicyAlwaysAuthorizePlugins, | 287 { Value::TYPE_BOOLEAN, kPolicyAlwaysAuthorizePlugins, |
290 prefs::kPluginsAlwaysAuthorize }, | 288 prefs::kPluginsAlwaysAuthorize }, |
291 { Value::TYPE_BOOLEAN, kPolicyBookmarkBarEnabled, | 289 { Value::TYPE_BOOLEAN, kPolicyBookmarkBarEnabled, |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 // Update the initialization flag. | 1073 // Update the initialization flag. |
1076 if (!initialization_complete_ && | 1074 if (!initialization_complete_ && |
1077 provider_->IsInitializationComplete()) { | 1075 provider_->IsInitializationComplete()) { |
1078 initialization_complete_ = true; | 1076 initialization_complete_ = true; |
1079 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, | 1077 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, |
1080 OnInitializationCompleted(true)); | 1078 OnInitializationCompleted(true)); |
1081 } | 1079 } |
1082 } | 1080 } |
1083 | 1081 |
1084 } // namespace policy | 1082 } // namespace policy |
OLD | NEW |