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

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

Issue 2902603002: Add enterprise policy for network time service (Closed)
Patch Set: shorten caption 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
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 03bc6a8945258a3457fd21cda56aaa601424e636..4981e0be0e372f506b0f4d41826979f126c2cc02 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -33,6 +33,7 @@
#include "components/certificate_transparency/pref_names.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/metrics/metrics_pref_names.h"
+#include "components/network_time/network_time_pref_names.h"
#include "components/ntp_snippets/pref_names.h"
#include "components/password_manager/core/common/password_manager_pref_names.h"
#include "components/policy/core/browser/autofill_policy_handler.h"
@@ -671,6 +672,10 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kRoamingProfileLocation,
syncer::prefs::kLocalSyncBackendDir,
base::Value::Type::STRING },
+
+ { key::kNetworkTimeQueriesEnabled,
+ network_time::prefs::kNetworkTimeQueriesEnabled,
+ base::Value::Type::BOOLEAN },
};
// clang-format on
« no previous file with comments | « no previous file | chrome/browser/policy/policy_browsertest.cc » ('j') | components/policy/resources/policy_templates.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698