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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2581353002: Use the Windows MDM API to check if the machine is being managed. (Closed)
Patch Set: Address review comments Created 3 years, 10 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 0a1c5f7a82ef650404b01bb6ee28dcc9bb10ee71..21b741aaf0b92c303739e34665f495fba4d1d4e1 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1689,7 +1689,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// Auto Import might be disabled via a field trial. However, this field
// trial is not intended to affect enterprise users.
auto_import =
- base::win::IsEnrolledToDomain() ||
+ base::win::IsEnterpriseManaged() ||
!base::FeatureList::IsEnabled(features::kDisableFirstRunAutoImportWin);
#endif // defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698