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

Unified Diff: chrome/common/child_process_logging_win.cc

Issue 12315071: Revert 184352 (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 | « chrome/common/child_process_logging_posix.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_logging_win.cc
===================================================================
--- chrome/common/child_process_logging_win.cc (revision 184354)
+++ chrome/common/child_process_logging_win.cc (working copy)
@@ -80,7 +80,7 @@
return;
}
- (set_active_url)(base::UTF8ToWide(url.possibly_invalid_spec()).c_str());
+ (set_active_url)(UTF8ToWide(url.possibly_invalid_spec()).c_str());
}
void SetClientId(const std::string& client_id) {
@@ -91,7 +91,7 @@
if (str.empty())
return;
- std::wstring wstr = base::ASCIIToWide(str);
+ std::wstring wstr = ASCIIToWide(str);
std::wstring old_wstr;
if (!GoogleUpdateSettings::GetMetricsId(&old_wstr) ||
wstr != old_wstr)
@@ -114,7 +114,7 @@
std::string GetClientId() {
std::wstring wstr_client_id;
if (GoogleUpdateSettings::GetMetricsId(&wstr_client_id))
- return base::WideToASCII(wstr_client_id);
+ return WideToASCII(wstr_client_id);
else
return std::string();
}
@@ -149,7 +149,7 @@
std::set<std::string>::const_iterator iter = extension_ids.begin();
for (size_t i = 0; i < kMaxReportedActiveExtensions; ++i) {
if (iter != extension_ids.end()) {
- (set_extension_id)(i, base::ASCIIToWide(iter->c_str()).c_str());
+ (set_extension_id)(i, ASCIIToWide(iter->c_str()).c_str());
++iter;
} else {
(set_extension_id)(i, L"");
@@ -189,7 +189,7 @@
if (!set_printer_info)
return;
}
- (set_printer_info)(base::UTF8ToWide(printer_info).c_str());
+ (set_printer_info)(UTF8ToWide(printer_info).c_str());
}
void SetCommandLine(const CommandLine* command_line) {
« no previous file with comments | « chrome/common/child_process_logging_posix.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698