Index: chrome/common/gpu_info.h |
=================================================================== |
--- chrome/common/gpu_info.h (revision 66118) |
+++ chrome/common/gpu_info.h (working copy) |
@@ -21,9 +21,16 @@ |
GPUInfo(); |
~GPUInfo() {} |
- // Returns whether this GPUInfo has been initialized with information |
- bool initialized() const; |
+ enum Progress { |
+ kUninitialized, |
+ kPartial, |
+ kComplete, |
+ }; |
+ // Returns whether this GPUInfo has been partially or fully initialized with |
+ // information. |
+ Progress progress() const; |
+ |
// The amount of time taken to get from the process starting to the message |
// loop being pumped. |
base::TimeDelta initialization_time() const; |
@@ -60,6 +67,8 @@ |
// semantics are available. |
bool can_lose_context() const; |
+ void SetProgress(Progress progress); |
+ |
void SetInitializationTime(const base::TimeDelta& initialization_time); |
// Populate variables with passed in values |
@@ -78,7 +87,7 @@ |
#endif |
private: |
- bool initialized_; |
+ Progress progress_; |
base::TimeDelta initialization_time_; |
uint32 vendor_id_; |
uint32 device_id_; |