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

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

Issue 2172543003: Remove NetPrefObserver class and two prefs that do not do anything. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #17. Created 4 years, 5 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 base::Value::TYPE_BOOLEAN }, 100 base::Value::TYPE_BOOLEAN },
101 { key::kBuiltInDnsClientEnabled, 101 { key::kBuiltInDnsClientEnabled,
102 prefs::kBuiltInDnsClientEnabled, 102 prefs::kBuiltInDnsClientEnabled,
103 base::Value::TYPE_BOOLEAN }, 103 base::Value::TYPE_BOOLEAN },
104 { key::kWPADQuickCheckEnabled, 104 { key::kWPADQuickCheckEnabled,
105 prefs::kQuickCheckEnabled, 105 prefs::kQuickCheckEnabled,
106 base::Value::TYPE_BOOLEAN }, 106 base::Value::TYPE_BOOLEAN },
107 { key::kPacHttpsUrlStrippingEnabled, 107 { key::kPacHttpsUrlStrippingEnabled,
108 prefs::kPacHttpsUrlStrippingEnabled, 108 prefs::kPacHttpsUrlStrippingEnabled,
109 base::Value::TYPE_BOOLEAN }, 109 base::Value::TYPE_BOOLEAN },
110 { key::kDisableSpdy,
111 prefs::kDisableSpdy,
112 base::Value::TYPE_BOOLEAN },
113 { key::kSafeBrowsingEnabled, 110 { key::kSafeBrowsingEnabled,
114 prefs::kSafeBrowsingEnabled, 111 prefs::kSafeBrowsingEnabled,
115 base::Value::TYPE_BOOLEAN }, 112 base::Value::TYPE_BOOLEAN },
116 { key::kForceGoogleSafeSearch, 113 { key::kForceGoogleSafeSearch,
117 prefs::kForceGoogleSafeSearch, 114 prefs::kForceGoogleSafeSearch,
118 base::Value::TYPE_BOOLEAN }, 115 base::Value::TYPE_BOOLEAN },
119 { key::kForceYouTubeSafetyMode, 116 { key::kForceYouTubeSafetyMode,
120 prefs::kForceYouTubeSafetyMode, 117 prefs::kForceYouTubeSafetyMode,
121 base::Value::TYPE_BOOLEAN }, 118 base::Value::TYPE_BOOLEAN },
122 { key::kPasswordManagerEnabled, 119 { key::kPasswordManagerEnabled,
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 856 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
860 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 857 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
861 handlers->AddHandler(base::WrapUnique( 858 handlers->AddHandler(base::WrapUnique(
862 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 859 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
863 #endif // defined(OS_CHROMEOS) 860 #endif // defined(OS_CHROMEOS)
864 861
865 return handlers; 862 return handlers;
866 } 863 }
867 864
868 } // namespace policy 865 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698