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

Unified Diff: chrome/common/child_process_logging_win.cc

Issue 3056029: Move the number conversions from string_util to a new file.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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_mac.mm ('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 54340)
+++ chrome/common/child_process_logging_win.cc (working copy)
@@ -7,6 +7,7 @@
#include <windows.h>
#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "base/utf_string_conversions.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/installer/util/google_update_settings.h"
@@ -105,11 +106,12 @@
if (!set_gpu_info)
return;
}
- (set_gpu_info)(UintToWString(gpu_info.vendor_id()).c_str(),
- UintToWString(gpu_info.device_id()).c_str(),
- gpu_info.driver_version().c_str(),
- UintToWString(gpu_info.pixel_shader_version()).c_str(),
- UintToWString(gpu_info.vertex_shader_version()).c_str());
+ (set_gpu_info)(
+ base::UintToString16(gpu_info.vendor_id()).c_str(),
+ base::UintToString16(gpu_info.device_id()).c_str(),
+ gpu_info.driver_version().c_str(),
+ base::UintToString16(gpu_info.pixel_shader_version()).c_str(),
+ base::UintToString16(gpu_info.vertex_shader_version()).c_str());
}
} // namespace child_process_logging
« no previous file with comments | « chrome/common/child_process_logging_mac.mm ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698