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

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

Issue 1384463002: Componentize proxy_policy_handler from chrome/browser/net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and updated Created 5 years, 2 months 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
« no previous file with comments | « chrome/browser/net/proxy_policy_handler_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/net/proxy_policy_handler.h"
13 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" 12 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h"
14 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" 13 #include "chrome/browser/profiles/incognito_mode_policy_handler.h"
15 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
16 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
17 #include "components/content_settings/core/common/pref_names.h" 16 #include "components/content_settings/core/common/pref_names.h"
18 #include "components/password_manager/core/common/password_manager_pref_names.h" 17 #include "components/password_manager/core/common/password_manager_pref_names.h"
19 #include "components/policy/core/browser/autofill_policy_handler.h" 18 #include "components/policy/core/browser/autofill_policy_handler.h"
20 #include "components/policy/core/browser/configuration_policy_handler.h" 19 #include "components/policy/core/browser/configuration_policy_handler.h"
21 #include "components/policy/core/browser/configuration_policy_handler_list.h" 20 #include "components/policy/core/browser/configuration_policy_handler_list.h"
22 #include "components/policy/core/browser/configuration_policy_handler_parameters .h" 21 #include "components/policy/core/browser/configuration_policy_handler_parameters .h"
22 #include "components/policy/core/browser/proxy_policy_handler.h"
23 #include "components/policy/core/browser/url_blacklist_policy_handler.h" 23 #include "components/policy/core/browser/url_blacklist_policy_handler.h"
24 #include "components/policy/core/common/policy_details.h" 24 #include "components/policy/core/common/policy_details.h"
25 #include "components/policy/core/common/policy_map.h" 25 #include "components/policy/core/common/policy_map.h"
26 #include "components/policy/core/common/policy_pref_names.h" 26 #include "components/policy/core/common/policy_pref_names.h"
27 #include "components/policy/core/common/schema.h" 27 #include "components/policy/core/common/schema.h"
28 #include "components/search_engines/default_search_policy_handler.h" 28 #include "components/search_engines/default_search_policy_handler.h"
29 #include "components/translate/core/common/translate_pref_names.h" 29 #include "components/translate/core/common/translate_pref_names.h"
30 #include "components/variations/pref_names.h" 30 #include "components/variations/pref_names.h"
31 #include "policy/policy_constants.h" 31 #include "policy/policy_constants.h"
32 32
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 792 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
793 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 793 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
794 handlers->AddHandler(make_scoped_ptr( 794 handlers->AddHandler(make_scoped_ptr(
795 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 795 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
796 #endif // defined(OS_CHROMEOS) 796 #endif // defined(OS_CHROMEOS)
797 797
798 return handlers.Pass(); 798 return handlers.Pass();
799 } 799 }
800 800
801 } // namespace policy 801 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/net/proxy_policy_handler_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698