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 #pragma once | |
8 | 7 |
9 #include <deque> | 8 #include <deque> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/id_map.h" | 11 #include "base/id_map.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/process.h" | 15 #include "base/process.h" |
17 #include "build/build_config.h" | 16 #include "build/build_config.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 bool software_; | 176 bool software_; |
178 bool handle_messages_scheduled_; | 177 bool handle_messages_scheduled_; |
179 bool processed_get_state_fast_; | 178 bool processed_get_state_fast_; |
180 | 179 |
181 base::WeakPtrFactory<GpuChannel> weak_factory_; | 180 base::WeakPtrFactory<GpuChannel> weak_factory_; |
182 | 181 |
183 DISALLOW_COPY_AND_ASSIGN(GpuChannel); | 182 DISALLOW_COPY_AND_ASSIGN(GpuChannel); |
184 }; | 183 }; |
185 | 184 |
186 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 185 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
OLD | NEW |