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

Unified Diff: gpu/config/gpu_info_collector_win.cc

Issue 100543005: Update all users of base::Version to explicitly specify the namespace, and clean up the header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: someday it will work Created 7 years 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 | « gpu/config/gpu_info.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info_collector_win.cc
diff --git a/gpu/config/gpu_info_collector_win.cc b/gpu/config/gpu_info_collector_win.cc
index 64672625e5fcfb02e779c87ddd536de725643485..db608d9c4783a95235844bc0e8872e3a9631da7a 100644
--- a/gpu/config/gpu_info_collector_win.cc
+++ b/gpu/config/gpu_info_collector_win.cc
@@ -170,23 +170,23 @@ GpuPerformanceStats RetrieveGpuPerformanceStatsWithHistograms() {
// Returns the display link driver version or an invalid version if it is
// not installed.
-Version DisplayLinkVersion() {
+base::Version DisplayLinkVersion() {
base::win::RegKey key;
if (key.Open(HKEY_LOCAL_MACHINE, L"SOFTWARE", KEY_READ | KEY_WOW64_64KEY))
- return Version();
+ return base::Version();
if (key.OpenKey(L"DisplayLink", KEY_READ | KEY_WOW64_64KEY))
- return Version();
+ return base::Version();
if (key.OpenKey(L"Core", KEY_READ | KEY_WOW64_64KEY))
- return Version();
+ return base::Version();
base::string16 version;
if (key.ReadValue(L"Version", &version))
- return Version();
+ return base::Version();
- return Version(WideToASCII(version));
+ return base::Version(WideToASCII(version));
}
// Returns whether Lenovo dCute is installed.
« no previous file with comments | « gpu/config/gpu_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698