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

Unified Diff: chrome/common/gpu_info.h

Issue 6370013: Revert 72704 - Defered collect DirectX diagnostics until they are needed for ... (Closed) Base URL: svn://svn.chromium.org/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 72706)
+++ chrome/common/gpu_info.h (working copy)
@@ -22,16 +22,15 @@
GPUInfo();
~GPUInfo() {}
- enum Level {
+ enum Progress {
kUninitialized,
kPartial,
- kCompleting,
kComplete,
};
// Returns whether this GPUInfo has been partially or fully initialized with
// information.
- Level level() const;
+ Progress progress() const;
// The amount of time taken to get from the process starting to the message
// loop being pumped.
@@ -88,7 +87,7 @@
// semantics are available.
bool can_lose_context() const;
- void SetLevel(Level level);
+ void SetProgress(Progress progress);
void SetInitializationTime(const base::TimeDelta& initialization_time);
@@ -120,7 +119,7 @@
#endif
private:
- Level level_;
+ Progress progress_;
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