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

Unified Diff: chrome/plugin/chrome_plugin_host.cc

Issue 594036: Support sending a sliced file in chromium.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/resource_dispatcher.cc ('k') | chrome/renderer/renderer_webkitclient_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/chrome_plugin_host.cc
===================================================================
--- chrome/plugin/chrome_plugin_host.cc (revision 42417)
+++ chrome/plugin/chrome_plugin_host.cc (working copy)
@@ -147,7 +147,8 @@
void AppendFileRangeToUpload(const FilePath &filepath,
uint64 offset, uint64 length) {
upload_content_.push_back(net::UploadData::Element());
- upload_content_.back().SetToFilePathRange(filepath, offset, length);
+ upload_content_.back().SetToFilePathRange(filepath, offset, length,
+ base::Time());
}
CPError Start(int renderer_id, int render_view_id) {
@@ -186,7 +187,8 @@
bridge_->AppendFileRangeToUpload(
upload_content_[i].file_path(),
upload_content_[i].file_range_offset(),
- upload_content_[i].file_range_length());
+ upload_content_[i].file_range_length(),
+ upload_content_[i].expected_file_modification_time());
break;
}
default: {
« no previous file with comments | « chrome/common/resource_dispatcher.cc ('k') | chrome/renderer/renderer_webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698