diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 21:40:55 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 21:40:55 +0000 |
commit | da2f68f558f363b80ed4e4bb86290adca70d53bc (patch) | |
tree | c38564f16192ab61271a4e1f2e634e0adacded36 /chrome/app/chrome_main.cc | |
parent | af89c69eecd19c7b9deac7504be4164b13e7569b (diff) | |
download | chromium_src-da2f68f558f363b80ed4e4bb86290adca70d53bc.zip chromium_src-da2f68f558f363b80ed4e4bb86290adca70d53bc.tar.gz chromium_src-da2f68f558f363b80ed4e4bb86290adca70d53bc.tar.bz2 |
iwyu: Include stringprintf.h where appropriate, part 2.
BUG=82098
TEST=none
R=thakis@chromium.org
Review URL: http://codereview.chromium.org/7004007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_main.cc')
-rw-r--r-- | chrome/app/chrome_main.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc index 71be741..20de46a 100644 --- a/chrome/app/chrome_main.cc +++ b/chrome/app/chrome_main.cc @@ -15,8 +15,8 @@ #include "base/metrics/stats_table.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/utf_string_conversions.h" #include "build/build_config.h" #include "crypto/nss_util.h" @@ -49,6 +49,7 @@ #if defined(OS_WIN) #include <algorithm> #include <malloc.h> +#include "base/string_util.h" #include "base/win/registry.h" #include "sandbox/src/sandbox.h" #include "tools/memory_watcher/memory_watcher.h" @@ -342,8 +343,9 @@ void InitializeStatsTable(base::ProcessId browser_pid, // NOTIMPLEMENTED: we probably need to shut this down correctly to avoid // leaking shared memory regions on posix platforms. std::string statsfile = - StringPrintf("%s-%u", chrome::kStatsFilename, - static_cast<unsigned int>(browser_pid)); + base::StringPrintf("%s-%u", + chrome::kStatsFilename, + static_cast<unsigned int>(browser_pid)); base::StatsTable *stats_table = new base::StatsTable(statsfile, chrome::kStatsMaxThreads, chrome::kStatsMaxCounters); base::StatsTable::set_current(stats_table); |