| OLD | NEW |
| 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_GPU_PROCESS_HOST_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
| 6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 struct GpuPreferences; | 44 struct GpuPreferences; |
| 45 struct SyncToken; | 45 struct SyncToken; |
| 46 } | 46 } |
| 47 | 47 |
| 48 namespace service_manager { | 48 namespace service_manager { |
| 49 class InterfaceProvider; | 49 class InterfaceProvider; |
| 50 } | 50 } |
| 51 | 51 |
| 52 namespace content { | 52 namespace content { |
| 53 class BrowserChildProcessHostImpl; | 53 class BrowserChildProcessHostImpl; |
| 54 class GpuMainThread; | |
| 55 class InProcessChildThreadParams; | 54 class InProcessChildThreadParams; |
| 56 class ShaderDiskCache; | 55 class ShaderDiskCache; |
| 57 | 56 |
| 58 typedef base::Thread* (*GpuMainThreadFactoryFunction)( | 57 typedef base::Thread* (*GpuMainThreadFactoryFunction)( |
| 59 const InProcessChildThreadParams&, const gpu::GpuPreferences&); | 58 const InProcessChildThreadParams&, const gpu::GpuPreferences&); |
| 60 | 59 |
| 61 class GpuProcessHost : public BrowserChildProcessHostDelegate, | 60 class GpuProcessHost : public BrowserChildProcessHostDelegate, |
| 62 public IPC::Sender, | 61 public IPC::Sender, |
| 63 public base::NonThreadSafe { | 62 public base::NonThreadSafe { |
| 64 public: | 63 public: |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 ClientIdToShaderCacheMap client_id_to_shader_cache_; | 287 ClientIdToShaderCacheMap client_id_to_shader_cache_; |
| 289 | 288 |
| 290 std::string shader_prefix_key_; | 289 std::string shader_prefix_key_; |
| 291 | 290 |
| 292 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); | 291 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
| 293 }; | 292 }; |
| 294 | 293 |
| 295 } // namespace content | 294 } // namespace content |
| 296 | 295 |
| 297 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ | 296 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
| OLD | NEW |