| 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/prefs/pref_value_map.h" | 10 #include "base/prefs/pref_value_map.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #if !defined(OS_IOS) | 36 #if !defined(OS_IOS) |
| 37 #include "chrome/browser/net/disk_cache_dir_policy_handler.h" | 37 #include "chrome/browser/net/disk_cache_dir_policy_handler.h" |
| 38 #include "chrome/browser/policy/file_selection_dialogs_policy_handler.h" | 38 #include "chrome/browser/policy/file_selection_dialogs_policy_handler.h" |
| 39 #include "chrome/browser/policy/javascript_policy_handler.h" | 39 #include "chrome/browser/policy/javascript_policy_handler.h" |
| 40 #include "chrome/browser/policy/network_prediction_policy_handler.h" | 40 #include "chrome/browser/policy/network_prediction_policy_handler.h" |
| 41 #include "chrome/browser/sessions/restore_on_startup_policy_handler.h" | 41 #include "chrome/browser/sessions/restore_on_startup_policy_handler.h" |
| 42 #include "chrome/browser/sync/sync_policy_handler.h" | 42 #include "chrome/browser/sync/sync_policy_handler.h" |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #if defined(OS_CHROMEOS) | 45 #if defined(OS_CHROMEOS) |
| 46 #include "chrome/browser/chromeos/drive/drive_pref_names.h" | |
| 47 #include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.h
" | 46 #include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.h
" |
| 48 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h
" | 47 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h
" |
| 49 #include "chromeos/chromeos_pref_names.h" | 48 #include "chromeos/chromeos_pref_names.h" |
| 50 #include "chromeos/dbus/power_policy_controller.h" | 49 #include "chromeos/dbus/power_policy_controller.h" |
| 50 #include "components/drive/drive_pref_names.h" |
| 51 #include "components/user_manager/user.h" | 51 #include "components/user_manager/user.h" |
| 52 #include "components/user_manager/user_manager.h" | 52 #include "components/user_manager/user_manager.h" |
| 53 #include "ui/chromeos/accessibility_types.h" | 53 #include "ui/chromeos/accessibility_types.h" |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 56 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 57 #include "chrome/browser/download/download_dir_policy_handler.h" | 57 #include "chrome/browser/download/download_dir_policy_handler.h" |
| 58 #endif | 58 #endif |
| 59 | 59 |
| 60 #if defined(ENABLE_EXTENSIONS) | 60 #if defined(ENABLE_EXTENSIONS) |
| (...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 788 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 789 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 789 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 790 handlers->AddHandler(make_scoped_ptr( | 790 handlers->AddHandler(make_scoped_ptr( |
| 791 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 791 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 792 #endif // defined(OS_CHROMEOS) | 792 #endif // defined(OS_CHROMEOS) |
| 793 | 793 |
| 794 return handlers.Pass(); | 794 return handlers.Pass(); |
| 795 } | 795 } |
| 796 | 796 |
| 797 } // namespace policy | 797 } // namespace policy |
| OLD | NEW |