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

Unified Diff: content/browser/loader/resource_message_filter.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/resource_message_filter.h
diff --git a/content/browser/loader/resource_message_filter.h b/content/browser/loader/resource_message_filter.h
index 7047aa64735c453ed3a7f9f43cf31a6ca0a04149..0b929a4286906201fffe03e4b8c42d6fe2270cf9 100644
--- a/content/browser/loader/resource_message_filter.h
+++ b/content/browser/loader/resource_message_filter.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "content/common/content_export.h"
+#include "content/common/url_loader.mojom.h"
#include "content/public/browser/browser_message_filter.h"
#include "content/public/common/resource_type.h"
@@ -98,6 +99,9 @@ class CONTENT_EXPORT ResourceMessageFilter : public BrowserMessageFilter {
int child_id() const { return child_id_; }
int process_type() const { return process_type_; }
+ // IPC::Sender
+ bool Send(IPC::Message* message) override;
+
base::WeakPtr<ResourceMessageFilter> GetWeakPtr();
protected:
@@ -105,6 +109,9 @@ class CONTENT_EXPORT ResourceMessageFilter : public BrowserMessageFilter {
~ResourceMessageFilter() override;
private:
+ bool SendWithMojo(mojom::URLLoaderClient* client,
+ const IPC::Message& message);
+
// The ID of the child process.
int child_id_;

Powered by Google App Engine
This is Rietveld 408576698