Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / net / base / upload_element.cc
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "net/base/upload_element.h"
6
7 #include <algorithm>
8
9 #include "net/base/file_stream.h"
10 #include "net/base/net_errors.h"
11
12 namespace net {
13
14 UploadElement::UploadElement()
15     : type_(TYPE_BYTES),
16       bytes_start_(NULL),
17       bytes_length_(0),
18       file_range_offset_(0),
19       file_range_length_(kuint64max) {
20 }
21
22 UploadElement::~UploadElement() {
23 }
24
25 }  // namespace net