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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 258 DomainBlockMap blocked_domains_; | 258 DomainBlockMap blocked_domains_; |
| 259 mutable std::list<base::Time> timestamps_of_gpu_resets_; | 259 mutable std::list<base::Time> timestamps_of_gpu_resets_; |
| 260 bool domain_blocking_enabled_; | 260 bool domain_blocking_enabled_; |
| 261 | 261 |
| 262 GpuDataManagerImpl* owner_; | 262 GpuDataManagerImpl* owner_; |
| 263 | 263 |
| 264 unsigned int display_count_; | 264 unsigned int display_count_; |
| 265 | 265 |
| 266 bool gpu_process_accessible_; | 266 bool gpu_process_accessible_; |
| 267 | 267 |
| 268 // True if Initialize() has been completed. | |
| 269 bool is_initialized; | |
|
Zhenyao Mo
2016/02/10 23:53:46
is_initialized_ ("_" in the end)
| |
| 270 | |
| 268 // True if all future Initialize calls should be ignored. | 271 // True if all future Initialize calls should be ignored. |
| 269 bool finalized_; | 272 bool finalized_; |
| 270 | 273 |
| 271 std::string disabled_extensions_; | 274 std::string disabled_extensions_; |
| 272 | 275 |
| 276 // If one tries to call a member before initialization then it is defered | |
| 277 // until Initialize() is completed. | |
| 278 std::vector<base::Closure> post_init_tasks_; | |
| 279 | |
| 273 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 280 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
| 274 }; | 281 }; |
| 275 | 282 |
| 276 } // namespace content | 283 } // namespace content |
| 277 | 284 |
| 278 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 285 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| OLD | NEW |