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

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

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. Created 4 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
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 <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 697
698 #if BUILDFLAG(ANDROID_JAVA_UI) 698 #if BUILDFLAG(ANDROID_JAVA_UI)
699 handlers->AddHandler( 699 handlers->AddHandler(
700 base::MakeUnique<ContextualSearchPolicyHandlerAndroid>()); 700 base::MakeUnique<ContextualSearchPolicyHandlerAndroid>());
701 #endif 701 #endif
702 702
703 handlers->AddHandler(base::MakeUnique<FileSelectionDialogsPolicyHandler>()); 703 handlers->AddHandler(base::MakeUnique<FileSelectionDialogsPolicyHandler>());
704 handlers->AddHandler(base::MakeUnique<JavascriptPolicyHandler>()); 704 handlers->AddHandler(base::MakeUnique<JavascriptPolicyHandler>());
705 handlers->AddHandler(base::MakeUnique<NetworkPredictionPolicyHandler>()); 705 handlers->AddHandler(base::MakeUnique<NetworkPredictionPolicyHandler>());
706 handlers->AddHandler(base::MakeUnique<RestoreOnStartupPolicyHandler>()); 706 handlers->AddHandler(base::MakeUnique<RestoreOnStartupPolicyHandler>());
707 handlers->AddHandler(base::MakeUnique<sync_driver::SyncPolicyHandler>()); 707 handlers->AddHandler(base::MakeUnique<syncer::SyncPolicyHandler>());
708 708
709 handlers->AddHandler(base::MakeUnique<StringMappingListPolicyHandler>( 709 handlers->AddHandler(base::MakeUnique<StringMappingListPolicyHandler>(
710 key::kEnableDeprecatedWebPlatformFeatures, 710 key::kEnableDeprecatedWebPlatformFeatures,
711 prefs::kEnableDeprecatedWebPlatformFeatures, 711 prefs::kEnableDeprecatedWebPlatformFeatures,
712 base::Bind(GetDeprecatedFeaturesMap))); 712 base::Bind(GetDeprecatedFeaturesMap)));
713 713
714 #if defined(ENABLE_EXTENSIONS) 714 #if defined(ENABLE_EXTENSIONS)
715 handlers->AddHandler(base::MakeUnique<extensions::ExtensionListPolicyHandler>( 715 handlers->AddHandler(base::MakeUnique<extensions::ExtensionListPolicyHandler>(
716 key::kExtensionInstallWhitelist, 716 key::kExtensionInstallWhitelist,
717 extensions::pref_names::kInstallAllowList, false)); 717 extensions::pref_names::kInstallAllowList, false));
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 881 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
882 handlers->AddHandler( 882 handlers->AddHandler(
883 base::MakeUnique<chromeos::KeyPermissionsPolicyHandler>(chrome_schema)); 883 base::MakeUnique<chromeos::KeyPermissionsPolicyHandler>(chrome_schema));
884 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler())); 884 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler()));
885 #endif // defined(OS_CHROMEOS) 885 #endif // defined(OS_CHROMEOS)
886 886
887 return handlers; 887 return handlers;
888 } 888 }
889 889
890 } // namespace policy 890 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/save_password_infobar_delegate_android.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698