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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2912353003: Add a path parsing policy handler for the RoamingProfileLocation policy. (Closed)
Patch Set: Make all code not compile on Android at all. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/policy/local_sync_policy_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 4981e0be0e372f506b0f4d41826979f126c2cc02..9bebc118b6403273fe1f56e025c0506b6e9a5ca1 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -78,6 +78,7 @@
#if !defined(OS_ANDROID)
#include "chrome/browser/download/download_dir_policy_handler.h"
+#include "chrome/browser/policy/local_sync_policy_handler.h"
#endif
#if BUILDFLAG(ENABLE_EXTENSIONS)
@@ -669,9 +670,6 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kRoamingProfileSupportEnabled,
syncer::prefs::kEnableLocalSyncBackend,
base::Value::Type::BOOLEAN },
- { key::kRoamingProfileLocation,
- syncer::prefs::kLocalSyncBackendDir,
- base::Value::Type::STRING },
{ key::kNetworkTimeQueriesEnabled,
network_time::prefs::kNetworkTimeQueriesEnabled,
@@ -922,6 +920,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildHandlerList(
#if !defined(OS_ANDROID)
handlers->AddHandler(base::WrapUnique(new DownloadDirPolicyHandler));
+ handlers->AddHandler(base::MakeUnique<LocalSyncPolicyHandler>());
handlers->AddHandler(base::MakeUnique<SimpleSchemaValidatingPolicyHandler>(
key::kRegisteredProtocolHandlers,
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/policy/local_sync_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698