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

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

Issue 10827265: Add Chromoting curtain-mode policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer feedback. 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 Value::TYPE_BOOLEAN }, 221 Value::TYPE_BOOLEAN },
222 { key::kRemoteAccessHostRequireTwoFactor, 222 { key::kRemoteAccessHostRequireTwoFactor,
223 prefs::kRemoteAccessHostRequireTwoFactor, 223 prefs::kRemoteAccessHostRequireTwoFactor,
224 Value::TYPE_BOOLEAN }, 224 Value::TYPE_BOOLEAN },
225 { key::kRemoteAccessHostDomain, 225 { key::kRemoteAccessHostDomain,
226 prefs::kRemoteAccessHostDomain, 226 prefs::kRemoteAccessHostDomain,
227 Value::TYPE_STRING }, 227 Value::TYPE_STRING },
228 { key::kRemoteAccessHostTalkGadgetPrefix, 228 { key::kRemoteAccessHostTalkGadgetPrefix,
229 prefs::kRemoteAccessHostTalkGadgetPrefix, 229 prefs::kRemoteAccessHostTalkGadgetPrefix,
230 Value::TYPE_STRING }, 230 Value::TYPE_STRING },
231 { key::kRemoteAccessHostRequireCurtain,
232 prefs::kRemoteAccessHostRequireCurtain,
233 Value::TYPE_BOOLEAN },
231 { key::kCloudPrintProxyEnabled, 234 { key::kCloudPrintProxyEnabled,
232 prefs::kCloudPrintProxyEnabled, 235 prefs::kCloudPrintProxyEnabled,
233 Value::TYPE_BOOLEAN }, 236 Value::TYPE_BOOLEAN },
234 { key::kCloudPrintSubmitEnabled, 237 { key::kCloudPrintSubmitEnabled,
235 prefs::kCloudPrintSubmitEnabled, 238 prefs::kCloudPrintSubmitEnabled,
236 Value::TYPE_BOOLEAN }, 239 Value::TYPE_BOOLEAN },
237 { key::kTranslateEnabled, 240 { key::kTranslateEnabled,
238 prefs::kEnableTranslate, 241 prefs::kEnableTranslate,
239 Value::TYPE_BOOLEAN }, 242 Value::TYPE_BOOLEAN },
240 { key::kAllowOutdatedPlugins, 243 { key::kAllowOutdatedPlugins,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 } 407 }
405 408
406 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 409 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
407 PolicyMap* policies) const { 410 PolicyMap* policies) const {
408 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 411 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
409 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 412 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
410 (*handler)->PrepareForDisplaying(policies); 413 (*handler)->PrepareForDisplaying(policies);
411 } 414 }
412 415
413 } // 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