Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_DATA_MANAGER_IMPL_PRIVATE_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 262 GpuDataManagerImpl* owner_; | 262 GpuDataManagerImpl* owner_; |
| 263 | 263 |
| 264 bool gpu_process_accessible_; | 264 bool gpu_process_accessible_; |
| 265 | 265 |
| 266 // True if Initialize() has been completed. | 266 // True if Initialize() has been completed. |
| 267 bool is_initialized_; | 267 bool is_initialized_; |
| 268 | 268 |
| 269 // True if all future Initialize calls should be ignored. | 269 // True if all future Initialize calls should be ignored. |
| 270 bool finalized_; | 270 bool finalized_; |
| 271 | 271 |
| 272 // True is --single-process or --in-process-gpu is passed in. | |
|
Ken Russell (switch to Gerrit)
2016/12/14 01:02:31
True is -> True if
Zhenyao Mo
2016/12/14 18:41:38
Done.
| |
| 273 bool in_process_gpu_; | |
| 274 | |
| 272 std::string disabled_extensions_; | 275 std::string disabled_extensions_; |
| 273 | 276 |
| 274 // If one tries to call a member before initialization then it is defered | 277 // If one tries to call a member before initialization then it is defered |
| 275 // until Initialize() is completed. | 278 // until Initialize() is completed. |
| 276 std::vector<base::Closure> post_init_tasks_; | 279 std::vector<base::Closure> post_init_tasks_; |
| 277 | 280 |
| 278 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 281 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
| 279 }; | 282 }; |
| 280 | 283 |
| 281 } // namespace content | 284 } // namespace content |
| 282 | 285 |
| 283 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 286 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| OLD | NEW |