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

Side by Side Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 2686243002: content/ui[Android]: Remove ContextProviderFactory. (Closed)
Patch Set: .. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 const int gpu_client_id_; 72 const int gpu_client_id_;
73 const uint64_t gpu_client_tracing_id_; 73 const uint64_t gpu_client_tracing_id_;
74 std::unique_ptr<base::WaitableEvent> shutdown_event_; 74 std::unique_ptr<base::WaitableEvent> shutdown_event_;
75 scoped_refptr<gpu::GpuChannelHost> gpu_channel_; 75 scoped_refptr<gpu::GpuChannelHost> gpu_channel_;
76 std::unique_ptr<BrowserGpuMemoryBufferManager> gpu_memory_buffer_manager_; 76 std::unique_ptr<BrowserGpuMemoryBufferManager> gpu_memory_buffer_manager_;
77 int gpu_host_id_; 77 int gpu_host_id_;
78 scoped_refptr<EstablishRequest> pending_request_; 78 scoped_refptr<EstablishRequest> pending_request_;
79 std::vector<gpu::GpuChannelEstablishedCallback> established_callbacks_; 79 std::vector<gpu::GpuChannelEstablishedCallback> established_callbacks_;
80 80
81 bool in_shutdown_ = false;
82
81 static BrowserGpuChannelHostFactory* instance_; 83 static BrowserGpuChannelHostFactory* instance_;
82 84
83 DISALLOW_COPY_AND_ASSIGN(BrowserGpuChannelHostFactory); 85 DISALLOW_COPY_AND_ASSIGN(BrowserGpuChannelHostFactory);
84 }; 86 };
85 87
86 } // namespace content 88 } // namespace content
87 89
88 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 90 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698