Chromium Code Reviews| Index: net/base/upload_data.cc |
| =================================================================== |
| --- net/base/upload_data.cc (revision 57697) |
| +++ net/base/upload_data.cc (working copy) |
| @@ -24,6 +24,9 @@ |
| if (type_ == TYPE_BYTES) |
| return static_cast<uint64>(bytes_.size()); |
| + else if (type_ == TYPE_BLOB) |
| + // The blob reference will be resolved later. |
| + return 0; |
| DCHECK_EQ(TYPE_FILE, type_); |
| DCHECK(!file_stream_); |