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

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

Issue 228393004: Create bookmarks component with names of bookmark preferences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
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/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/net/proxy_policy_handler.h" 11 #include "chrome/browser/net/proxy_policy_handler.h"
12 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" 12 #include "chrome/browser/profiles/incognito_mode_policy_handler.h"
13 #include "chrome/browser/search_engines/default_search_policy_handler.h" 13 #include "chrome/browser/search_engines/default_search_policy_handler.h"
14 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 #include "components/bookmarks/bookmark_pref_names.h"
15 #include "components/password_manager/core/common/password_manager_pref_names.h" 16 #include "components/password_manager/core/common/password_manager_pref_names.h"
16 #include "components/policy/core/browser/autofill_policy_handler.h" 17 #include "components/policy/core/browser/autofill_policy_handler.h"
17 #include "components/policy/core/browser/configuration_policy_handler.h" 18 #include "components/policy/core/browser/configuration_policy_handler.h"
18 #include "components/policy/core/browser/configuration_policy_handler_list.h" 19 #include "components/policy/core/browser/configuration_policy_handler_list.h"
19 #include "components/policy/core/browser/configuration_policy_handler_parameters .h" 20 #include "components/policy/core/browser/configuration_policy_handler_parameters .h"
20 #include "components/policy/core/browser/url_blacklist_policy_handler.h" 21 #include "components/policy/core/browser/url_blacklist_policy_handler.h"
21 #include "components/policy/core/common/policy_details.h" 22 #include "components/policy/core/common/policy_details.h"
22 #include "components/policy/core/common/policy_map.h" 23 #include "components/policy/core/common/policy_map.h"
23 #include "components/policy/core/common/policy_pref_names.h" 24 #include "components/policy/core/common/policy_pref_names.h"
24 #include "components/policy/core/common/schema.h" 25 #include "components/policy/core/common/schema.h"
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 #endif // defined(OS_CHROMEOS) 731 #endif // defined(OS_CHROMEOS)
731 732
732 #if defined(OS_ANDROID) || defined(OS_IOS) 733 #if defined(OS_ANDROID) || defined(OS_IOS)
733 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( 734 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
734 new ManagedBookmarksPolicyHandler())); 735 new ManagedBookmarksPolicyHandler()));
735 #endif 736 #endif
736 return handlers.Pass(); 737 return handlers.Pass();
737 } 738 }
738 739
739 } // namespace policy 740 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698