summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_url_request_job.cc
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 10:28:39 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 10:28:39 +0000
commitc671c8a5091ae7b84856ec426de8a24dc1a8a7b3 (patch)
treeb0036726dc4eeb31aa2e2504e6bfd9e43848f193 /webkit/fileapi/file_system_url_request_job.cc
parent8236f852f4a13a56183e0813b0ad580dc1048a85 (diff)
downloadchromium_src-c671c8a5091ae7b84856ec426de8a24dc1a8a7b3.zip
chromium_src-c671c8a5091ae7b84856ec426de8a24dc1a8a7b3.tar.gz
chromium_src-c671c8a5091ae7b84856ec426de8a24dc1a8a7b3.tar.bz2
Style fix in webkit/fileapi
BUG= TEST='cpplint.py will claim less error.' Review URL: http://codereview.chromium.org/9965138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_url_request_job.cc')
-rw-r--r--webkit/fileapi/file_system_url_request_job.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_url_request_job.cc b/webkit/fileapi/file_system_url_request_job.cc
index 3aa936e..d56f2fd8 100644
--- a/webkit/fileapi/file_system_url_request_job.cc
+++ b/webkit/fileapi/file_system_url_request_job.cc
@@ -4,6 +4,8 @@
#include "webkit/fileapi/file_system_url_request_job.h"
+#include <vector>
+
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/file_path.h"
@@ -147,9 +149,9 @@ void FileSystemURLRequestJob::SetExtraRequestHeaders(
if (headers.GetHeader(net::HttpRequestHeaders::kRange, &range_header)) {
std::vector<net::HttpByteRange> ranges;
if (net::HttpUtil::ParseRangeHeader(range_header, &ranges)) {
- if (ranges.size() == 1)
+ if (ranges.size() == 1) {
byte_range_ = ranges[0];
- else {
+ } else {
// We don't support multiple range requests in one single URL request.
// TODO(adamk): decide whether we want to support multiple range
// requests.