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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2645323004: win: Register synthetic field trial for clang builds. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index e1e2512423a569f65eec092b9d884e61dc3abc1d..04b027ab6d228fd98c578023c9c9516309439d34 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1354,6 +1354,16 @@ void ChromeBrowserMainParts::PreBrowserStart() {
SetupSyzyASAN();
#endif
+#if defined(OS_WIN)
+ ChromeMetricsServiceAccessor::RegisterSyntheticFieldTrial("ChromeWinClang",
+#if defined(__clang__)
+ "Enabled"
+#else
+ "Disabled"
+#endif
+ );
+#endif
+
// Start the tab manager here so that we give the most amount of time for the
// other services to start up before we start adjusting the oom priority.
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698