| 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 e8605b8f7156ef1f817020bf5395dd27f582da65..20321342f3a7ee0a535c2ab62815b57d6555c25b 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.h
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.h
|
| @@ -35,7 +35,6 @@ namespace content {
|
| void RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg);
|
|
|
| class GpuProcessHostUIShim : public IPC::Listener,
|
| - public IPC::Sender,
|
| public base::NonThreadSafe {
|
| public:
|
| // Create a GpuProcessHostUIShim with the given ID. The object can be found
|
| @@ -52,29 +51,15 @@ class GpuProcessHostUIShim : public IPC::Listener,
|
|
|
| CONTENT_EXPORT static GpuProcessHostUIShim* FromID(int host_id);
|
|
|
| - // Get a GpuProcessHostUIShim instance; it doesn't matter which one.
|
| - // Return NULL if none has been created.
|
| - CONTENT_EXPORT static GpuProcessHostUIShim* GetOneInstance();
|
| -
|
| // Stops the GPU process.
|
| CONTENT_EXPORT void StopGpuProcess(const base::Closure& callback);
|
|
|
| - // IPC::Sender implementation.
|
| - bool Send(IPC::Message* msg) override;
|
| -
|
| // IPC::Listener implementation.
|
| // The GpuProcessHost causes this to be called on the UI thread to
|
| // dispatch the incoming messages from the GPU process, which are
|
| // actually received on the IO thread.
|
| bool OnMessageReceived(const IPC::Message& message) override;
|
|
|
| - CONTENT_EXPORT void SimulateRemoveAllContext();
|
| - CONTENT_EXPORT void SimulateCrash();
|
| - CONTENT_EXPORT void SimulateHang();
|
| -#if defined(OS_ANDROID)
|
| - CONTENT_EXPORT void SimulateJavaCrash();
|
| -#endif
|
| -
|
| private:
|
| explicit GpuProcessHostUIShim(int host_id);
|
| ~GpuProcessHostUIShim() override;
|
|
|