| Index: content/common/child_process_host.cc
|
| ===================================================================
|
| --- content/common/child_process_host.cc (revision 110669)
|
| +++ content/common/child_process_host.cc (working copy)
|
| @@ -11,6 +11,7 @@
|
| #include "base/path_service.h"
|
| #include "base/process_util.h"
|
| #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
|
| +#include "base/tracked_objects.h"
|
| #include "content/common/child_process_info.h"
|
| #include "content/common/child_process_messages.h"
|
| #include "content/public/common/content_paths.h"
|
| @@ -285,6 +286,9 @@
|
| Send(new ChildProcessMsg_SetIPCLoggingEnabled(enabled));
|
| #endif
|
|
|
| + bool enable = tracked_objects::ThreadData::tracking_status();
|
| + Send(new ChildProcessMsg_SetProfilerStatus(enable));
|
| +
|
| Send(new ChildProcessMsg_AskBeforeShutdown());
|
|
|
| opening_channel_ = true;
|
|
|