diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 00:22:07 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 00:22:07 +0000 |
commit | 33272e1f0fcbc1dee150323df883293cfb29f58d (patch) | |
tree | e004dbbd4e74433fcbadf93339fa7c4a3eb620ed /chrome/browser/geolocation | |
parent | 502e605ef343c8948a3fe6fc0e36907b9a3f3dba (diff) | |
download | chromium_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 'chrome/browser/geolocation')
-rw-r--r-- | chrome/browser/geolocation/wifi_data_provider_unittest_chromeos.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/geolocation/wifi_data_provider_unittest_chromeos.cc b/chrome/browser/geolocation/wifi_data_provider_unittest_chromeos.cc index 4795bc8..1407449 100644 --- a/chrome/browser/geolocation/wifi_data_provider_unittest_chromeos.cc +++ b/chrome/browser/geolocation/wifi_data_provider_unittest_chromeos.cc @@ -1,7 +1,8 @@ -// 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. +#include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/mock_network_library.h" #include "chrome/browser/geolocation/wifi_data_provider_chromeos.h" @@ -26,10 +27,10 @@ class GeolocationChromeOsWifiDataProviderTest : public testing::Test { for (int i = 0; i < ssids; ++i) { for (int j = 0; j < aps_per_ssid; ++j) { WifiAccessPoint ap; - ap.name = StringPrintf("SSID %d", i); + ap.name = base::StringPrintf("SSID %d", i); ap.channel = i * 10 + j; - ap.mac_address = StringPrintf("%02X:%02X:%02X:%02X:%02X:%02X", - i, j, 3, 4, 5, 6); + ap.mac_address = base::StringPrintf("%02X:%02X:%02X:%02X:%02X:%02X", + i, j, 3, 4, 5, 6); ap.signal_strength = j; ap.signal_to_noise = i; ret.push_back(ap); |