Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: net/base/upload_progress.h

Issue 10834178: net: Return size of upload as well as position from HttpTransaction::GetUploadProgress() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/http/http_basic_stream.h » ('j') | net/http/http_cache_transaction.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_BASE_UPLOAD_PROGRESS_H_
6 #define NET_BASE_UPLOAD_PROGRESS_H_
7
8 #include "base/basictypes.h"
9
10 namespace net {
11
12 struct UploadProgress {
13 UploadProgress() : size(0), position(0) {}
14 UploadProgress(uint64 position, uint64 size)
15 : size(size), position(position) {}
16 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
17 uint64 position;
18 };
19
20 } // namespace net
21
22 #endif // NET_BASE_UPLOAD_PROGRESS_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_basic_stream.h » ('j') | net/http/http_cache_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698