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

Unified Diff: net/base/upload_file_element_reader.h

Issue 11419034: net: Move ownership of UploadDataStream from URLRequestHttpJob to URLRequest (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove a local variable Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/upload_element_reader.cc ('k') | net/base/upload_file_element_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/upload_file_element_reader.h
diff --git a/net/base/upload_file_element_reader.h b/net/base/upload_file_element_reader.h
index da3e502263ad6e73682e3fe53cc616ba06c1acf4..f84b06d62d1749bf74286b925f8bcf40b65489c2 100644
--- a/net/base/upload_file_element_reader.h
+++ b/net/base/upload_file_element_reader.h
@@ -35,7 +35,15 @@ class NET_EXPORT_PRIVATE UploadFileElementReader : public UploadElementReader {
const base::Time& expected_modification_time);
virtual ~UploadFileElementReader();
+ const FilePath& path() const { return path_; }
+ uint64 range_offset() const { return range_offset_; }
+ uint64 range_length() const { return range_length_; }
+ const base::Time& expected_modification_time() const {
+ return expected_modification_time_;
+ }
+
// UploadElementReader overrides:
+ virtual const UploadFileElementReader* AsFileReader() const OVERRIDE;
virtual int Init(const CompletionCallback& callback) OVERRIDE;
virtual int InitSync() OVERRIDE;
virtual uint64 GetContentLength() const OVERRIDE;
« no previous file with comments | « net/base/upload_element_reader.cc ('k') | net/base/upload_file_element_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698