| Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.h
|
| diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.h b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.h
|
| index 628a34d7b270ed73e05acf3f3eebf29c2e95ee11..933d63ae8db549846c9274bf4a1b156560bb26e9 100644
|
| --- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.h
|
| +++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.h
|
| @@ -8,7 +8,6 @@
|
| #include <memory>
|
|
|
| #include "base/callback.h"
|
| -#include "mojo/public/cpp/bindings/error_handler.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
| #include "mojo/public/cpp/bindings/strong_binding.h"
|
| #include "mojo/services/authentication/public/interfaces/authentication.mojom.h"
|
| @@ -22,8 +21,7 @@ class ApplicationImpl;
|
| class AuthenticatingURLLoaderInterceptor;
|
|
|
| class AuthenticatingURLLoaderInterceptorFactory
|
| - : public URLLoaderInterceptorFactory,
|
| - public ErrorHandler {
|
| + : public URLLoaderInterceptorFactory {
|
| public:
|
| AuthenticatingURLLoaderInterceptorFactory(
|
| mojo::InterfaceRequest<URLLoaderInterceptorFactory> request,
|
| @@ -41,15 +39,14 @@ class AuthenticatingURLLoaderInterceptorFactory
|
| void RetrieveToken(const GURL& url,
|
| const base::Callback<void(std::string)>& callback);
|
|
|
| - void OnInterceptorError(AuthenticatingURLLoaderInterceptor* interceptor);
|
| -
|
| private:
|
| // URLLoaderInterceptorFactory:
|
| void Create(
|
| mojo::InterfaceRequest<URLLoaderInterceptor> interceptor) override;
|
|
|
| - // ErrorHandler:
|
| - void OnConnectionError() override;
|
| + void ClearAuthenticationService();
|
| +
|
| + void ClearInterceptor(AuthenticatingURLLoaderInterceptor* interceptor);
|
|
|
| void OnAccountSelected(const GURL& origin,
|
| mojo::String account,
|
|
|