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

Unified Diff: printing/page_overlays_unittest.cc

Issue 7016011: iwyu: Include stringprintf.h where appropriate, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix. Created 9 years, 7 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 | « net/tools/flip_server/balsa_headers.cc ('k') | remoting/jingle_glue/iq_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/page_overlays_unittest.cc
diff --git a/printing/page_overlays_unittest.cc b/printing/page_overlays_unittest.cc
index 3ff8be126193f895a5c11db6d5b61e94c9001bdc..03c7f70367732679041cdc015b86adbfd534babe 100644
--- a/printing/page_overlays_unittest.cc
+++ b/printing/page_overlays_unittest.cc
@@ -4,7 +4,7 @@
#include "base/message_loop.h"
#include "base/string16.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "printing/page_overlays.h"
#include "printing/print_settings.h"
@@ -66,14 +66,14 @@ TEST_F(PageOverlaysTest, StringConversion) {
std::wstring input;
std::wstring out;
for (size_t i = 0; i < arraysize(kOverlayKeys); ++i) {
- input = StringPrintf(L"foo%lsbar", kOverlayKeys[i].key);
+ input = base::StringPrintf(L"foo%lsbar", kOverlayKeys[i].key);
out = printing::PageOverlays::ReplaceVariables(input, *doc.get(),
*page.get());
EXPECT_FALSE(out.empty());
if (wcslen(kOverlayKeys[i].expected) == 0)
continue;
- std::wstring expected = StringPrintf(L"foo%lsbar",
- kOverlayKeys[i].expected);
+ std::wstring expected =
+ base::StringPrintf(L"foo%lsbar", kOverlayKeys[i].expected);
EXPECT_EQ(expected, out) << kOverlayKeys[i].key;
}
« no previous file with comments | « net/tools/flip_server/balsa_headers.cc ('k') | remoting/jingle_glue/iq_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698