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

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

Issue 2674973003: Adding a DownloadRestrictions group policy. (Closed)
Patch Set: Some oups.... :-) Created 3 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
« no previous file with comments | « chrome/browser/download/download_prefs.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 base::Value::Type::BOOLEAN }, 131 base::Value::Type::BOOLEAN },
132 { key::kPacHttpsUrlStrippingEnabled, 132 { key::kPacHttpsUrlStrippingEnabled,
133 prefs::kPacHttpsUrlStrippingEnabled, 133 prefs::kPacHttpsUrlStrippingEnabled,
134 base::Value::Type::BOOLEAN }, 134 base::Value::Type::BOOLEAN },
135 { key::kQuicAllowed, 135 { key::kQuicAllowed,
136 prefs::kQuicAllowed, 136 prefs::kQuicAllowed,
137 base::Value::Type::BOOLEAN }, 137 base::Value::Type::BOOLEAN },
138 { key::kSafeBrowsingEnabled, 138 { key::kSafeBrowsingEnabled,
139 prefs::kSafeBrowsingEnabled, 139 prefs::kSafeBrowsingEnabled,
140 base::Value::Type::BOOLEAN }, 140 base::Value::Type::BOOLEAN },
141 { key::kDownloadRestrictions,
142 prefs::kDownloadRestrictions,
143 base::Value::Type::INTEGER },
141 { key::kForceGoogleSafeSearch, 144 { key::kForceGoogleSafeSearch,
142 prefs::kForceGoogleSafeSearch, 145 prefs::kForceGoogleSafeSearch,
143 base::Value::Type::BOOLEAN }, 146 base::Value::Type::BOOLEAN },
144 { key::kForceYouTubeRestrict, 147 { key::kForceYouTubeRestrict,
145 prefs::kForceYouTubeRestrict, 148 prefs::kForceYouTubeRestrict,
146 base::Value::Type::INTEGER}, 149 base::Value::Type::INTEGER},
147 { key::kPasswordManagerEnabled, 150 { key::kPasswordManagerEnabled,
148 password_manager::prefs::kCredentialsEnableService, 151 password_manager::prefs::kCredentialsEnableService,
149 base::Value::Type::BOOLEAN }, 152 base::Value::Type::BOOLEAN },
150 { key::kPrintingEnabled, 153 { key::kPrintingEnabled,
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 #endif // defined(OS_CHROMEOS) 1044 #endif // defined(OS_CHROMEOS)
1042 1045
1043 #if BUILDFLAG(ENABLE_PLUGINS) 1046 #if BUILDFLAG(ENABLE_PLUGINS)
1044 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 1047 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
1045 #endif // BUILDFLAG(ENABLE_PLUGINS) 1048 #endif // BUILDFLAG(ENABLE_PLUGINS)
1046 1049
1047 return handlers; 1050 return handlers;
1048 } 1051 }
1049 1052
1050 } // namespace policy 1053 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/download/download_prefs.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698