Chromium Code Reviews| Index: content/browser/gpu/gpu_data_manager_impl_private.h |
| diff --git a/content/browser/gpu/gpu_data_manager_impl_private.h b/content/browser/gpu/gpu_data_manager_impl_private.h |
| index 8766b4d55514305447bb7bb649bf51e0ba2f3cfe..6c72bd72017d8f901d63993f3b57983e9462fabb 100644 |
| --- a/content/browser/gpu/gpu_data_manager_impl_private.h |
| +++ b/content/browser/gpu/gpu_data_manager_impl_private.h |
| @@ -265,11 +265,18 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
| bool gpu_process_accessible_; |
| + // True if Initialize() has been completed. |
| + bool is_initialized; |
|
Zhenyao Mo
2016/02/10 23:53:46
is_initialized_ ("_" in the end)
|
| + |
| // True if all future Initialize calls should be ignored. |
| bool finalized_; |
| std::string disabled_extensions_; |
| + // If one tries to call a member before initialization then it is defered |
| + // until Initialize() is completed. |
| + std::vector<base::Closure> post_init_tasks_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
| }; |