OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef NET_URL_REQUEST_UPLOAD_PROGRESS_ | |
6 #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
| |
7 | |
8 namespace net { | |
9 | |
10 struct UploadProgress { | |
11 UploadProgress() : size(0), position(0) {} | |
12 UploadProgress(uint64 position, uint64 size) | |
13 : size(size), position(position) {} | |
14 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.
| |
15 uint64 position; | |
16 }; | |
17 | |
18 } // namespace net | |
19 | |
20 #endif // NET_URL_REQUEST_UPLOAD_PROGRESS_ | |
OLD | NEW |