| Index: net/base/upload_element.h
|
| diff --git a/net/base/upload_element.h b/net/base/upload_element.h
|
| index 34f601464d9ab57acf04f310a1028f68083e03a7..df832fa4fdfe2e502575988a330ae39de3c54882 100644
|
| --- a/net/base/upload_element.h
|
| +++ b/net/base/upload_element.h
|
| @@ -59,7 +59,8 @@ class NET_EXPORT UploadElement {
|
| // change. Also note that the granularity for comparison is time_t, not
|
| // the full precision.
|
| void SetToFilePathRange(const base::FilePath& path,
|
| - uint64 offset, uint64 length,
|
| + uint64 offset,
|
| + uint64 length,
|
| const base::Time& expected_modification_time) {
|
| type_ = TYPE_FILE;
|
| file_path_ = path;
|
| @@ -82,8 +83,7 @@ class NET_EXPORT UploadElement {
|
| };
|
|
|
| #if defined(UNIT_TEST)
|
| -inline bool operator==(const UploadElement& a,
|
| - const UploadElement& b) {
|
| +inline bool operator==(const UploadElement& a, const UploadElement& b) {
|
| if (a.type() != b.type())
|
| return false;
|
| if (a.type() == UploadElement::TYPE_BYTES)
|
| @@ -94,13 +94,12 @@ inline bool operator==(const UploadElement& a,
|
| a.file_range_offset() == b.file_range_offset() &&
|
| a.file_range_length() == b.file_range_length() &&
|
| a.expected_file_modification_time() ==
|
| - b.expected_file_modification_time();
|
| + b.expected_file_modification_time();
|
| }
|
| return false;
|
| }
|
|
|
| -inline bool operator!=(const UploadElement& a,
|
| - const UploadElement& b) {
|
| +inline bool operator!=(const UploadElement& a, const UploadElement& b) {
|
| return !(a == b);
|
| }
|
| #endif // defined(UNIT_TEST)
|
|
|