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

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

Issue 1638453003: Adding Keygen to Policy List (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/test/data/chromeos/enterprise/policies » ('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 #include <utility> 9 #include <utility>
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 base::Value::TYPE_INTEGER }, 163 base::Value::TYPE_INTEGER },
164 { key::kDefaultImagesSetting, 164 { key::kDefaultImagesSetting,
165 prefs::kManagedDefaultImagesSetting, 165 prefs::kManagedDefaultImagesSetting,
166 base::Value::TYPE_INTEGER }, 166 base::Value::TYPE_INTEGER },
167 { key::kDefaultPluginsSetting, 167 { key::kDefaultPluginsSetting,
168 prefs::kManagedDefaultPluginsSetting, 168 prefs::kManagedDefaultPluginsSetting,
169 base::Value::TYPE_INTEGER }, 169 base::Value::TYPE_INTEGER },
170 { key::kDefaultPopupsSetting, 170 { key::kDefaultPopupsSetting,
171 prefs::kManagedDefaultPopupsSetting, 171 prefs::kManagedDefaultPopupsSetting,
172 base::Value::TYPE_INTEGER }, 172 base::Value::TYPE_INTEGER },
173 { key::kDefaultKeygenSetting,
174 prefs::kManagedDefaultKeygenSetting,
175 base::Value::TYPE_INTEGER },
173 { key::kAutoSelectCertificateForUrls, 176 { key::kAutoSelectCertificateForUrls,
174 prefs::kManagedAutoSelectCertificateForUrls, 177 prefs::kManagedAutoSelectCertificateForUrls,
175 base::Value::TYPE_LIST }, 178 base::Value::TYPE_LIST },
176 { key::kCookiesAllowedForUrls, 179 { key::kCookiesAllowedForUrls,
177 prefs::kManagedCookiesAllowedForUrls, 180 prefs::kManagedCookiesAllowedForUrls,
178 base::Value::TYPE_LIST }, 181 base::Value::TYPE_LIST },
179 { key::kCookiesBlockedForUrls, 182 { key::kCookiesBlockedForUrls,
180 prefs::kManagedCookiesBlockedForUrls, 183 prefs::kManagedCookiesBlockedForUrls,
181 base::Value::TYPE_LIST }, 184 base::Value::TYPE_LIST },
182 { key::kCookiesSessionOnlyForUrls, 185 { key::kCookiesSessionOnlyForUrls,
(...skipping 16 matching lines...) Expand all
199 base::Value::TYPE_LIST }, 202 base::Value::TYPE_LIST },
200 { key::kPluginsBlockedForUrls, 203 { key::kPluginsBlockedForUrls,
201 prefs::kManagedPluginsBlockedForUrls, 204 prefs::kManagedPluginsBlockedForUrls,
202 base::Value::TYPE_LIST }, 205 base::Value::TYPE_LIST },
203 { key::kPopupsAllowedForUrls, 206 { key::kPopupsAllowedForUrls,
204 prefs::kManagedPopupsAllowedForUrls, 207 prefs::kManagedPopupsAllowedForUrls,
205 base::Value::TYPE_LIST }, 208 base::Value::TYPE_LIST },
206 { key::kPopupsBlockedForUrls, 209 { key::kPopupsBlockedForUrls,
207 prefs::kManagedPopupsBlockedForUrls, 210 prefs::kManagedPopupsBlockedForUrls,
208 base::Value::TYPE_LIST }, 211 base::Value::TYPE_LIST },
212 { key::kKeygenAllowedForUrls,
213 prefs::kManagedKeygenAllowedForUrls,
214 base::Value::TYPE_LIST },
215 { key::kKeygenBlockedForUrls,
216 prefs::kManagedKeygenBlockedForUrls,
217 base::Value::TYPE_LIST },
209 { key::kNotificationsAllowedForUrls, 218 { key::kNotificationsAllowedForUrls,
210 prefs::kManagedNotificationsAllowedForUrls, 219 prefs::kManagedNotificationsAllowedForUrls,
211 base::Value::TYPE_LIST }, 220 base::Value::TYPE_LIST },
212 { key::kNotificationsBlockedForUrls, 221 { key::kNotificationsBlockedForUrls,
213 prefs::kManagedNotificationsBlockedForUrls, 222 prefs::kManagedNotificationsBlockedForUrls,
214 base::Value::TYPE_LIST }, 223 base::Value::TYPE_LIST },
215 { key::kDefaultNotificationsSetting, 224 { key::kDefaultNotificationsSetting,
216 prefs::kManagedDefaultNotificationsSetting, 225 prefs::kManagedDefaultNotificationsSetting,
217 base::Value::TYPE_INTEGER }, 226 base::Value::TYPE_INTEGER },
218 { key::kDefaultGeolocationSetting, 227 { key::kDefaultGeolocationSetting,
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 828 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
820 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 829 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
821 handlers->AddHandler(make_scoped_ptr( 830 handlers->AddHandler(make_scoped_ptr(
822 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 831 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
823 #endif // defined(OS_CHROMEOS) 832 #endif // defined(OS_CHROMEOS)
824 833
825 return handlers; 834 return handlers;
826 } 835 }
827 836
828 } // namespace policy 837 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/chromeos/enterprise/policies » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698