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

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

Issue 2805623002: gpu: Notify callbacks the reason for channel creation failure (Closed)
Patch Set: . Created 3 years, 8 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 | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index 5298f4f322db9219bdccef26a75296a547dbda28..e5f3ce425eab68c16e51eb748ee73ba23d6939b9 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -36,7 +36,6 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
std::unique_ptr<base::SharedMemory> AllocateSharedMemory(
size_t size) override;
- int GpuProcessHostId() { return gpu_host_id_; }
gpu::GpuChannelHost* GetGpuChannel();
int GetGpuChannelId() { return gpu_client_id_; }
@@ -72,7 +71,6 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
std::unique_ptr<base::WaitableEvent> shutdown_event_;
scoped_refptr<gpu::GpuChannelHost> gpu_channel_;
std::unique_ptr<BrowserGpuMemoryBufferManager> gpu_memory_buffer_manager_;
- int gpu_host_id_;
scoped_refptr<EstablishRequest> pending_request_;
std::vector<gpu::GpuChannelEstablishedCallback> established_callbacks_;
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698