Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 312 base::Value::Type::BOOLEAN }, | 312 base::Value::Type::BOOLEAN }, |
| 313 { key::kShowAppsShortcutInBookmarkBar, | 313 { key::kShowAppsShortcutInBookmarkBar, |
| 314 bookmarks::prefs::kShowAppsShortcutInBookmarkBar, | 314 bookmarks::prefs::kShowAppsShortcutInBookmarkBar, |
| 315 base::Value::Type::BOOLEAN }, | 315 base::Value::Type::BOOLEAN }, |
| 316 { key::kAllowFileSelectionDialogs, | 316 { key::kAllowFileSelectionDialogs, |
| 317 prefs::kAllowFileSelectionDialogs, | 317 prefs::kAllowFileSelectionDialogs, |
| 318 base::Value::Type::BOOLEAN }, | 318 base::Value::Type::BOOLEAN }, |
| 319 { key::kImportBookmarks, | 319 { key::kImportBookmarks, |
| 320 prefs::kImportBookmarks, | 320 prefs::kImportBookmarks, |
| 321 base::Value::Type::BOOLEAN }, | 321 base::Value::Type::BOOLEAN }, |
| 322 { key::kImportBookmarks, | |
| 323 prefs::kImportDialogBookmarks, | |
| 324 base::Value::Type::BOOLEAN }, | |
|
pastarmovj
2017/03/03 06:48:25
nit: Since this is a rather special case to have o
Dan Beam
2017/03/07 02:44:56
Done.
| |
| 322 { key::kImportHistory, | 325 { key::kImportHistory, |
| 323 prefs::kImportHistory, | 326 prefs::kImportHistory, |
| 324 base::Value::Type::BOOLEAN }, | 327 base::Value::Type::BOOLEAN }, |
| 328 { key::kImportHistory, | |
| 329 prefs::kImportDialogHistory, | |
| 330 base::Value::Type::BOOLEAN }, | |
| 325 { key::kImportHomepage, | 331 { key::kImportHomepage, |
| 326 prefs::kImportHomepage, | 332 prefs::kImportHomepage, |
| 327 base::Value::Type::BOOLEAN }, | 333 base::Value::Type::BOOLEAN }, |
| 328 { key::kImportSearchEngine, | 334 { key::kImportSearchEngine, |
| 329 prefs::kImportSearchEngine, | 335 prefs::kImportSearchEngine, |
| 330 base::Value::Type::BOOLEAN }, | 336 base::Value::Type::BOOLEAN }, |
| 337 { key::kImportSearchEngine, | |
| 338 prefs::kImportDialogSearchEngine, | |
| 339 base::Value::Type::BOOLEAN }, | |
| 331 { key::kImportSavedPasswords, | 340 { key::kImportSavedPasswords, |
| 332 prefs::kImportSavedPasswords, | 341 prefs::kImportSavedPasswords, |
| 333 base::Value::Type::BOOLEAN }, | 342 base::Value::Type::BOOLEAN }, |
| 343 { key::kImportSavedPasswords, | |
| 344 prefs::kImportDialogSavedPasswords, | |
| 345 base::Value::Type::BOOLEAN }, | |
| 334 { key::kImportAutofillFormData, | 346 { key::kImportAutofillFormData, |
| 335 prefs::kImportAutofillFormData, | 347 prefs::kImportAutofillFormData, |
| 336 base::Value::Type::BOOLEAN }, | 348 base::Value::Type::BOOLEAN }, |
| 349 { key::kImportAutofillFormData, | |
| 350 prefs::kImportDialogAutofillFormData, | |
| 351 base::Value::Type::BOOLEAN }, | |
| 337 { key::kMaxConnectionsPerProxy, | 352 { key::kMaxConnectionsPerProxy, |
| 338 prefs::kMaxConnectionsPerProxy, | 353 prefs::kMaxConnectionsPerProxy, |
| 339 base::Value::Type::INTEGER }, | 354 base::Value::Type::INTEGER }, |
| 340 { key::kURLWhitelist, | 355 { key::kURLWhitelist, |
| 341 policy_prefs::kUrlWhitelist, | 356 policy_prefs::kUrlWhitelist, |
| 342 base::Value::Type::LIST }, | 357 base::Value::Type::LIST }, |
| 343 { key::kRestrictSigninToPattern, | 358 { key::kRestrictSigninToPattern, |
| 344 prefs::kGoogleServicesUsernamePattern, | 359 prefs::kGoogleServicesUsernamePattern, |
| 345 base::Value::Type::STRING }, | 360 base::Value::Type::STRING }, |
| 346 { key::kDefaultWebBluetoothGuardSetting, | 361 { key::kDefaultWebBluetoothGuardSetting, |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1009 #endif // defined(OS_CHROMEOS) | 1024 #endif // defined(OS_CHROMEOS) |
| 1010 | 1025 |
| 1011 #if BUILDFLAG(ENABLE_PLUGINS) | 1026 #if BUILDFLAG(ENABLE_PLUGINS) |
| 1012 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1027 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
| 1013 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1028 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 1014 | 1029 |
| 1015 return handlers; | 1030 return handlers; |
| 1016 } | 1031 } |
| 1017 | 1032 |
| 1018 } // namespace policy | 1033 } // namespace policy |
| OLD | NEW |