summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 00:22:07 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 00:22:07 +0000
commit33272e1f0fcbc1dee150323df883293cfb29f58d (patch)
treee004dbbd4e74433fcbadf93339fa7c4a3eb620ed /content/browser/geolocation
parent502e605ef343c8948a3fe6fc0e36907b9a3f3dba (diff)
downloadchromium_src-33272e1f0fcbc1dee150323df883293cfb29f58d.zip
chromium_src-33272e1f0fcbc1dee150323df883293cfb29f58d.tar.gz
chromium_src-33272e1f0fcbc1dee150323df883293cfb29f58d.tar.bz2
base: Fix the TODO in string_util.h
This removes the include of stringprintf.h from string_util.h and fix the clients. BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7633055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r--content/browser/geolocation/gateway_data_provider_win.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/content/browser/geolocation/gateway_data_provider_win.cc b/content/browser/geolocation/gateway_data_provider_win.cc
index e3d635d..ad58397 100644
--- a/content/browser/geolocation/gateway_data_provider_win.cc
+++ b/content/browser/geolocation/gateway_data_provider_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.
@@ -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) {