Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.h

Issue 2723013004: gpu: Replace more chrome ipc with mojom API. (Closed)
Patch Set: tot merge Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698