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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2375563002: Stack sampling profiler: move configuration to chrome/common (Closed)
Patch Set: Created 4 years, 3 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 81b1a58a590f42cbb940b96151fd309e0351467e..e8fe69c015ac3fac64536189c0929b718be8fd6b 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -892,7 +892,8 @@ void ChromeBrowserMainParts::SetupFieldTrials() {
// Register a synthetic field trial for the sampling profiler configuration
// that was already chosen.
- sampling_profiler_config_.RegisterSyntheticFieldTrial();
+ sampling_profiler_config_.RegisterSyntheticFieldTrial(
+ base::Bind(&ChromeMetricsServiceAccessor::RegisterSyntheticFieldTrial));
#if defined(OS_WIN) || defined(OS_MACOSX) || \
(defined(OS_LINUX) && !defined(OS_CHROMEOS))

Powered by Google App Engine
This is Rietveld 408576698