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

Unified Diff: content/browser/geolocation/gateway_data_provider_win.cc

Issue 7633055: base: Fix the TODO in string_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_mini_installer.cc Created 9 years, 4 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_frame/ready_mode/internal/registry_ready_mode_state.cc ('k') | content/browser/mach_broker_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/gateway_data_provider_win.cc
diff --git a/content/browser/geolocation/gateway_data_provider_win.cc b/content/browser/geolocation/gateway_data_provider_win.cc
index e3d635ddbac02b042ad93702f080fc816cf6ec61..95483c7b8440fd35535df0aaeca466497e385148 100644
--- a/content/browser/geolocation/gateway_data_provider_win.cc
+++ b/content/browser/geolocation/gateway_data_provider_win.cc
@@ -10,6 +10,7 @@
#include <set>
#include "base/command_line.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "content/browser/geolocation/empty_device_data_provider.h"
#include "content/common/content_switches.h"
@@ -21,10 +22,10 @@ string16 MacAsString16(const uint8 mac_as_int[6]) {
// Format is XX-XX-XX-XX-XX-XX.
static const wchar_t* const kMacFormatString =
L"%02x-%02x-%02x-%02x-%02x-%02x";
- return WideToUTF16(StringPrintf(kMacFormatString,
- mac_as_int[0], mac_as_int[1],
- mac_as_int[2], mac_as_int[3],
- mac_as_int[4], mac_as_int[5]));
+ return WideToUTF16(base::StringPrintf(kMacFormatString,
+ mac_as_int[0], mac_as_int[1],
+ mac_as_int[2], mac_as_int[3],
+ mac_as_int[4], mac_as_int[5]));
}
void FetchGatewayIps(std::set<IPAddr>* gateway_ips) {
« no previous file with comments | « chrome_frame/ready_mode/internal/registry_ready_mode_state.cc ('k') | content/browser/mach_broker_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698