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

Unified Diff: chrome_frame/plugin_url_request.cc

Issue 9321003: net: Make UploadData::GetContentLength() asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 11 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 | « no previous file | chrome_frame/urlmon_upload_data_stream.cc » ('j') | net/base/upload_data.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/plugin_url_request.cc
diff --git a/chrome_frame/plugin_url_request.cc b/chrome_frame/plugin_url_request.cc
index deeac65856a9ed04085c4a40b4101b6d25cbe736..fee88982e73f8ab0eb098a9dab3afb5e87e118bf 100644
--- a/chrome_frame/plugin_url_request.cc
+++ b/chrome_frame/plugin_url_request.cc
@@ -43,7 +43,7 @@ bool PluginUrlRequest::Initialize(PluginUrlRequestDelegate* delegate,
if (FAILED(hr)) {
NOTREACHED();
} else {
- post_data_len_ = upload_data->GetContentLength();
+ post_data_len_ = upload_data->GetContentLengthSyncHack();
robertshield 2012/02/04 05:39:04 This code runs inside Internet Explorer, not Chrom
satorux1 2012/02/04 07:18:32 That's good to know that. I thought the thread io
upload_stream->AddRef();
upload_stream->Initialize(upload_data);
upload_data_.Attach(upload_stream);
« no previous file with comments | « no previous file | chrome_frame/urlmon_upload_data_stream.cc » ('j') | net/base/upload_data.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698