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

Unified Diff: chrome_frame/dll_redirector.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « chrome_frame/crash_reporting/vectored_handler_unittest.cc ('k') | chrome_frame/find_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/dll_redirector.cc
diff --git a/chrome_frame/dll_redirector.cc b/chrome_frame/dll_redirector.cc
index a1e49db70f2c79d5ce910a7805936f1d13db0b4f..e52362c792b42ab048629c16f3db240caaadcd31 100644
--- a/chrome_frame/dll_redirector.cc
+++ b/chrome_frame/dll_redirector.cc
@@ -30,12 +30,13 @@ DllRedirector::DllRedirector() : first_module_handle_(NULL) {
std::wstring beacon_name(kSharedMemoryName);
beacon_name += GetHostProcessName(false);
shared_memory_.reset(new base::SharedMemory(beacon_name));
- shared_memory_name_ = WideToUTF8(beacon_name);
+ shared_memory_name_ = base::WideToUTF8(beacon_name);
}
DllRedirector::DllRedirector(const char* shared_memory_name)
: shared_memory_name_(shared_memory_name), first_module_handle_(NULL) {
- shared_memory_.reset(new base::SharedMemory(ASCIIToWide(shared_memory_name)));
+ shared_memory_.reset(
+ new base::SharedMemory(base::ASCIIToWide(shared_memory_name)));
}
DllRedirector::~DllRedirector() {
@@ -286,7 +287,7 @@ HMODULE DllRedirector::LoadVersionedModule(base::Version* version) {
base::FilePath module_name = module_path.BaseName();
module_path = module_path.DirName()
.DirName()
- .Append(ASCIIToWide(version->GetString()))
+ .Append(base::ASCIIToWide(version->GetString()))
.Append(module_name);
hmodule = LoadLibrary(module_path.value().c_str());
« no previous file with comments | « chrome_frame/crash_reporting/vectored_handler_unittest.cc ('k') | chrome_frame/find_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698