Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: chrome/browser/policy/configuration_policy_pref_store.cc

Issue 8275012: Remove RemoteAccessClientFirewallTraversal policy and code paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-rebase Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/policy/configuration_policy_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698