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 1e0113dc688d765c1e13b95140624bb4cb2129fa..ede859552cd0ac512a0afff8c2109bb378387b1a 100644 |
--- a/chrome/browser/chrome_browser_main_win.cc |
+++ b/chrome/browser/chrome_browser_main_win.cc |
@@ -311,10 +311,11 @@ 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. |
- base::debug::SetCrashKeyValue(crash_keys::kEnrolledToDomain, |
- base::win::IsEnrolledToDomain() ? "yes" : "no"); |
+ // 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::IsEnterpriseManaged() ? "yes" : "no"); |
int rv = ChromeBrowserMainParts::PreCreateThreads(); |