Chromium Code Reviews| 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..8d0fdad3c3b08aa5e74ac0954184d2c2137dd94f 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,9 @@ 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. We also pass in the status of the GPU termination. |
| + static void Destroy(int host_id, base::TerminationStatus status, |
|
Alexei Svitkine (slow)
2013/12/13 22:37:22
Nit: 1 param per line and align the params.
rkaplow
2013/12/13 23:54:03
done, aligned on another method as well.
|
| + const std::string& message); |
| // Destroy all remaining GpuProcessHostUIShims. |
| CONTENT_EXPORT static void DestroyAll(); |