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..cec7c47339dde73a5010a6e826d1ea757119cba7 |
--- /dev/null |
+++ b/net/base/upload_progress.h |
@@ -0,0 +1,20 @@ |
+// 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_URL_REQUEST_UPLOAD_PROGRESS_ |
+#define NET_URL_REQUEST_UPLOAD_PROGRESS_ |
willchan no longer on Chromium
2012/08/16 22:49:06
Your include guards are wrong
hashimoto
2012/08/17 03:02:33
Oops, I thought this kind of error would be caught
|
+ |
+namespace net { |
+ |
+struct UploadProgress { |
+ UploadProgress() : size(0), position(0) {} |
+ UploadProgress(uint64 position, uint64 size) |
+ : size(size), position(position) {} |
+ uint64 size; |
willchan no longer on Chromium
2012/08/16 22:49:06
You need basictypes.h for this type.
hashimoto
2012/08/17 03:02:33
Done.
|
+ uint64 position; |
+}; |
+ |
+} // namespace net |
+ |
+#endif // NET_URL_REQUEST_UPLOAD_PROGRESS_ |