Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 3cba503b5d50559ace8b45a45954eb98c7bed446..f82b64db91e1c650d9cc6dd9cec7cdea7c1d39ce 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -1156,6 +1156,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. |