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

Unified Diff: chrome_frame/chrome_frame_automation.cc

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove const Created 8 years, 4 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_frame/chrome_frame_automation.h ('k') | chrome_frame/plugin_url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_frame_automation.cc
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc
index 12f14cf4973289c11b4266dd902aa1220cb3a7c5..c4fe26a5d34b97d1219530bd142e02bb6c1ded45 100644
--- a/chrome_frame/chrome_frame_automation.cc
+++ b/chrome_frame/chrome_frame_automation.cc
@@ -1305,10 +1305,11 @@ void ChromeFrameAutomationClient::OnUnload(bool* should_unload) {
// PluginUrlRequestDelegate implementation.
// Forward network related responses to Chrome.
-void ChromeFrameAutomationClient::OnResponseStarted(int request_id,
- const char* mime_type, const char* headers, int size,
+void ChromeFrameAutomationClient::OnResponseStarted(
+ int request_id, const char* mime_type, const char* headers, int size,
base::Time last_modified, const std::string& redirect_url,
- int redirect_status, const net::HostPortPair& socket_address) {
+ int redirect_status, const net::HostPortPair& socket_address,
+ uint64 upload_size) {
AutomationURLResponse response;
response.mime_type = mime_type;
if (headers)
@@ -1318,6 +1319,7 @@ void ChromeFrameAutomationClient::OnResponseStarted(int request_id,
response.redirect_url = redirect_url;
response.redirect_status = redirect_status;
response.socket_address = socket_address;
+ response.upload_size = upload_size;
automation_server_->Send(new AutomationMsg_RequestStarted(
tab_->handle(), request_id, response));
« no previous file with comments | « chrome_frame/chrome_frame_automation.h ('k') | chrome_frame/plugin_url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698