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 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <queue> | 9 #include <queue> |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
15 #include "base/process.h" | 14 #include "base/process.h" |
16 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
17 #include "base/time.h" | 16 #include "base/time.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 static bool gpu_enabled_; | 192 static bool gpu_enabled_; |
194 | 193 |
195 static bool hardware_gpu_enabled_; | 194 static bool hardware_gpu_enabled_; |
196 | 195 |
197 scoped_ptr<BrowserChildProcessHostImpl> process_; | 196 scoped_ptr<BrowserChildProcessHostImpl> process_; |
198 | 197 |
199 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); | 198 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
200 }; | 199 }; |
201 | 200 |
202 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ | 201 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
OLD | NEW |