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

Unified Diff: content/browser/loader/async_resource_handler.h

Issue 1970693002: Use mojo for Chrome Loading, Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: content/browser/loader/async_resource_handler.h
diff --git a/content/browser/loader/async_resource_handler.h b/content/browser/loader/async_resource_handler.h
index 0991021336043dc8b4d990a24352ca6408aaa22d..7a905a366feb6444e8391b0b3c671e69d6375727 100644
--- a/content/browser/loader/async_resource_handler.h
+++ b/content/browser/loader/async_resource_handler.h
@@ -34,7 +34,8 @@ class AsyncResourceHandler : public ResourceHandler,
public ResourceMessageDelegate {
public:
AsyncResourceHandler(net::URLRequest* request,
- ResourceDispatcherHostImpl* rdh);
+ ResourceDispatcherHostImpl* rdh,
+ bool using_mojo_data_handle);
~AsyncResourceHandler() override;
bool OnMessageReceived(const IPC::Message& message) override;
@@ -57,6 +58,7 @@ class AsyncResourceHandler : public ResourceHandler,
private:
class InliningHelper;
+ class MojoHelper;
// IPC message handlers:
void OnFollowRedirect(int request_id);
@@ -97,6 +99,8 @@ class AsyncResourceHandler : public ResourceHandler,
int64_t reported_transfer_size_;
+ std::unique_ptr<MojoHelper> mojo_helper_;
+
DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler);
};

Powered by Google App Engine
This is Rietveld 408576698