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

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: Rebasing... 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
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_BOOLEAN }, 268 base::Value::TYPE_BOOLEAN },
269 { key::kRemoteAccessHostDomain, 269 { key::kRemoteAccessHostDomain,
270 prefs::kRemoteAccessHostDomain, 270 prefs::kRemoteAccessHostDomain,
271 base::Value::TYPE_STRING }, 271 base::Value::TYPE_STRING },
272 { key::kRemoteAccessHostTalkGadgetPrefix, 272 { key::kRemoteAccessHostTalkGadgetPrefix,
273 prefs::kRemoteAccessHostTalkGadgetPrefix, 273 prefs::kRemoteAccessHostTalkGadgetPrefix,
274 base::Value::TYPE_STRING }, 274 base::Value::TYPE_STRING },
275 { key::kRemoteAccessHostRequireCurtain, 275 { key::kRemoteAccessHostRequireCurtain,
276 prefs::kRemoteAccessHostRequireCurtain, 276 prefs::kRemoteAccessHostRequireCurtain,
277 base::Value::TYPE_BOOLEAN }, 277 base::Value::TYPE_BOOLEAN },
278 { key::kRemoteAccessHostMatchUsername,
279 prefs::kRemoteAccessHostMatchUsername,
280 base::Value::TYPE_BOOLEAN },
281 { key::kRemoteAccessHostTokenUrl,
282 prefs::kRemoteAccessHostTokenUrl,
283 base::Value::TYPE_STRING },
284 { key::kRemoteAccessHostTokenValidationUrl,
285 prefs::kRemoteAccessHostTokenValidationUrl,
286 base::Value::TYPE_STRING },
287 { key::kRemoteAccessHostTokenValidationCertificateIssuer,
288 prefs::kRemoteAccessHostTokenValidationCertificateIssuer,
289 base::Value::TYPE_STRING },
290 { key::kRemoteAccessHostDebugOverridePolicies,
291 prefs::kRemoteAccessHostDebugOverridePolicies,
292 base::Value::TYPE_STRING },
Mattias Nissler (ping if slow) 2015/01/05 09:45:33 If I'm not mistaken, you're not using Chrome's Pre
Łukasz Anforowicz 2015/01/05 19:40:23 Correct - current code doesn't use Chrome's PrefSe
278 { key::kRemoteAccessHostAllowClientPairing, 293 { key::kRemoteAccessHostAllowClientPairing,
279 prefs::kRemoteAccessHostAllowClientPairing, 294 prefs::kRemoteAccessHostAllowClientPairing,
280 base::Value::TYPE_BOOLEAN }, 295 base::Value::TYPE_BOOLEAN },
281 { key::kRemoteAccessHostAllowGnubbyAuth, 296 { key::kRemoteAccessHostAllowGnubbyAuth,
282 prefs::kRemoteAccessHostAllowGnubbyAuth, 297 prefs::kRemoteAccessHostAllowGnubbyAuth,
283 base::Value::TYPE_BOOLEAN }, 298 base::Value::TYPE_BOOLEAN },
284 { key::kRemoteAccessHostAllowRelayedConnection, 299 { key::kRemoteAccessHostAllowRelayedConnection,
285 prefs::kRemoteAccessHostAllowRelayedConnection, 300 prefs::kRemoteAccessHostAllowRelayedConnection,
286 base::Value::TYPE_BOOLEAN }, 301 base::Value::TYPE_BOOLEAN },
287 { key::kRemoteAccessHostUdpPortRange, 302 { key::kRemoteAccessHostUdpPortRange,
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 chrome_schema, 834 chrome_schema,
820 SCHEMA_STRICT, 835 SCHEMA_STRICT,
821 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 836 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
822 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 837 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
823 #endif // defined(OS_CHROMEOS) 838 #endif // defined(OS_CHROMEOS)
824 839
825 return handlers.Pass(); 840 return handlers.Pass();
826 } 841 }
827 842
828 } // namespace policy 843 } // 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