| Index: content/browser/gpu/gpu_process_host_ui_shim.h
|
| diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h
|
| index bd7da0a37c39ca885067e41d1128c09c71932ec2..3519a1f504c190ee8c4162e0c647fd796d0ff1ac 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.h
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/linked_ptr.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/process/kill.h"
|
| #include "base/threading/non_thread_safe.h"
|
| #include "content/common/content_export.h"
|
| #include "content/common/message_router.h"
|
| @@ -53,8 +54,11 @@ class GpuProcessHostUIShim : public IPC::Listener,
|
|
|
| // Destroy the GpuProcessHostUIShim with the given host ID. This can only
|
| // be called on the UI thread. Only the GpuProcessHost should destroy the
|
| - // UI shim.
|
| - static void Destroy(int host_id, const std::string& message);
|
| + // UI shim. |status| contains the type of the GPU termination. |message|
|
| + // is a human-readable description of the termination type.
|
| + static void Destroy(int host_id,
|
| + base::TerminationStatus status,
|
| + const std::string& message);
|
|
|
| // Destroy all remaining GpuProcessHostUIShims.
|
| CONTENT_EXPORT static void DestroyAll();
|
| @@ -85,8 +89,9 @@ class GpuProcessHostUIShim : public IPC::Listener,
|
| // Message handlers.
|
| bool OnControlMessageReceived(const IPC::Message& message);
|
|
|
| - void OnLogMessage(int level, const std::string& header,
|
| - const std::string& message);
|
| + void OnLogMessage(int level,
|
| + const std::string& header,
|
| + const std::string& message);
|
| void OnResizeView(int32 surface_id,
|
| int32 route_id,
|
| gfx::Size size);
|
|
|