Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index df2462969fd9057683f1b3413593c5395fc6eb57..6f7483f0bfe7b8327a3ab03ac3f4f7ce7819efc0 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -1152,6 +1152,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. |