Commit c72daeed authored by Yusuf Sengul's avatar Yusuf Sengul Committed by Commit Bot

Set the GCPW defaults for Chrome SSO

Bug: 1038368
Change-Id: Ibc07bae9b5a3763ea88a6d070c5e159178a03a15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086012
Auto-Submit: Yusuf Sengul <yusufsn@google.com>
Reviewed-by: default avatarRakesh Soma <rakeshsoma@google.com>
Commit-Queue: Rakesh Soma <rakeshsoma@google.com>
Cr-Commit-Position: refs/heads/master@{#746583}
parent 9ece7d34
......@@ -574,7 +574,7 @@ HRESULT ScopedUserProfile::SaveAccountInfo(const base::Value& properties) {
// Set both of the settings to stricter defaults.
sts = key.WriteValue(kAllowImportOnlyOnFirstRun,
GetGlobalFlagOrDefault(kAllowImportOnlyOnFirstRun, 1));
GetGlobalFlagOrDefault(kAllowImportOnlyOnFirstRun, 0));
if (sts != ERROR_SUCCESS) {
HRESULT hr = HRESULT_FROM_WIN32(sts);
LOGFN(ERROR) << "key.WriteValue(" << sid
......@@ -584,7 +584,7 @@ HRESULT ScopedUserProfile::SaveAccountInfo(const base::Value& properties) {
sts = key.WriteValue(
kAllowImportWhenPrimaryAccountExists,
GetGlobalFlagOrDefault(kAllowImportWhenPrimaryAccountExists, 0));
GetGlobalFlagOrDefault(kAllowImportWhenPrimaryAccountExists, 1));
if (sts != ERROR_SUCCESS) {
HRESULT hr = HRESULT_FROM_WIN32(sts);
LOGFN(ERROR) << "key.WriteValue(" << sid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment