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

Unified Diff: webkit/tools/test_shell/simple_resource_loader_bridge.cc

Issue 52040: Chrome changes to support cached form submissions.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
« webkit/glue/glue_serialize.cc ('K') | « webkit/glue/weburlrequest_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/simple_resource_loader_bridge.cc
===================================================================
--- webkit/tools/test_shell/simple_resource_loader_bridge.cc (revision 12361)
+++ webkit/tools/test_shell/simple_resource_loader_bridge.cc (working copy)
@@ -456,6 +456,13 @@
params_->upload->AppendFileRange(file_path, offset, length);
}
+ virtual void SetUploadIdentifier(int64 identifier) {
+ DCHECK(params_.get());
+ if (!params_->upload)
+ params_->upload = new net::UploadData();
+ params_->upload->set_identifier(identifier);
+ }
+
virtual bool Start(Peer* peer) {
DCHECK(!proxy_);
« webkit/glue/glue_serialize.cc ('K') | « webkit/glue/weburlrequest_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698