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

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

Issue 209323002: New policies: enable/disable relay; port range (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed android build. Created 6 years, 7 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 | « no previous file | 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 base::Value::TYPE_STRING }, 268 base::Value::TYPE_STRING },
269 { key::kRemoteAccessHostRequireCurtain, 269 { key::kRemoteAccessHostRequireCurtain,
270 prefs::kRemoteAccessHostRequireCurtain, 270 prefs::kRemoteAccessHostRequireCurtain,
271 base::Value::TYPE_BOOLEAN }, 271 base::Value::TYPE_BOOLEAN },
272 { key::kRemoteAccessHostAllowClientPairing, 272 { key::kRemoteAccessHostAllowClientPairing,
273 prefs::kRemoteAccessHostAllowClientPairing, 273 prefs::kRemoteAccessHostAllowClientPairing,
274 base::Value::TYPE_BOOLEAN }, 274 base::Value::TYPE_BOOLEAN },
275 { key::kRemoteAccessHostAllowGnubbyAuth, 275 { key::kRemoteAccessHostAllowGnubbyAuth,
276 prefs::kRemoteAccessHostAllowGnubbyAuth, 276 prefs::kRemoteAccessHostAllowGnubbyAuth,
277 base::Value::TYPE_BOOLEAN }, 277 base::Value::TYPE_BOOLEAN },
278 { key::kRemoteAccessHostAllowRelayedConnection,
279 prefs::kRemoteAccessHostAllowRelayedConnection,
280 base::Value::TYPE_BOOLEAN },
281 { key::kRemoteAccessHostUdpPortRange,
282 prefs::kRemoteAccessHostUdpPortRange,
283 base::Value::TYPE_STRING },
278 { key::kCloudPrintProxyEnabled, 284 { key::kCloudPrintProxyEnabled,
279 prefs::kCloudPrintProxyEnabled, 285 prefs::kCloudPrintProxyEnabled,
280 base::Value::TYPE_BOOLEAN }, 286 base::Value::TYPE_BOOLEAN },
281 { key::kCloudPrintSubmitEnabled, 287 { key::kCloudPrintSubmitEnabled,
282 prefs::kCloudPrintSubmitEnabled, 288 prefs::kCloudPrintSubmitEnabled,
283 base::Value::TYPE_BOOLEAN }, 289 base::Value::TYPE_BOOLEAN },
284 { key::kTranslateEnabled, 290 { key::kTranslateEnabled,
285 prefs::kEnableTranslate, 291 prefs::kEnableTranslate,
286 base::Value::TYPE_BOOLEAN }, 292 base::Value::TYPE_BOOLEAN },
287 { key::kAllowOutdatedPlugins, 293 { key::kAllowOutdatedPlugins,
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 #endif // defined(OS_CHROMEOS) 733 #endif // defined(OS_CHROMEOS)
728 734
729 #if defined(OS_ANDROID) || defined(OS_IOS) 735 #if defined(OS_ANDROID) || defined(OS_IOS)
730 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( 736 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
731 new ManagedBookmarksPolicyHandler())); 737 new ManagedBookmarksPolicyHandler()));
732 #endif 738 #endif
733 return handlers.Pass(); 739 return handlers.Pass();
734 } 740 }
735 741
736 } // namespace policy 742 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698