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

Unified Diff: chrome/browser/history/history_unittest_base.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/browser/diagnostics/recon_diagnostics.cc ('k') | chrome/browser/history/text_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_unittest_base.cc
diff --git a/chrome/browser/history/history_unittest_base.cc b/chrome/browser/history/history_unittest_base.cc
index dfd2eaadd2b27671b9a3845f9c4b005ab0b2e797..ccce4f183daca6fb2bc7a03cfd551ad19350a485 100644
--- a/chrome/browser/history/history_unittest_base.cc
+++ b/chrome/browser/history/history_unittest_base.cc
@@ -6,6 +6,7 @@
#include "app/sql/connection.h"
#include "base/format_macros.h"
+#include "base/stringprintf.h"
#include "base/string_util.h"
#include "chrome/browser/history/history_unittest_base.h"
@@ -23,9 +24,9 @@ void HistoryUnitTestBase::ExecuteSQLScript(const FilePath& sql_path,
// SQL with the current time.
int64 now = base::Time::Now().ToInternalValue();
std::vector<std::string> sql_time;
- sql_time.push_back(StringPrintf("%" PRId64, now)); // last_visit_time
- sql_time.push_back(StringPrintf("%" PRId64, now)); // visit_time
- sql_time.push_back(StringPrintf("%" PRId64, now)); // time_slot
+ sql_time.push_back(base::StringPrintf("%" PRId64, now)); // last_visit_time
+ sql_time.push_back(base::StringPrintf("%" PRId64, now)); // visit_time
+ sql_time.push_back(base::StringPrintf("%" PRId64, now)); // time_slot
sql = ReplaceStringPlaceholders(sql, sql_time, NULL);
sql::Connection connection;
« no previous file with comments | « chrome/browser/diagnostics/recon_diagnostics.cc ('k') | chrome/browser/history/text_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698