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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2375563002: Stack sampling profiler: move configuration to chrome/common (Closed)
Patch Set: formatting fix 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 55816ebed90f84c08d063f4ccb2be1f057a65e7b..332491bdc5ec700d5bbdf3606b11f4a79c1b98dc 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