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

Unified Diff: mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom

Issue 1155283003: Change AuthenticatingURLLoader to be a URLLoaderInterceptor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Address review Created 5 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: mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom
diff --git a/mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom b/mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom
deleted file mode 100644
index dfac867fd5ea4511580f9a368ccb9b680e37bd04..0000000000000000000000000000000000000000
--- a/mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2014 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 mojo;
-
-import "mojo/public/interfaces/network/url_request.mojom";
-import "mojo/public/interfaces/network/url_response.mojom";
-
-interface AuthenticatingURLLoader {
- // Loads the given |request|, asynchronously producing |response|. If the
- // server indicates that authentication is needed, attempts to obtain an
- // OAuth2 token from the user and use that as authentication. Consult
- // |response| to determine if the request resulted in an error, was
- // redirected, or has a response body to be consumed.
- Start(URLRequest request) => (URLResponse response);
-
- // If the request passed to |Start| had |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.
- FollowRedirect() => (URLResponse response);
-};

Powered by Google App Engine
This is Rietveld 408576698