diff options
author | Kristian Monsen <kristianm@google.com> | 2011-06-28 21:49:31 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-07-08 17:55:00 +0100 |
commit | ddb351dbec246cf1fab5ec20d2d5520909041de1 (patch) | |
tree | 158e3fb57bdcac07c7f1e767fde3c70687c9fbb1 /chrome/common/child_process_logging_win.cc | |
parent | 6b92e04f5f151c896e3088e86f70db7081009308 (diff) | |
download | external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.zip external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.tar.gz external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.tar.bz2 |
Merge Chromium at r12.0.742.93: Initial merge by git
Change-Id: Ic5ee2fec31358bbee305f7e915442377bfa6cda6
Diffstat (limited to 'chrome/common/child_process_logging_win.cc')
-rw-r--r-- | chrome/common/child_process_logging_win.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/chrome/common/child_process_logging_win.cc b/chrome/common/child_process_logging_win.cc index 0753f44..3a937f8 100644 --- a/chrome/common/child_process_logging_win.cc +++ b/chrome/common/child_process_logging_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -8,10 +8,11 @@ #include "base/string_util.h" #include "base/string_number_conversions.h" +#include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/gpu_info.h" #include "chrome/installer/util/google_update_settings.h" +#include "content/common/gpu/gpu_info.h" #include "googleurl/src/gurl.h" namespace child_process_logging { @@ -137,11 +138,11 @@ void SetGpuInfo(const GPUInfo& gpu_info) { return; } (set_gpu_info)( - base::UintToString16(gpu_info.vendor_id()).c_str(), - base::UintToString16(gpu_info.device_id()).c_str(), - UTF8ToUTF16(gpu_info.driver_version()).c_str(), - base::UintToString16(gpu_info.pixel_shader_version()).c_str(), - base::UintToString16(gpu_info.vertex_shader_version()).c_str()); + base::StringPrintf(L"0x%04x", gpu_info.vendor_id).c_str(), + base::StringPrintf(L"0x%04x", gpu_info.device_id).c_str(), + UTF8ToUTF16(gpu_info.driver_version).c_str(), + UTF8ToUTF16(gpu_info.pixel_shader_version).c_str(), + UTF8ToUTF16(gpu_info.vertex_shader_version).c_str()); } void SetNumberOfViews(int number_of_views) { |