Index: content/gpu/gpu_child_thread.h |
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h |
index 853972be6f37eed44effa21fde8b6a5ef6fa5129..225e961329aea36363b4733f276fd2537369c7d4 100644 |
--- a/content/gpu/gpu_child_thread.h |
+++ b/content/gpu/gpu_child_thread.h |
@@ -44,6 +44,16 @@ class TargetServices; |
} |
namespace content { |
+class GpuProcessControlImpl; |
+class GpuProcessLogMessageListener : logging::LogMessageListener { |
+ public: |
+ void OnMessage(int severity, |
+ const char* file, |
+ int line, |
+ size_t message_start, |
+ const std::string& str) override; |
+}; |
+ |
class GpuServiceFactory; |
class GpuWatchdogThread; |
struct EstablishChannelParams; |
@@ -170,6 +180,8 @@ class GpuChildThread : public ChildThreadImpl, |
// Bindings to the shell::mojom::ServiceFactory impl. |
mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; |
+ std::unique_ptr<GpuProcessLogMessageListener> log_listener_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GpuChildThread); |
}; |