| 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 "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 { key::kTranslateEnabled, | 281 { key::kTranslateEnabled, |
| 282 prefs::kEnableTranslate, | 282 prefs::kEnableTranslate, |
| 283 base::Value::TYPE_BOOLEAN }, | 283 base::Value::TYPE_BOOLEAN }, |
| 284 { key::kAllowOutdatedPlugins, | 284 { key::kAllowOutdatedPlugins, |
| 285 prefs::kPluginsAllowOutdated, | 285 prefs::kPluginsAllowOutdated, |
| 286 base::Value::TYPE_BOOLEAN }, | 286 base::Value::TYPE_BOOLEAN }, |
| 287 { key::kAlwaysAuthorizePlugins, | 287 { key::kAlwaysAuthorizePlugins, |
| 288 prefs::kPluginsAlwaysAuthorize, | 288 prefs::kPluginsAlwaysAuthorize, |
| 289 base::Value::TYPE_BOOLEAN }, | 289 base::Value::TYPE_BOOLEAN }, |
| 290 { key::kBookmarkBarEnabled, | 290 { key::kBookmarkBarEnabled, |
| 291 prefs::kShowBookmarkBar, | 291 bookmarks::prefs::kShowBookmarkBar, |
| 292 base::Value::TYPE_BOOLEAN }, | 292 base::Value::TYPE_BOOLEAN }, |
| 293 { key::kEditBookmarksEnabled, | 293 { key::kEditBookmarksEnabled, |
| 294 prefs::kEditBookmarksEnabled, | 294 bookmarks::prefs::kEditBookmarksEnabled, |
| 295 base::Value::TYPE_BOOLEAN }, | 295 base::Value::TYPE_BOOLEAN }, |
| 296 { key::kShowAppsShortcutInBookmarkBar, | 296 { key::kShowAppsShortcutInBookmarkBar, |
| 297 prefs::kShowAppsShortcutInBookmarkBar, | 297 bookmarks::prefs::kShowAppsShortcutInBookmarkBar, |
| 298 base::Value::TYPE_BOOLEAN }, | 298 base::Value::TYPE_BOOLEAN }, |
| 299 { key::kAllowFileSelectionDialogs, | 299 { key::kAllowFileSelectionDialogs, |
| 300 prefs::kAllowFileSelectionDialogs, | 300 prefs::kAllowFileSelectionDialogs, |
| 301 base::Value::TYPE_BOOLEAN }, | 301 base::Value::TYPE_BOOLEAN }, |
| 302 { key::kImportBookmarks, | 302 { key::kImportBookmarks, |
| 303 prefs::kImportBookmarks, | 303 prefs::kImportBookmarks, |
| 304 base::Value::TYPE_BOOLEAN }, | 304 base::Value::TYPE_BOOLEAN }, |
| 305 { key::kImportHistory, | 305 { key::kImportHistory, |
| 306 prefs::kImportHistory, | 306 prefs::kImportHistory, |
| 307 base::Value::TYPE_BOOLEAN }, | 307 base::Value::TYPE_BOOLEAN }, |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 chrome_schema, | 789 chrome_schema, |
| 790 SCHEMA_STRICT, | 790 SCHEMA_STRICT, |
| 791 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 791 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 792 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 792 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 793 #endif // defined(OS_CHROMEOS) | 793 #endif // defined(OS_CHROMEOS) |
| 794 | 794 |
| 795 return handlers.Pass(); | 795 return handlers.Pass(); |
| 796 } | 796 } |
| 797 | 797 |
| 798 } // namespace policy | 798 } // namespace policy |
| OLD | NEW |