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

Unified Diff: components/policy/core/common/policy_loader_win.cc

Issue 2643833002: Add a New Tab page location group policy (Closed)
Patch Set: Name change missing Created 3 years, 11 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: components/policy/core/common/policy_loader_win.cc
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc
index 1854f97503cea5b5c1546ba23f5bfe73b20d50f7..431bfc6e88621e347f787da2d2fb75d0b411f317 100644
--- a/components/policy/core/common/policy_loader_win.cc
+++ b/components/policy/core/common/policy_loader_win.cc
@@ -13,6 +13,7 @@
#include <memory>
#include <string>
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -63,13 +64,10 @@ const char kBlockedExtensionPrefix[] = "[BLOCKED]";
// List of policies that are considered only if the user is part of a AD domain.
// Please document any new additions in policy_templates.json!
const char* kInsecurePolicies[] = {
- key::kMetricsReportingEnabled,
- key::kDefaultSearchProviderEnabled,
- key::kHomepageIsNewTabPage,
- key::kHomepageLocation,
- key::kRestoreOnStartup,
- key::kRestoreOnStartupURLs
-};
+ key::kMetricsReportingEnabled, key::kDefaultSearchProviderEnabled,
pastarmovj 2017/01/19 14:56:21 nit: I have a slight preference for the one item p
MAD 2017/01/19 16:13:30 I prefer to always run git cl format (and git cl l
+ key::kHomepageIsNewTabPage, key::kHomepageLocation,
+ key::kNewTabPageLocation, key::kRestoreOnStartup,
+ key::kRestoreOnStartupURLs};
#pragma warning(push)
#pragma warning(disable: 4068) // unknown pragmas

Powered by Google App Engine
This is Rietveld 408576698