Chromium Code Reviews| Index: net/base/upload_progress.h |
| diff --git a/net/base/upload_progress.h b/net/base/upload_progress.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..009846a408a1a64d1da5c172776a44dc601a9e11 |
| --- /dev/null |
| +++ b/net/base/upload_progress.h |
| @@ -0,0 +1,22 @@ |
| +// 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. |
| + |
| +#ifndef NET_BASE_UPLOAD_PROGRESS_H_ |
| +#define NET_BASE_UPLOAD_PROGRESS_H_ |
| + |
| +#include "base/basictypes.h" |
| + |
| +namespace net { |
| + |
| +struct UploadProgress { |
| + UploadProgress() : size(0), position(0) {} |
| + UploadProgress(uint64 position, uint64 size) |
| + : size(size), position(position) {} |
| + uint64 size; |
|
darin (slow to review)
2012/08/29 22:05:35
do these need to be public variables? do they nee
hashimoto
2012/08/29 22:27:08
I think UploadProgress is simple enough to be a st
|
| + uint64 position; |
| +}; |
| + |
| +} // namespace net |
| + |
| +#endif // NET_BASE_UPLOAD_PROGRESS_H_ |