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

Unified Diff: webkit/appcache/appcache_url_request_job.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_update_job.cc ('k') | webkit/appcache/web_application_cache_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_url_request_job.cc
diff --git a/webkit/appcache/appcache_url_request_job.cc b/webkit/appcache/appcache_url_request_job.cc
index 50549e56bf670d636bf192811f9134b4359da237..88b19d2bb6014fd08ac9ccf3402290fb2e3eb193 100644
--- a/webkit/appcache/appcache_url_request_job.cc
+++ b/webkit/appcache/appcache_url_request_job.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,6 +8,7 @@
#include "base/message_loop.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "net/base/net_errors.h"
#include "net/base/net_log.h"
#include "net/http/http_request_headers.h"
@@ -171,13 +172,13 @@ void AppCacheURLRequestJob::SetupRangeResponse() {
headers->RemoveHeader(kRangeHeader);
headers->ReplaceStatusLine(kPartialStatusLine);
headers->AddHeader(
- StringPrintf("%s: %d", kLengthHeader, length));
+ base::StringPrintf("%s: %d", kLengthHeader, length));
headers->AddHeader(
- StringPrintf("%s: bytes %d-%d/%d",
- kRangeHeader,
- offset,
- offset + length - 1,
- resource_size));
+ base::StringPrintf("%s: bytes %d-%d/%d",
+ kRangeHeader,
+ offset,
+ offset + length - 1,
+ resource_size));
}
void AppCacheURLRequestJob::OnReadComplete(int result) {
« no previous file with comments | « webkit/appcache/appcache_update_job.cc ('k') | webkit/appcache/web_application_cache_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698