Chromium Code Reviews| Index: content/common/child_process_host.cc |
| =================================================================== |
| --- content/common/child_process_host.cc (revision 111617) |
| +++ 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(); |
|
jam
2011/11/28 15:17:34
instead of having this code here and in RenderProc
ramant (doing other things)
2011/11/29 01:32:20
Done.
|
| + Send(new ChildProcessMsg_SetProfilerStatus(enable)); |
| + |
| Send(new ChildProcessMsg_AskBeforeShutdown()); |
| opening_channel_ = true; |