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

Unified Diff: chrome/installer/util/google_update_settings.cc

Issue 109673004: Revert "Update all users of base::Version to explicitly specify the namespace, and clean up the hea… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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
Index: chrome/installer/util/google_update_settings.cc
diff --git a/chrome/installer/util/google_update_settings.cc b/chrome/installer/util/google_update_settings.cc
index 8160989122b6136476a0ac2e9643426b42239453..8d4fbd7f9b94d22e2ff5aba6cdb0655864aeb16a 100644
--- a/chrome/installer/util/google_update_settings.cc
+++ b/chrome/installer/util/google_update_settings.cc
@@ -585,8 +585,7 @@ base::string16 GoogleUpdateSettings::GetUninstallCommandLine(
return cmd_line;
}
-base::Version GoogleUpdateSettings::GetGoogleUpdateVersion(
- bool system_install) {
+Version GoogleUpdateSettings::GetGoogleUpdateVersion(bool system_install) {
const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER;
base::string16 version;
RegKey key;
@@ -596,10 +595,10 @@ base::Version GoogleUpdateSettings::GetGoogleUpdateVersion(
KEY_QUERY_VALUE) == ERROR_SUCCESS &&
key.ReadValue(google_update::kRegGoogleUpdateVersion,
&version) == ERROR_SUCCESS) {
- return base::Version(base::UTF16ToUTF8(version));
+ return Version(base::UTF16ToUTF8(version));
}
- return base::Version();
+ return Version();
}
base::Time GoogleUpdateSettings::GetGoogleUpdateLastStartedAU(
« no previous file with comments | « chrome/installer/util/google_update_settings.h ('k') | chrome/installer/util/google_update_settings_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698