| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index 919115addebd1235ce807abf1cfa5207785140f2..d28a69c7428323c3fdd678115314be176dfcc3e2 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/process.h"
|
| +#include "base/synchronization/waitable_event.h"
|
| #include "base/timer.h"
|
| #include "content/browser/child_process_launcher.h"
|
| #include "content/common/content_export.h"
|
| @@ -293,6 +294,15 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // Records the last time we regarded the child process active.
|
| base::TimeTicks child_process_activity_time_;
|
|
|
| +#if defined(OS_ANDROID)
|
| + // Android WebView needs to use a SyncChannel to block the browser process
|
| + // for synchronous find-in-page API support. In that case the shutdown event
|
| + // makes no sense as the Android port doesn't shutdown, but gets killed.
|
| + // SyncChannel still expects a shutdown event, so create a dummy one that
|
| + // will never will be signaled.
|
| + base::WaitableEvent dummy_shutdown_event_;
|
| +#endif
|
| +
|
| // Indicates whether this is a RenderProcessHost of a Browser Plugin guest
|
| // renderer.
|
| bool is_guest_;
|
|
|