diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 00:54:13 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 00:54:13 +0000 |
commit | 1c32402767e49d21eea7470cd7b89f682755d391 (patch) | |
tree | d3a11c042eb63dcb1032002038a987d0c191926e /webkit/appcache/web_application_cache_host_impl.cc | |
parent | d4bc96e84f87586da6a312a3c8eed3a12b3221d3 (diff) | |
download | chromium_src-1c32402767e49d21eea7470cd7b89f682755d391.zip chromium_src-1c32402767e49d21eea7470cd7b89f682755d391.tar.gz chromium_src-1c32402767e49d21eea7470cd7b89f682755d391.tar.bz2 |
webkit: Append base:: in the StringPrintf calls.
(Note: This is a TODO in string_util.h)
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/3404027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/web_application_cache_host_impl.cc')
-rw-r--r-- | webkit/appcache/web_application_cache_host_impl.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/webkit/appcache/web_application_cache_host_impl.cc b/webkit/appcache/web_application_cache_host_impl.cc index 82f8eb3..f65bed6 100644 --- a/webkit/appcache/web_application_cache_host_impl.cc +++ b/webkit/appcache/web_application_cache_host_impl.cc @@ -7,6 +7,7 @@ #include "base/compiler_specific.h" #include "base/id_map.h" #include "base/string_util.h" +#include "base/stringprintf.h" #include "base/singleton.h" #include "third_party/WebKit/WebKit/chromium/public/WebDataSource.h" #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" @@ -108,7 +109,8 @@ void WebApplicationCacheHostImpl::OnEventRaised(appcache::EventID event_id) { // Emit logging output prior to calling out to script as we can get // deleted within the script event handler. const char* kFormatString = "Application Cache %s event"; - std::string message = StringPrintf(kFormatString, kEventNames[event_id]); + std::string message = base::StringPrintf(kFormatString, + kEventNames[event_id]); OnLogMessage(LOG_INFO, message); // Most events change the status. Clear out what we know so that the latest @@ -123,8 +125,8 @@ void WebApplicationCacheHostImpl::OnProgressEventRaised( // Emit logging output prior to calling out to script as we can get // deleted within the script event handler. const char* kFormatString = "Application Cache Progress event (%d of %d) %s"; - std::string message = StringPrintf(kFormatString, num_complete, - num_total, url.spec().c_str()); + std::string message = base::StringPrintf(kFormatString, num_complete, + num_total, url.spec().c_str()); OnLogMessage(LOG_INFO, message); client_->notifyProgressEventListener(url, num_total, num_complete); @@ -135,7 +137,8 @@ void WebApplicationCacheHostImpl::OnErrorEventRaised( // Emit logging output prior to calling out to script as we can get // deleted within the script event handler. const char* kFormatString = "Application Cache Error event: %s"; - std::string full_message = StringPrintf(kFormatString, message.c_str()); + std::string full_message = base::StringPrintf(kFormatString, + message.c_str()); OnLogMessage(LOG_ERROR, full_message); // Most events change the status. Clear out what we know so that the latest |