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

Unified Diff: chrome/test/unit/chrome_test_suite.cc

Issue 7004007: iwyu: Include stringprintf.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 2. 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 | « chrome/test/ui/ui_layout_test.cc ('k') | chrome/tools/convert_dict/aff_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/unit/chrome_test_suite.cc
diff --git a/chrome/test/unit/chrome_test_suite.cc b/chrome/test/unit/chrome_test_suite.cc
index ea42dce298e925f12324eab07c679ce0a586ea4b..f3e033533c71c3d48a0dc36b0d982b2bf5176afe 100644
--- a/chrome/test/unit/chrome_test_suite.cc
+++ b/chrome/test/unit/chrome_test_suite.cc
@@ -9,7 +9,7 @@
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/metrics/stats_table.h"
#include "base/process_util.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/common/chrome_constants.h"
@@ -136,7 +136,7 @@ void ChromeTestSuite::Initialize() {
// initialize the global StatsTable for unit_tests (make sure the file
// doesn't exist before opening it so the test gets a clean slate)
stats_filename_ = "unit_tests";
- std::string pid_string = StringPrintf("-%d", base::GetCurrentProcId());
+ std::string pid_string = base::StringPrintf("-%d", base::GetCurrentProcId());
stats_filename_ += pid_string;
RemoveSharedMemoryFile(stats_filename_);
stats_table_ = new base::StatsTable(stats_filename_, 20, 200);
« no previous file with comments | « chrome/test/ui/ui_layout_test.cc ('k') | chrome/tools/convert_dict/aff_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698