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

Unified Diff: webkit/appcache/web_application_cache_host_impl.cc

Issue 3404027: webkit: Append base:: in the StringPrintf calls. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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 | « webkit/appcache/appcache_url_request_job.cc ('k') | webkit/glue/cpp_variant.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/web_application_cache_host_impl.cc
diff --git a/webkit/appcache/web_application_cache_host_impl.cc b/webkit/appcache/web_application_cache_host_impl.cc
index 82f8eb33210b6a68b0ded21223a87775c335ddff..f65bed65e086d1f315ffb4be13c2cc76e57ffd85 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
« no previous file with comments | « webkit/appcache/appcache_url_request_job.cc ('k') | webkit/glue/cpp_variant.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698