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

Unified Diff: gpu/config/gpu_info_collector_win.cc

Issue 1281313003: base: Remove using:: declaration from version.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 5 years, 4 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 | « 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 f51764da823fb50542f6e6ccdc03fbbca6bce0e3..26a8f030d7c2de777a1afd13e0632c0f9db9fc07 100644
--- a/gpu/config/gpu_info_collector_win.cc
+++ b/gpu/config/gpu_info_collector_win.cc
@@ -53,23 +53,23 @@ enum DisplayLinkInstallationStatus {
// 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(base::UTF16ToASCII(version));
+ return base::Version(base::UTF16ToASCII(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