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/appcache_url_request_job.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/appcache_url_request_job.cc')
-rw-r--r-- | webkit/appcache/appcache_url_request_job.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/webkit/appcache/appcache_url_request_job.cc b/webkit/appcache/appcache_url_request_job.cc index 50549e5..88b19d2 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) { |