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

Unified Diff: chrome/browser/browser_shutdown.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/autofill/phone_number_i18n.cc ('k') | chrome/browser/diagnostics/diagnostics_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_shutdown.cc
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
index a0a7361bda5a6a7735bda9bd83309e24af878289..81e4e28014b2bbee51806770c4bd85ddaf4b6f4c 100644
--- a/chrome/browser/browser_shutdown.cc
+++ b/chrome/browser/browser_shutdown.cc
@@ -13,8 +13,8 @@
#include "base/metrics/histogram.h"
#include "base/path_service.h"
#include "base/process_util.h"
+#include "base/stringprintf.h"
#include "base/string_number_conversions.h"
-#include "base/string_util.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread.h"
#include "base/threading/thread_restrictions.h"
@@ -283,14 +283,14 @@ void ReadLastShutdownFile(
std::string time;
std::string time_per;
if (type == WINDOW_CLOSE) {
- time = StringPrintf(time_fmt, "window_close");
- time_per = StringPrintf(time_per_fmt, "window_close");
+ time = base::StringPrintf(time_fmt, "window_close");
+ time_per = base::StringPrintf(time_per_fmt, "window_close");
} else if (type == BROWSER_EXIT) {
- time = StringPrintf(time_fmt, "browser_exit");
- time_per = StringPrintf(time_per_fmt, "browser_exit");
+ time = base::StringPrintf(time_fmt, "browser_exit");
+ time_per = base::StringPrintf(time_per_fmt, "browser_exit");
} else if (type == END_SESSION) {
- time = StringPrintf(time_fmt, "end_session");
- time_per = StringPrintf(time_per_fmt, "end_session");
+ time = base::StringPrintf(time_fmt, "end_session");
+ time_per = base::StringPrintf(time_per_fmt, "end_session");
} else {
NOTREACHED();
}
« no previous file with comments | « chrome/browser/autofill/phone_number_i18n.cc ('k') | chrome/browser/diagnostics/diagnostics_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698