2014-09-04 19:53:40 +02:00
|
|
|
// Copyright (c) 2012 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.
|
|
|
|
|
2015-11-26 03:53:12 +01:00
|
|
|
#include "libcef/common/net/upload_element.h"
|
2014-09-04 19:53:40 +02:00
|
|
|
|
|
|
|
#include "net/base/file_stream.h"
|
|
|
|
#include "net/base/net_errors.h"
|
|
|
|
|
|
|
|
namespace net {
|
|
|
|
|
|
|
|
UploadElement::UploadElement()
|
|
|
|
: type_(TYPE_BYTES),
|
|
|
|
bytes_start_(NULL),
|
|
|
|
bytes_length_(0),
|
|
|
|
file_range_offset_(0),
|
2016-01-06 20:20:54 +01:00
|
|
|
file_range_length_(std::numeric_limits<uint64_t>::max()) {
|
2014-09-04 19:53:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
UploadElement::~UploadElement() {
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace net
|