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

Unified Diff: chrome/common/gpu_info.cc

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/common/gpu_info.h ('k') | chrome/common/gpu_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_info.cc
===================================================================
--- chrome/common/gpu_info.cc (revision 72706)
+++ chrome/common/gpu_info.cc (working copy)
@@ -5,7 +5,7 @@
#include "chrome/common/gpu_info.h"
GPUInfo::GPUInfo()
- : level_(kUninitialized),
+ : progress_(kUninitialized),
vendor_id_(0),
device_id_(0),
driver_vendor_(""),
@@ -20,8 +20,8 @@
can_lose_context_(false) {
}
-GPUInfo::Level GPUInfo::level() const {
- return level_;
+GPUInfo::Progress GPUInfo::progress() const {
+ return progress_;
}
base::TimeDelta GPUInfo::initialization_time() const {
@@ -76,8 +76,8 @@
return can_lose_context_;
}
-void GPUInfo::SetLevel(Level level) {
- level_ = level;
+void GPUInfo::SetProgress(Progress progress) {
+ progress_ = progress;
}
void GPUInfo::SetInitializationTime(
« no previous file with comments | « chrome/common/gpu_info.h ('k') | chrome/common/gpu_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698