| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 base::Value::TYPE_BOOLEAN }, | 292 base::Value::TYPE_BOOLEAN }, |
| 293 { key::kAlwaysAuthorizePlugins, | 293 { key::kAlwaysAuthorizePlugins, |
| 294 prefs::kPluginsAlwaysAuthorize, | 294 prefs::kPluginsAlwaysAuthorize, |
| 295 base::Value::TYPE_BOOLEAN }, | 295 base::Value::TYPE_BOOLEAN }, |
| 296 { key::kBookmarkBarEnabled, | 296 { key::kBookmarkBarEnabled, |
| 297 prefs::kShowBookmarkBar, | 297 prefs::kShowBookmarkBar, |
| 298 base::Value::TYPE_BOOLEAN }, | 298 base::Value::TYPE_BOOLEAN }, |
| 299 { key::kEditBookmarksEnabled, | 299 { key::kEditBookmarksEnabled, |
| 300 prefs::kEditBookmarksEnabled, | 300 prefs::kEditBookmarksEnabled, |
| 301 base::Value::TYPE_BOOLEAN }, | 301 base::Value::TYPE_BOOLEAN }, |
| 302 { key::kShowAppsShortcutInBookmarkBar, |
| 303 prefs::kShowAppsShortcutInBookmarkBar, |
| 304 base::Value::TYPE_BOOLEAN }, |
| 302 { key::kAllowFileSelectionDialogs, | 305 { key::kAllowFileSelectionDialogs, |
| 303 prefs::kAllowFileSelectionDialogs, | 306 prefs::kAllowFileSelectionDialogs, |
| 304 base::Value::TYPE_BOOLEAN }, | 307 base::Value::TYPE_BOOLEAN }, |
| 305 { key::kImportBookmarks, | 308 { key::kImportBookmarks, |
| 306 prefs::kImportBookmarks, | 309 prefs::kImportBookmarks, |
| 307 base::Value::TYPE_BOOLEAN }, | 310 base::Value::TYPE_BOOLEAN }, |
| 308 { key::kImportHistory, | 311 { key::kImportHistory, |
| 309 prefs::kImportHistory, | 312 prefs::kImportHistory, |
| 310 base::Value::TYPE_BOOLEAN }, | 313 base::Value::TYPE_BOOLEAN }, |
| 311 { key::kImportHomepage, | 314 { key::kImportHomepage, |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( | 731 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( |
| 729 new ExternalDataPolicyHandler(key::kUserAvatarImage))); | 732 new ExternalDataPolicyHandler(key::kUserAvatarImage))); |
| 730 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( | 733 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( |
| 731 new ExternalDataPolicyHandler(key::kWallpaperImage))); | 734 new ExternalDataPolicyHandler(key::kWallpaperImage))); |
| 732 #endif // defined(OS_CHROMEOS) | 735 #endif // defined(OS_CHROMEOS) |
| 733 | 736 |
| 734 return handlers.Pass(); | 737 return handlers.Pass(); |
| 735 } | 738 } |
| 736 | 739 |
| 737 } // namespace policy | 740 } // namespace policy |
| OLD | NEW |