Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1603)

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private.h

Issue 1547793004: Make gpu black list work again on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Execute todo, send IPC directly from gpu_benchmarking_extension.cc and fixes variable names. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..887703b9356dae00902d0fc209c89ccccbcf270e 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_;
+
// 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);
};
« no previous file with comments | « content/browser/devtools/protocol/system_info_handler.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698