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

Unified Diff: content/common/url_loader_factory.mojom

Issue 1970693002: Use mojo for Chrome Loading, Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/common/url_loader_factory.mojom
diff --git a/content/common/url_loader_factory.mojom b/content/common/url_loader_factory.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..4b69303e9c54e554b9fa7881551e7c5c10ebbffd
--- /dev/null
+++ b/content/common/url_loader_factory.mojom
@@ -0,0 +1,18 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module content.mojom;
+
+import "url_loader.mojom";
+
+interface URLLoaderFactory {
+ // Creats a URLLoader and starts loading with the given |request|. |client|'s
+ // method will be called when certain events related to that loading
+ // (e.g., response arrival) happen. |request_id| is for compatibility with
+ // the existing Chrome IPC.
+ CreateLoaderAndStart(URLLoader& loader,
+ int32 request_id,
+ URLRequest request,
+ URLLoaderClient client);
+};

Powered by Google App Engine
This is Rietveld 408576698