| Index: chrome/browser/chrome_browser_main.cc
|
| ===================================================================
|
| --- chrome/browser/chrome_browser_main.cc (revision 107816)
|
| +++ chrome/browser/chrome_browser_main.cc (working copy)
|
| @@ -1217,6 +1217,13 @@
|
| browser_process_.reset(new BrowserProcessImpl(parsed_command_line()));
|
| }
|
|
|
| + if (parsed_command_line().HasSwitch(switches::kEnableTracking)) {
|
| + std::string flag =
|
| + parsed_command_line().GetSwitchValueASCII(switches::kEnableTracking);
|
| + if (flag.compare("0") == 0)
|
| + tracked_objects::ThreadData::InitializeAndSetTrackingStatus(false);
|
| + }
|
| +
|
| // This forces the TabCloseableStateWatcher to be created and, on chromeos,
|
| // register for the notifications it needs to track the closeable state of
|
| // tabs.
|
|
|