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

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

Issue 10825149: [Chromoting] Add new Chromoting enterprise policies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add 'remote access' to caption and desc Created 8 years, 4 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
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_handler_list.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/policy/configuration_policy_handler.h" 9 #include "chrome/browser/policy/configuration_policy_handler.h"
10 #include "chrome/browser/policy/policy_error_map.h" 10 #include "chrome/browser/policy/policy_error_map.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 Value::TYPE_INTEGER }, 212 Value::TYPE_INTEGER },
213 { key::kInstantEnabled, 213 { key::kInstantEnabled,
214 prefs::kInstantEnabled, 214 prefs::kInstantEnabled,
215 Value::TYPE_BOOLEAN }, 215 Value::TYPE_BOOLEAN },
216 { key::kDefaultBrowserSettingEnabled, 216 { key::kDefaultBrowserSettingEnabled,
217 prefs::kDefaultBrowserSettingEnabled, 217 prefs::kDefaultBrowserSettingEnabled,
218 Value::TYPE_BOOLEAN }, 218 Value::TYPE_BOOLEAN },
219 { key::kRemoteAccessHostFirewallTraversal, 219 { key::kRemoteAccessHostFirewallTraversal,
220 prefs::kRemoteAccessHostFirewallTraversal, 220 prefs::kRemoteAccessHostFirewallTraversal,
221 Value::TYPE_BOOLEAN }, 221 Value::TYPE_BOOLEAN },
222 { key::kRemoteAccessHostRequireTwoFactor,
223 prefs::kRemoteAccessHostRequireTwoFactor,
224 Value::TYPE_BOOLEAN },
225 { key::kRemoteAccessHostDomain,
226 prefs::kRemoteAccessHostDomain,
227 Value::TYPE_STRING },
228 { key::kRemoteAccessHostTalkGadgetPrefix,
229 prefs::kRemoteAccessHostTalkGadgetPrefix,
230 Value::TYPE_STRING },
222 { key::kCloudPrintProxyEnabled, 231 { key::kCloudPrintProxyEnabled,
223 prefs::kCloudPrintProxyEnabled, 232 prefs::kCloudPrintProxyEnabled,
224 Value::TYPE_BOOLEAN }, 233 Value::TYPE_BOOLEAN },
225 { key::kCloudPrintSubmitEnabled, 234 { key::kCloudPrintSubmitEnabled,
226 prefs::kCloudPrintSubmitEnabled, 235 prefs::kCloudPrintSubmitEnabled,
227 Value::TYPE_BOOLEAN }, 236 Value::TYPE_BOOLEAN },
228 { key::kTranslateEnabled, 237 { key::kTranslateEnabled,
229 prefs::kEnableTranslate, 238 prefs::kEnableTranslate,
230 Value::TYPE_BOOLEAN }, 239 Value::TYPE_BOOLEAN },
231 { key::kAllowOutdatedPlugins, 240 { key::kAllowOutdatedPlugins,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 } 407 }
399 408
400 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 409 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
401 PolicyMap* policies) const { 410 PolicyMap* policies) const {
402 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 411 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
403 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 412 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
404 (*handler)->PrepareForDisplaying(policies); 413 (*handler)->PrepareForDisplaying(policies);
405 } 414 }
406 415
407 } // namespace policy 416 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698