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

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

Issue 820133002: Reusing names of policy keys from policy_constants.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Marked the 5 "new" policies as chrome_os:42- Created 5 years, 11 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
« 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 base::Value::TYPE_INTEGER }, 253 base::Value::TYPE_INTEGER },
254 { key::kPolicyRefreshRate, 254 { key::kPolicyRefreshRate,
255 policy_prefs::kUserPolicyRefreshRate, 255 policy_prefs::kUserPolicyRefreshRate,
256 base::Value::TYPE_INTEGER }, 256 base::Value::TYPE_INTEGER },
257 { key::kDevicePolicyRefreshRate, 257 { key::kDevicePolicyRefreshRate,
258 prefs::kDevicePolicyRefreshRate, 258 prefs::kDevicePolicyRefreshRate,
259 base::Value::TYPE_INTEGER }, 259 base::Value::TYPE_INTEGER },
260 { key::kDefaultBrowserSettingEnabled, 260 { key::kDefaultBrowserSettingEnabled,
261 prefs::kDefaultBrowserSettingEnabled, 261 prefs::kDefaultBrowserSettingEnabled,
262 base::Value::TYPE_BOOLEAN }, 262 base::Value::TYPE_BOOLEAN },
263 { key::kRemoteAccessHostFirewallTraversal,
264 prefs::kRemoteAccessHostFirewallTraversal,
265 base::Value::TYPE_BOOLEAN },
266 { key::kRemoteAccessHostRequireTwoFactor,
267 prefs::kRemoteAccessHostRequireTwoFactor,
268 base::Value::TYPE_BOOLEAN },
269 { key::kRemoteAccessHostDomain,
270 prefs::kRemoteAccessHostDomain,
271 base::Value::TYPE_STRING },
272 { key::kRemoteAccessHostTalkGadgetPrefix,
273 prefs::kRemoteAccessHostTalkGadgetPrefix,
274 base::Value::TYPE_STRING },
275 { key::kRemoteAccessHostRequireCurtain,
276 prefs::kRemoteAccessHostRequireCurtain,
277 base::Value::TYPE_BOOLEAN },
278 { key::kRemoteAccessHostAllowClientPairing,
279 prefs::kRemoteAccessHostAllowClientPairing,
280 base::Value::TYPE_BOOLEAN },
281 { key::kRemoteAccessHostAllowGnubbyAuth,
282 prefs::kRemoteAccessHostAllowGnubbyAuth,
283 base::Value::TYPE_BOOLEAN },
284 { key::kRemoteAccessHostAllowRelayedConnection,
285 prefs::kRemoteAccessHostAllowRelayedConnection,
286 base::Value::TYPE_BOOLEAN },
287 { key::kRemoteAccessHostUdpPortRange,
288 prefs::kRemoteAccessHostUdpPortRange,
289 base::Value::TYPE_STRING },
290 { key::kCloudPrintProxyEnabled, 263 { key::kCloudPrintProxyEnabled,
291 prefs::kCloudPrintProxyEnabled, 264 prefs::kCloudPrintProxyEnabled,
292 base::Value::TYPE_BOOLEAN }, 265 base::Value::TYPE_BOOLEAN },
293 { key::kCloudPrintSubmitEnabled, 266 { key::kCloudPrintSubmitEnabled,
294 prefs::kCloudPrintSubmitEnabled, 267 prefs::kCloudPrintSubmitEnabled,
295 base::Value::TYPE_BOOLEAN }, 268 base::Value::TYPE_BOOLEAN },
296 { key::kTranslateEnabled, 269 { key::kTranslateEnabled,
297 prefs::kEnableTranslate, 270 prefs::kEnableTranslate,
298 base::Value::TYPE_BOOLEAN }, 271 base::Value::TYPE_BOOLEAN },
299 { key::kAllowOutdatedPlugins, 272 { key::kAllowOutdatedPlugins,
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 chrome_schema, 792 chrome_schema,
820 SCHEMA_STRICT, 793 SCHEMA_STRICT,
821 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 794 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
822 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 795 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
823 #endif // defined(OS_CHROMEOS) 796 #endif // defined(OS_CHROMEOS)
824 797
825 return handlers.Pass(); 798 return handlers.Pass();
826 } 799 }
827 800
828 } // namespace policy 801 } // 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