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

Unified Diff: content/child/resource_dispatcher.h

Issue 2449933003: Use Associated interfaces for mojo-loading (Closed)
Patch Set: fix Created 4 years, 2 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/child/resource_dispatcher.h
diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
index 7f4731293cf9e390a6c499f6070a4473e80cf2f8..6646e3e42909d59b24abcb17eacfd43f292c3ecc 100644
--- a/content/child/resource_dispatcher.h
+++ b/content/child/resource_dispatcher.h
@@ -30,6 +30,10 @@
#include "third_party/WebKit/public/platform/WebURLRequest.h"
#include "url/gurl.h"
+namespace mojo {
+class AssociatedGroup;
+} // namespace mojo
+
namespace net {
struct RedirectInfo;
}
@@ -98,7 +102,8 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
const GURL& frame_origin,
std::unique_ptr<RequestPeer> peer,
blink::WebURLRequest::LoadingIPCType ipc_type,
- mojom::URLLoaderFactory* url_loader_factory);
+ mojom::URLLoaderFactory* url_loader_factory,
+ mojo::AssociatedGroup* associated_group);
// Removes a request from the |pending_requests_| list, returning true if the
// request was found and removed.
@@ -181,7 +186,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
int buffer_size;
// For mojo loading.
- mojom::URLLoaderPtr url_loader;
+ mojom::URLLoaderAssociatedPtr url_loader;
std::unique_ptr<mojom::URLLoaderClient> url_loader_client;
};
using PendingRequestMap = std::map<int, std::unique_ptr<PendingRequestInfo>>;

Powered by Google App Engine
This is Rietveld 408576698