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. |