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_COMMON_GPU_GPU_CHANNEL_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/process/process.h" | 15 #include "base/process/process.h" |
17 #include "base/trace_event/memory_dump_provider.h" | 16 #include "base/trace_event/memory_dump_provider.h" |
18 #include "build/build_config.h" | 17 #include "build/build_config.h" |
19 #include "content/common/gpu/gpu_command_buffer_stub.h" | 18 #include "content/common/gpu/gpu_command_buffer_stub.h" |
20 #include "content/common/gpu/gpu_memory_manager.h" | 19 #include "content/common/gpu/gpu_memory_manager.h" |
21 #include "content/common/gpu/gpu_result_codes.h" | 20 #include "content/common/gpu/gpu_result_codes.h" |
22 #include "content/common/message_router.h" | 21 #include "content/common/message_router.h" |
23 #include "gpu/command_buffer/service/valuebuffer_manager.h" | 22 #include "gpu/command_buffer/service/valuebuffer_manager.h" |
24 #include "ipc/ipc_sync_channel.h" | 23 #include "ipc/ipc_sync_channel.h" |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // that any WeakPtrs to Controller are invalidated before its members | 265 // that any WeakPtrs to Controller are invalidated before its members |
267 // variable's destructors are executed, rendering them invalid. | 266 // variable's destructors are executed, rendering them invalid. |
268 base::WeakPtrFactory<GpuChannel> weak_factory_; | 267 base::WeakPtrFactory<GpuChannel> weak_factory_; |
269 | 268 |
270 DISALLOW_COPY_AND_ASSIGN(GpuChannel); | 269 DISALLOW_COPY_AND_ASSIGN(GpuChannel); |
271 }; | 270 }; |
272 | 271 |
273 } // namespace content | 272 } // namespace content |
274 | 273 |
275 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 274 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
OLD | NEW |