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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2362493002: Stack sampling profiler: set process and thread information (Closed)
Patch Set: address comments 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/metrics/thread_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 74f9a5c4606eccca2c5edbc14cbe57f37680ca00..d3649bf1e8f7d9d6fa352bc37783f18b1da92209 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2950,7 +2950,8 @@ void ChromeContentBrowserClient::ExposeInterfacesToGpuProcess(
shell::InterfaceRegistry* registry,
content::GpuProcessHost* render_process_host) {
registry->AddInterface(
- base::Bind(&metrics::CallStackProfileCollector::Create));
+ base::Bind(&metrics::CallStackProfileCollector::Create,
+ metrics::CallStackProfileParams::GPU_PROCESS));
}
void ChromeContentBrowserClient::RegisterInProcessMojoApplications(
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/metrics/thread_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698