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

Unified Diff: mojo/examples/html_viewer/html_document_view.cc

Issue 373373002: Mojo: Refactor URLLoader interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes per review Created 6 years, 5 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 | « mojo/examples/html_viewer/html_document_view.h ('k') | mojo/examples/html_viewer/html_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/html_viewer/html_document_view.cc
diff --git a/mojo/examples/html_viewer/html_document_view.cc b/mojo/examples/html_viewer/html_document_view.cc
index cdc80cf9b15f998b6df281de4b8c774f931a303d..654161abd64e0fc51d93d9b056e341d985357cc0 100644
--- a/mojo/examples/html_viewer/html_document_view.cc
+++ b/mojo/examples/html_viewer/html_document_view.cc
@@ -104,15 +104,13 @@ void HTMLDocumentView::AttachToNode(view_manager::Node* node) {
web_view_->resize(gfx::Size(node->bounds().size()));
}
-void HTMLDocumentView::Load(URLResponsePtr response,
- ScopedDataPipeConsumerHandle response_body_stream) {
+void HTMLDocumentView::Load(URLResponsePtr response) {
DCHECK(web_view_);
GURL url(response->url);
WebURLRequestExtraData* extra_data = new WebURLRequestExtraData;
extra_data->synthetic_response = response.Pass();
- extra_data->synthetic_response_body_stream = response_body_stream.Pass();
blink::WebURLRequest web_request;
web_request.initialize();
« no previous file with comments | « mojo/examples/html_viewer/html_document_view.h ('k') | mojo/examples/html_viewer/html_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698