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

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

Issue 2098723002: Unwind the fallback admin policy knobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I hear it's useful to upload CLs that compile sometimes. Created 4 years, 6 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 <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 base::Value::TYPE_BOOLEAN }, 382 base::Value::TYPE_BOOLEAN },
383 { key::kVariationsRestrictParameter, 383 { key::kVariationsRestrictParameter,
384 variations::prefs::kVariationsRestrictParameter, 384 variations::prefs::kVariationsRestrictParameter,
385 base::Value::TYPE_STRING }, 385 base::Value::TYPE_STRING },
386 { key::kSupervisedUserCreationEnabled, 386 { key::kSupervisedUserCreationEnabled,
387 prefs::kSupervisedUserCreationAllowed, 387 prefs::kSupervisedUserCreationAllowed,
388 base::Value::TYPE_BOOLEAN }, 388 base::Value::TYPE_BOOLEAN },
389 { key::kForceEphemeralProfiles, 389 { key::kForceEphemeralProfiles,
390 prefs::kForceEphemeralProfiles, 390 prefs::kForceEphemeralProfiles,
391 base::Value::TYPE_BOOLEAN }, 391 base::Value::TYPE_BOOLEAN },
392 { key::kSSLVersionFallbackMin,
393 ssl_config::prefs::kSSLVersionFallbackMin,
394 base::Value::TYPE_STRING },
395 #if defined(ENABLE_MEDIA_ROUTER) 392 #if defined(ENABLE_MEDIA_ROUTER)
396 { key::kEnableMediaRouter, 393 { key::kEnableMediaRouter,
397 prefs::kEnableMediaRouter, 394 prefs::kEnableMediaRouter,
398 base::Value::TYPE_BOOLEAN }, 395 base::Value::TYPE_BOOLEAN },
399 #endif // defined(ENABLE_MEDIA_ROUTER) 396 #endif // defined(ENABLE_MEDIA_ROUTER)
400 #if !defined(OS_MACOSX) 397 #if !defined(OS_MACOSX)
401 { key::kFullscreenAllowed, 398 { key::kFullscreenAllowed,
402 prefs::kFullscreenAllowed, 399 prefs::kFullscreenAllowed,
403 base::Value::TYPE_BOOLEAN }, 400 base::Value::TYPE_BOOLEAN },
404 #if defined(ENABLE_EXTENSIONS) 401 #if defined(ENABLE_EXTENSIONS)
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 849 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
853 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 850 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
854 handlers->AddHandler(base::WrapUnique( 851 handlers->AddHandler(base::WrapUnique(
855 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 852 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
856 #endif // defined(OS_CHROMEOS) 853 #endif // defined(OS_CHROMEOS)
857 854
858 return handlers; 855 return handlers;
859 } 856 }
860 857
861 } // namespace policy 858 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/policy_browsertest.cc » ('j') | chrome/test/data/policy/policy_test_cases.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698