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

Unified Diff: chrome/common/gpu_info.h

Issue 6341011: Reland 72704 - Defered collect DirectX diagnostics until they are needed for ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/browser/gpu_process_host_ui_shim.cc ('k') | chrome/common/gpu_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_info.h
===================================================================
--- chrome/common/gpu_info.h (revision 72707)
+++ chrome/common/gpu_info.h (working copy)
@@ -22,15 +22,16 @@
GPUInfo();
~GPUInfo() {}
- enum Progress {
+ enum Level {
kUninitialized,
kPartial,
+ kCompleting,
kComplete,
};
// Returns whether this GPUInfo has been partially or fully initialized with
// information.
- Progress progress() const;
+ Level level() const;
// The amount of time taken to get from the process starting to the message
// loop being pumped.
@@ -87,7 +88,7 @@
// semantics are available.
bool can_lose_context() const;
- void SetProgress(Progress progress);
+ void SetLevel(Level level);
void SetInitializationTime(const base::TimeDelta& initialization_time);
@@ -119,7 +120,7 @@
#endif
private:
- Progress progress_;
+ Level level_;
base::TimeDelta initialization_time_;
uint32 vendor_id_;
uint32 device_id_;
« no previous file with comments | « chrome/browser/gpu_process_host_ui_shim.cc ('k') | chrome/common/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698