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

Unified Diff: chrome/plugin/webplugin_delegate_stub.cc

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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/plugin/webplugin_delegate_stub.h ('k') | chrome/plugin/webplugin_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/webplugin_delegate_stub.cc
===================================================================
--- chrome/plugin/webplugin_delegate_stub.cc (revision 2387)
+++ chrome/plugin/webplugin_delegate_stub.cc (working copy)
@@ -163,12 +163,14 @@
}
void WebPluginDelegateStub::OnDidReceiveData(int id,
- const std::vector<char>& buffer) {
+ const std::vector<char>& buffer,
+ int data_offset) {
WebPluginResourceClient* client = webplugin_->GetResourceClient(id);
if (!client)
return;
- client->DidReceiveData(&buffer.front(), static_cast<int>(buffer.size()));
+ client->DidReceiveData(&buffer.front(), static_cast<int>(buffer.size()),
+ data_offset);
}
void WebPluginDelegateStub::OnDidFinishLoading(int id) {
@@ -426,7 +428,8 @@
WebPluginResourceClient* resource_client =
delegate_->CreateResourceClient(params.resource_id, params.url,
params.notify_needed,
- params.notify_data);
+ params.notify_data,
+ params.stream);
webplugin_->OnResourceCreated(params.resource_id, resource_client);
}
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.h ('k') | chrome/plugin/webplugin_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698