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_; |