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

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

Issue 2463023002: Revert of Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted by hand Created 4 years, 1 month 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 #if defined(OS_CHROMEOS) 594 #if defined(OS_CHROMEOS)
595 { key::kSystemTimezoneAutomaticDetection, 595 { key::kSystemTimezoneAutomaticDetection,
596 prefs::kSystemTimezoneAutomaticDetectionPolicy, 596 prefs::kSystemTimezoneAutomaticDetectionPolicy,
597 base::Value::TYPE_INTEGER }, 597 base::Value::TYPE_INTEGER },
598 #endif 598 #endif
599 599
600 { key::kTaskManagerEndProcessEnabled, 600 { key::kTaskManagerEndProcessEnabled,
601 prefs::kTaskManagerEndProcessEnabled, 601 prefs::kTaskManagerEndProcessEnabled,
602 base::Value::TYPE_BOOLEAN }, 602 base::Value::TYPE_BOOLEAN },
603 603
604 { key::kNetworkThrottlingEnabled,
605 prefs::kNetworkThrottlingEnabled,
606 base::Value::TYPE_DICTIONARY },
607
608 #if defined(OS_CHROMEOS) 604 #if defined(OS_CHROMEOS)
609 { key::kAllowScreenLock, prefs::kAllowScreenLock, base::Value::TYPE_BOOLEAN }, 605 { key::kAllowScreenLock, prefs::kAllowScreenLock, base::Value::TYPE_BOOLEAN },
610 #endif 606 #endif
611 }; 607 };
612 608
613 class ForceSafeSearchPolicyHandler : public TypeCheckingPolicyHandler { 609 class ForceSafeSearchPolicyHandler : public TypeCheckingPolicyHandler {
614 public: 610 public:
615 ForceSafeSearchPolicyHandler() 611 ForceSafeSearchPolicyHandler()
616 : TypeCheckingPolicyHandler(key::kForceSafeSearch, 612 : TypeCheckingPolicyHandler(key::kForceSafeSearch,
617 base::Value::TYPE_BOOLEAN) {} 613 base::Value::TYPE_BOOLEAN) {}
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 #endif // defined(OS_CHROMEOS) 913 #endif // defined(OS_CHROMEOS)
918 914
919 #if defined(ENABLE_PLUGINS) 915 #if defined(ENABLE_PLUGINS)
920 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 916 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
921 #endif // defined(ENABLE_PLUGINS) 917 #endif // defined(ENABLE_PLUGINS)
922 918
923 return handlers; 919 return handlers;
924 } 920 }
925 921
926 } // namespace policy 922 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/proto/chrome_device_policy.proto ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698