| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/render_process_host_impl.cc (revision 110669)
|
| +++ content/browser/renderer_host/render_process_host_impl.cc (working copy)
|
| @@ -32,6 +32,7 @@
|
| #include "base/sys_info.h"
|
| #include "base/threading/thread.h"
|
| #include "base/threading/thread_restrictions.h"
|
| +#include "base/tracked_objects.h"
|
| #include "content/browser/appcache/appcache_dispatcher_host.h"
|
| #include "content/browser/browser_child_process_host.h"
|
| #include "content/browser/browser_context.h"
|
| @@ -933,6 +934,9 @@
|
| IPC::Logging::GetInstance()->Enabled()));
|
| #endif
|
|
|
| + bool enable = tracked_objects::ThreadData::tracking_status();
|
| + Send(new ChildProcessMsg_SetProfilerStatus(enable));
|
| +
|
| // Make sure the child checks with us before exiting, so that we do not try
|
| // to schedule a new navigation in a swapped out and exiting renderer.
|
| Send(new ChildProcessMsg_AskBeforeShutdown());
|
|
|