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_MEMORY_TRACKING_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ |
6 #define CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ | 6 #define CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 // Set and used only during the Manage function, to determine which | 47 // Set and used only during the Manage function, to determine which |
48 // non-surface clients should be hibernated. | 48 // non-surface clients should be hibernated. |
49 bool hibernated_; | 49 bool hibernated_; |
50 | 50 |
51 gpu::gles2::MemoryTracker* memory_tracker_; | 51 gpu::gles2::MemoryTracker* memory_tracker_; |
52 GpuMemoryManager* memory_manager_; | 52 GpuMemoryManager* memory_manager_; |
53 }; | 53 }; |
54 | 54 |
55 } // namespace content | 55 } // namespace content |
56 | 56 |
57 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ | 57 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ |
OLD | NEW |