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

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

Issue 964503002: Implemented ForceMaximizeBrowserWindowOnFirstRun policy, added unit test and browser test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 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 2b60aebad5e3037709e994de1eb84c678b0e4f80..07824746c76675ea8697ec2da1ebeb840f8e3d0a 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -469,6 +469,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kDeviceLoginScreenDomainAutoComplete,
NULL,
base::Value::TYPE_STRING },
+ { key::kForceMaximizeOnFirstRun,
+ prefs::kForceMaximizeOnFirstRun,
+ base::Value::TYPE_BOOLEAN },
#endif // defined(OS_CHROMEOS)
#if !defined(OS_MACOSX) && !defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698