diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-24 20:27:04 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-24 20:27:04 +0000 |
commit | 5f0cebb46d66ef0a1996594d0846c0067a8cf475 (patch) | |
tree | 5b3204961a403e7396fe48b45930b5b6528839f0 /apps | |
parent | 20023a76c3ffa049c35f86263fbf6ee4bbf00ade (diff) | |
download | chromium_src-5f0cebb46d66ef0a1996594d0846c0067a8cf475.zip chromium_src-5f0cebb46d66ef0a1996594d0846c0067a8cf475.tar.gz chromium_src-5f0cebb46d66ef0a1996594d0846c0067a8cf475.tar.bz2 |
Add utf_string_conversions to base namespace.
This adds "using"s for all functions so those can be fixed in a separate pass.
This converts the "Wide" versions of the functions in the Chrome directory as a first pass on the changeover.
BUG=
Review URL: https://codereview.chromium.org/12314090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_host/update.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_host/update.cc b/apps/app_host/update.cc index e8b14be8..88f31a5 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(); } |