| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_UI_PUBLIC_CPP_GPU_GPU_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_GPU_GPU_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_GPU_GPU_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_GPU_GPU_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 service_manager::Connector* connector_; | 76 service_manager::Connector* connector_; |
| 77 service_manager::InterfaceProvider* interface_provider_; | 77 service_manager::InterfaceProvider* interface_provider_; |
| 78 base::WaitableEvent shutdown_event_; | 78 base::WaitableEvent shutdown_event_; |
| 79 std::unique_ptr<base::Thread> io_thread_; | 79 std::unique_ptr<base::Thread> io_thread_; |
| 80 std::unique_ptr<ClientGpuMemoryBufferManager> gpu_memory_buffer_manager_; | 80 std::unique_ptr<ClientGpuMemoryBufferManager> gpu_memory_buffer_manager_; |
| 81 | 81 |
| 82 ui::mojom::GpuPtr gpu_; | 82 ui::mojom::GpuPtr gpu_; |
| 83 scoped_refptr<gpu::GpuChannelHost> gpu_channel_; | 83 scoped_refptr<gpu::GpuChannelHost> gpu_channel_; |
| 84 std::vector<gpu::GpuChannelEstablishedCallback> establish_callbacks_; | 84 std::vector<gpu::GpuChannelEstablishedCallback> establish_callbacks_; |
| 85 | 85 |
| 86 bool in_shutdown_ = false; |
| 87 |
| 86 DISALLOW_COPY_AND_ASSIGN(Gpu); | 88 DISALLOW_COPY_AND_ASSIGN(Gpu); |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 } // namespace ui | 91 } // namespace ui |
| 90 | 92 |
| 91 #endif // SERVICES_UI_PUBLIC_CPP_GPU_GPU_H_ | 93 #endif // SERVICES_UI_PUBLIC_CPP_GPU_GPU_H_ |
| OLD | NEW |