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

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: Created 5 years, 12 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
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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 base::Value::TYPE_BOOLEAN }, 267 base::Value::TYPE_BOOLEAN },
268 { key::kRemoteAccessHostDomain, 268 { key::kRemoteAccessHostDomain,
269 prefs::kRemoteAccessHostDomain, 269 prefs::kRemoteAccessHostDomain,
270 base::Value::TYPE_STRING }, 270 base::Value::TYPE_STRING },
271 { key::kRemoteAccessHostTalkGadgetPrefix, 271 { key::kRemoteAccessHostTalkGadgetPrefix,
272 prefs::kRemoteAccessHostTalkGadgetPrefix, 272 prefs::kRemoteAccessHostTalkGadgetPrefix,
273 base::Value::TYPE_STRING }, 273 base::Value::TYPE_STRING },
274 { key::kRemoteAccessHostRequireCurtain, 274 { key::kRemoteAccessHostRequireCurtain,
275 prefs::kRemoteAccessHostRequireCurtain, 275 prefs::kRemoteAccessHostRequireCurtain,
276 base::Value::TYPE_BOOLEAN }, 276 base::Value::TYPE_BOOLEAN },
277 { key::kRemoteAccessHostMatchUsername,
278 prefs::kRemoteAccessHostMatchUsername,
279 base::Value::TYPE_BOOLEAN },
280 { key::kRemoteAccessHostTokenUrl,
281 prefs::kRemoteAccessHostTokenUrl,
282 base::Value::TYPE_STRING },
283 { key::kRemoteAccessHostTokenValidationUrl,
284 prefs::kRemoteAccessHostTokenValidationUrl,
285 base::Value::TYPE_STRING },
286 { key::kRemoteAccessHostTokenValidationCertificateIssuer,
287 prefs::kRemoteAccessHostTokenValidationCertificateIssuer,
288 base::Value::TYPE_STRING },
289 { key::kRemoteAccessHostDebugOverridePolicies,
290 prefs::kRemoteAccessHostDebugOverridePolicies,
291 base::Value::TYPE_STRING },
Łukasz Anforowicz 2014/12/24 00:58:08 All the other chromoting *policies* are also dupli
277 { key::kRemoteAccessHostAllowClientPairing, 292 { key::kRemoteAccessHostAllowClientPairing,
278 prefs::kRemoteAccessHostAllowClientPairing, 293 prefs::kRemoteAccessHostAllowClientPairing,
279 base::Value::TYPE_BOOLEAN }, 294 base::Value::TYPE_BOOLEAN },
280 { key::kRemoteAccessHostAllowGnubbyAuth, 295 { key::kRemoteAccessHostAllowGnubbyAuth,
281 prefs::kRemoteAccessHostAllowGnubbyAuth, 296 prefs::kRemoteAccessHostAllowGnubbyAuth,
282 base::Value::TYPE_BOOLEAN }, 297 base::Value::TYPE_BOOLEAN },
283 { key::kRemoteAccessHostAllowRelayedConnection, 298 { key::kRemoteAccessHostAllowRelayedConnection,
284 prefs::kRemoteAccessHostAllowRelayedConnection, 299 prefs::kRemoteAccessHostAllowRelayedConnection,
285 base::Value::TYPE_BOOLEAN }, 300 base::Value::TYPE_BOOLEAN },
286 { key::kRemoteAccessHostUdpPortRange, 301 { key::kRemoteAccessHostUdpPortRange,
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 chrome_schema, 833 chrome_schema,
819 SCHEMA_STRICT, 834 SCHEMA_STRICT,
820 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 835 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
821 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 836 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
822 #endif // defined(OS_CHROMEOS) 837 #endif // defined(OS_CHROMEOS)
823 838
824 return handlers.Pass(); 839 return handlers.Pass();
825 } 840 }
826 841
827 } // namespace policy 842 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/common/pref_names.h » ('j') | components/policy/resources/policy_templates.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698