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

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

Issue 2723363002: gpu: Replace GpuMsg_Finalize ipc with equivalent 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_ipc_browsertests.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 167b4d223c0aec0431570e84df5291645d2d85aa..973e14e533f7760a39b505a9507d4d6d78c7479a 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -101,8 +101,9 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
IPC::Message* message);
// Helper function to run a callback on the IO thread. The callback receives
- // the appropriate GpuProcessHost instance. If |force_create| is false, and no
- // GpuProcessHost instance exists, then the callback is never called.
+ // the appropriate GpuProcessHost instance. Note that the callback can be
+ // called with a null host (e.g. when |force_create| is false, and no
+ // GpuProcessHost instance exists).
CONTENT_EXPORT static void CallOnIO(
GpuProcessKind kind,
bool force_create,
@@ -157,9 +158,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
// Forcefully terminates the GPU process.
void ForceShutdown();
- // Asks the GPU process to stop by itself.
- void StopGpuProcess();
-
void LoadedShader(const std::string& key, const std::string& data);
ui::mojom::GpuService* gpu_service() { return gpu_service_ptr_.get(); }
« no previous file with comments | « content/browser/gpu/gpu_ipc_browsertests.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698