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

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 2581353002: Use the Windows MDM API to check if the machine is being managed. (Closed)
Patch Set: Fix components tests Created 4 years 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_win.cc
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
index 45cb0af5b2949d6dc78d0f515be9063701558f14..0c912c522cd2aa9f045b6657391b1b85fa98bd4c 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -290,10 +290,10 @@ void ChromeBrowserMainPartsWin::PreMainMessageLoopStart() {
}
int ChromeBrowserMainPartsWin::PreCreateThreads() {
-// Record whether the machine is domain joined in a crash key. This will be used
-// to better identify whether crashes are from enterprise users.
+ // Record whether the machine is domain joined in a crash key. This will be
+ // used to better identify whether crashes are from enterprise users.
base::debug::SetCrashKeyValue(crash_keys::kEnrolledToDomain,
- base::win::IsEnrolledToDomain() ? "yes" : "no");
+ base::win::IsEnterpriseUser() ? "yes" : "no");
int rv = ChromeBrowserMainParts::PreCreateThreads();

Powered by Google App Engine
This is Rietveld 408576698