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

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

Issue 2772193006: gpu: Replace GpuMsg_GpuSwitched with mojom api. (Closed)
Patch Set: Created 3 years, 9 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_data_manager_impl_private.cc ('k') | content/browser/gpu/gpu_process_host.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.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 85b5c764ccc93d82fc14d1a00d022ee098bfa8bf..c513b36f82511ce92623755810dab854123beffd 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -92,15 +92,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
static void GetProcessHandles(
const GpuDataManager::GetGpuProcessHandlesCallback& callback);
- // Helper function to send the given message to the GPU process on the IO
- // thread. Calls Get and if a host is returned, sends it. |force_create| can
- // be set to force the creation of GpuProcessHost if one doesn't already
- // exist. This function can be called from any thread. Deletes the message if
- // it cannot be sent.
- CONTENT_EXPORT static void SendOnIO(GpuProcessKind kind,
- bool force_create,
- IPC::Message* message);
-
// Helper function to run a callback on the IO thread. The callback receives
// the appropriate GpuProcessHost instance. Note that the callback can be
// called with a null host (e.g. when |force_create| is false, and no
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698