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 f0e65706b88381decf2063ab18391153f6d6bd80..76e8ae9c2b3826016af9a9c7fe44e497b8b9c1d4 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -39,6 +39,10 @@ |
#include "ui/gfx/gpu_memory_buffer.h" |
#include "ui/gl/gpu_switching_observer.h" |
+#if defined(OS_ANDROID) |
+#include "content/browser/android/synchronous_compositor_observer.h" |
+#endif |
+ |
namespace base { |
class CommandLine; |
class MessageLoop; |
@@ -261,6 +265,12 @@ class CONTENT_EXPORT RenderProcessHostImpl |
return notification_message_filter_.get(); |
} |
+#if defined(OS_ANDROID) |
+ SynchronousCompositorObserver* synchronous_compositor_filter() const { |
+ return synchronous_compositor_filter_.get(); |
+ } |
+#endif |
+ |
void set_is_for_guests_only_for_testing(bool is_for_guests_only) { |
is_for_guests_only_ = is_for_guests_only; |
} |
@@ -455,6 +465,10 @@ class CONTENT_EXPORT RenderProcessHostImpl |
// closure per notification that must be freed when the notification closes. |
scoped_refptr<NotificationMessageFilter> notification_message_filter_; |
+#if defined(OS_ANDROID) |
+ scoped_refptr<SynchronousCompositorObserver> synchronous_compositor_filter_; |
+#endif |
+ |
// Used in single-process mode. |
std::unique_ptr<base::Thread> in_process_renderer_; |