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

Unified Diff: content/browser/gpu/gpu_client.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 | « content/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/browser/gpu/gpu_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_client.h
diff --git a/content/browser/gpu/gpu_client.h b/content/browser/gpu/gpu_client.h
index 70eb29f4039c74f3474815043252974675eb2d10..4e45d860d243aaa513e69ec7fba84d1122d988ae 100644
--- a/content/browser/gpu/gpu_client.h
+++ b/content/browser/gpu/gpu_client.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_GPU_GPU_CLIENT_H_
#include "base/memory/weak_ptr.h"
+#include "content/browser/gpu/gpu_process_host.h"
#include "ipc/ipc_channel_handle.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/ui/public/interfaces/gpu.mojom.h"
@@ -23,7 +24,8 @@ class GpuClient : public ui::mojom::Gpu {
void OnError();
void OnEstablishGpuChannel(const EstablishGpuChannelCallback& callback,
const IPC::ChannelHandle& channel,
- const gpu::GPUInfo& gpu_info);
+ const gpu::GPUInfo& gpu_info,
+ GpuProcessHost::EstablishChannelStatus status);
void OnCreateGpuMemoryBuffer(const CreateGpuMemoryBufferCallback& callback,
const gfx::GpuMemoryBufferHandle& handle);
« no previous file with comments | « content/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/browser/gpu/gpu_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698