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

Unified Diff: chrome/browser/profiles/profile_impl.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: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 8c359567fdcb4aaedefb518deed280f0a75ced1b..820b5472891ac594af0e4254c97350e34c140e38 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -380,6 +380,8 @@ void ProfileImpl::RegisterProfilePrefs(
registry->RegisterStringPref(prefs::kHomePage,
std::string(),
home_page_flags);
+ registry->RegisterStringPref(prefs::kNewTabPageLocationOverride,
+ std::string());
#if BUILDFLAG(ENABLE_PRINTING)
registry->RegisterBooleanPref(prefs::kPrintingEnabled, true);
#endif

Powered by Google App Engine
This is Rietveld 408576698