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

Unified Diff: apps/app_host/update.cc

Issue 12314090: Add utf_string_conversions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « no previous file | base/utf_string_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_host/update.cc
diff --git a/apps/app_host/update.cc b/apps/app_host/update.cc
index e8b14be81cc3088d29bfb1cd7f8257a3573117be..88f31a56513575aca1b11980285104d21c5ffbb5 100644
--- a/apps/app_host/update.cc
+++ b/apps/app_host/update.cc
@@ -42,7 +42,7 @@ const wchar_t kBrowserAppGuid[] = L"{8A69D345-D564-463c-AFF1-A69D9E530F96}";
Version GetAppHostVersion() {
scoped_ptr<FileVersionInfo> version_info(
FileVersionInfo::CreateFileVersionInfoForCurrentModule());
- Version app_host_version(WideToASCII(version_info->product_version()));
+ Version app_host_version(base::WideToASCII(version_info->product_version()));
DCHECK(app_host_version.IsValid());
return app_host_version;
}
@@ -58,7 +58,7 @@ Version GetAppVersionFromRegistry(const wchar_t* app_guid) {
if ((reg_key.Open(root_key, client_key.c_str(),
KEY_QUERY_VALUE) == ERROR_SUCCESS) &&
(reg_key.ReadValue(kRegVersionField, &version_str) == ERROR_SUCCESS)) {
- return Version(WideToASCII(version_str));
+ return Version(base::WideToASCII(version_str));
}
return Version();
}
« no previous file with comments | « no previous file | base/utf_string_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698