| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/base/upload_data.h" | 5 #include "net/base/upload_data.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 DCHECK(!is_chunked_); | 28 DCHECK(!is_chunked_); |
| 29 elements_.push_back(new UploadElement()); | 29 elements_.push_back(new UploadElement()); |
| 30 elements_.back()->SetToFilePathRange(file_path, offset, length, | 30 elements_.back()->SetToFilePathRange(file_path, offset, length, |
| 31 expected_modification_time); | 31 expected_modification_time); |
| 32 } | 32 } |
| 33 | 33 |
| 34 UploadData::~UploadData() { | 34 UploadData::~UploadData() { |
| 35 } | 35 } |
| 36 | 36 |
| 37 } // namespace net | 37 } // namespace net |
| OLD | NEW |