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

Unified Diff: content/common/url_loader.mojom

Issue 2919313004: Get rid of URLLoaderFactory in browser-side case (Closed)
Patch Set: . Created 3 years, 6 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.mojom
diff --git a/content/common/url_loader.mojom b/content/common/url_loader.mojom
index 53b7521310516182449a01f6742898b4e7d90f3e..a04995966ed0c7e15eb98a92002cf8c3f913ce5e 100644
--- a/content/common/url_loader.mojom
+++ b/content/common/url_loader.mojom
@@ -31,6 +31,14 @@ enum RequestPriority {
// Destroying a URLLoader will cancel the associated request.
interface URLLoader {
+ // Starts loading and binds the given |loader| request with this loader.
+ // This method is intended to be called in C++ impl (as it is not
+ // possible to Start this before |loader| binding in mojo layer), and
+ // is not necessary to call this if the loader is created and stgarted by
+ // URLLoaderFactory.
+ // It is not valid to call this method more than once.
+ Start(associated URLLoader& loader, URLLoaderClient client);
kinuko 2017/06/05 09:44:23 Having a method like this in mojom feels a bit wei
+
// If the associated request has |auto_follow_redirects| set to false,
// then upon receiving an URLResponse with a non-NULL |redirect_url| field,
// |FollowRedirect| may be called to load the URL indicated by the redirect.

Powered by Google App Engine
This is Rietveld 408576698