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

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

Issue 78763002: Move PolicyMap and its dependencies to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export nested struct Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/prefs/pref_value_map.h" 10 #include "base/prefs/pref_value_map.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/extensions/policy_handlers.h" 13 #include "chrome/browser/extensions/policy_handlers.h"
14 #include "chrome/browser/net/disk_cache_dir_policy_handler.h" 14 #include "chrome/browser/net/disk_cache_dir_policy_handler.h"
15 #include "chrome/browser/net/proxy_policy_handler.h" 15 #include "chrome/browser/net/proxy_policy_handler.h"
16 #include "chrome/browser/policy/autofill_policy_handler.h" 16 #include "chrome/browser/policy/autofill_policy_handler.h"
17 #include "chrome/browser/policy/configuration_policy_handler.h" 17 #include "chrome/browser/policy/configuration_policy_handler.h"
18 #include "chrome/browser/policy/file_selection_dialogs_policy_handler.h" 18 #include "chrome/browser/policy/file_selection_dialogs_policy_handler.h"
19 #include "chrome/browser/policy/javascript_policy_handler.h" 19 #include "chrome/browser/policy/javascript_policy_handler.h"
20 #include "chrome/browser/policy/policy_error_map.h" 20 #include "chrome/browser/policy/policy_error_map.h"
21 #include "chrome/browser/policy/policy_map.h"
22 #include "chrome/browser/policy/url_blacklist_policy_handler.h" 21 #include "chrome/browser/policy/url_blacklist_policy_handler.h"
23 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" 22 #include "chrome/browser/profiles/incognito_mode_policy_handler.h"
24 #include "chrome/browser/search_engines/default_search_policy_handler.h" 23 #include "chrome/browser/search_engines/default_search_policy_handler.h"
25 #include "chrome/browser/sessions/restore_on_startup_policy_handler.h" 24 #include "chrome/browser/sessions/restore_on_startup_policy_handler.h"
26 #include "chrome/browser/sync/sync_policy_handler.h" 25 #include "chrome/browser/sync/sync_policy_handler.h"
27 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
28 #include "components/policy/core/common/policy_details.h" 27 #include "components/policy/core/common/policy_details.h"
28 #include "components/policy/core/common/policy_map.h"
29 #include "components/policy/core/common/policy_pref_names.h" 29 #include "components/policy/core/common/policy_pref_names.h"
30 #include "extensions/common/manifest.h" 30 #include "extensions/common/manifest.h"
31 #include "grit/generated_resources.h" 31 #include "grit/generated_resources.h"
32 #include "policy/policy_constants.h" 32 #include "policy/policy_constants.h"
33 33
34 #if defined(OS_CHROMEOS) 34 #if defined(OS_CHROMEOS)
35 #include "ash/magnifier/magnifier_constants.h" 35 #include "ash/magnifier/magnifier_constants.h"
36 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h " 36 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h "
37 #include "chromeos/dbus/power_policy_controller.h" 37 #include "chromeos/dbus/power_policy_controller.h"
38 #endif // defined(OS_CHROMEOS) 38 #endif // defined(OS_CHROMEOS)
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 692
693 #if defined(OS_ANDROID) 693 #if defined(OS_ANDROID)
694 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( 694 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
695 new ManagedBookmarksPolicyHandler())); 695 new ManagedBookmarksPolicyHandler()));
696 #endif 696 #endif
697 return handlers.Pass(); 697 return handlers.Pass();
698 } 698 }
699 #endif // !defined(OS_IOS) 699 #endif // !defined(OS_IOS)
700 700
701 } // namespace policy 701 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698