summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 01:55:40 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 01:55:40 +0000
commit1870d5cfa5ca359b44a32322c225cca1b2818e91 (patch)
tree410cfe2ee14081320dfbab6743ba85683e1aa6f3 /media
parent2ba45d1412dd0bbfea931a497efad37540a8d9df (diff)
downloadchromium_src-1870d5cfa5ca359b44a32322c225cca1b2818e91.zip
chromium_src-1870d5cfa5ca359b44a32322c225cca1b2818e91.tar.gz
chromium_src-1870d5cfa5ca359b44a32322c225cca1b2818e91.tar.bz2
iwyu: Include stringprintf.h where appropriate, part 3.
BUG=82098 TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/7016011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/audio/linux/alsa_output_unittest.cc4
-rw-r--r--media/base/video_frame_unittest.cc6
2 files changed, 5 insertions, 5 deletions
diff --git a/media/audio/linux/alsa_output_unittest.cc b/media/audio/linux/alsa_output_unittest.cc
index 911a8c8..f7c3b5d 100644
--- a/media/audio/linux/alsa_output_unittest.cc
+++ b/media/audio/linux/alsa_output_unittest.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "base/message_loop.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "media/audio/linux/alsa_output.h"
#include "media/audio/linux/alsa_wrapper.h"
#include "media/audio/linux/audio_manager_linux.h"
@@ -649,7 +649,7 @@ TEST_F(AlsaPcmOutputStreamTest, AutoSelectDevice_DeviceSelect) {
for (int i = 1; i <= 9; ++i) {
if (i == 3 || i == 4 || i == 5) // invalid number of channels
continue;
- SCOPED_TRACE(StringPrintf("Attempting %d Channel", i));
+ SCOPED_TRACE(base::StringPrintf("Attempting %d Channel", i));
// Hints will only be grabbed for channel numbers that have non-default
// devices associated with them.
diff --git a/media/base/video_frame_unittest.cc b/media/base/video_frame_unittest.cc
index 82012c9..a889271 100644
--- a/media/base/video_frame_unittest.cc
+++ b/media/base/video_frame_unittest.cc
@@ -6,7 +6,7 @@
#include "base/format_macros.h"
#include "base/memory/scoped_ptr.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "media/base/buffers.h"
#include "media/base/mock_filters.h"
#include "media/base/yuv_convert.h"
@@ -79,8 +79,8 @@ void ExpectFrameColor(media::VideoFrame* yv12_frame, uint32 expect_rgb_color) {
rgb_frame->data(VideoFrame::kRGBPlane) +
(rgb_frame->stride(VideoFrame::kRGBPlane) * row));
for (size_t col = 0; col < rgb_frame->width(); ++col) {
- SCOPED_TRACE(StringPrintf("Checking (%" PRIuS ", %" PRIuS ")",
- row, col));
+ SCOPED_TRACE(
+ base::StringPrintf("Checking (%" PRIuS ", %" PRIuS ")", row, col));
EXPECT_EQ(expect_rgb_color, rgb_row_data[col]);
}
}