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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 9125015: Implement profiler log writing at shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for review comments Created 8 years, 10 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.h ('k') | chrome/browser/task_profiler/auto_tracking.h » ('j') | 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 85aa36bc70f4a2772431562ba7f2f0c726c7d7a3..e81e82330fe42a95053d53491cc0441df61e20b6 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1155,6 +1155,12 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
tracked_objects::ThreadData::InitializeAndSetTrackingStatus(enabled);
}
+ if (parsed_command_line().HasSwitch(switches::kProfilingOutputFile)) {
+ tracking_objects_.set_output_file_path(
+ parsed_command_line().GetSwitchValuePath(
+ switches::kProfilingOutputFile));
+ }
+
// This forces the TabCloseableStateWatcher to be created and, on chromeos,
// register for the notifications it needs to track the closeable state of
// tabs.
« no previous file with comments | « chrome/browser/chrome_browser_main.h ('k') | chrome/browser/task_profiler/auto_tracking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698