Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.h |
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.h b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.h |
index 8af5c34b811ecbbb3a31f1733abb34f4cd36b8fb..bfa0a0e1cc74831e7ebaf21a4d9cbee3cbcb22b2 100644 |
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.h |
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.h |
@@ -6,25 +6,21 @@ |
#define SERVICES_AUTHENTICATING_URL_LOADER_INTERCEPTOR_AUTHENTICATING_URL_LOADER_INTERCEPTOR_APP_H_ |
#include "base/macros.h" |
-#include "mojo/public/cpp/application/application_delegate.h" |
-#include "mojo/public/cpp/application/service_provider_impl.h" |
+#include "mojo/public/cpp/application/application_impl_base.h" |
#include "mojo/services/authenticating_url_loader_interceptor/interfaces/authenticating_url_loader_interceptor_meta_factory.mojom.h" |
#include "services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_meta_factory_impl.h" |
namespace mojo { |
-class AuthenticatingURLLoaderInterceptorApp : public ApplicationDelegate { |
+class AuthenticatingURLLoaderInterceptorApp : public ApplicationImplBase { |
public: |
AuthenticatingURLLoaderInterceptorApp(); |
~AuthenticatingURLLoaderInterceptorApp() override; |
private: |
- // ApplicationDelegate |
- void Initialize(ApplicationImpl* app) override; |
- bool ConfigureIncomingConnection( |
- ServiceProviderImpl* service_provider_impl) override; |
+ // ApplicationImplBase override: |
+ bool OnAcceptConnection(ServiceProviderImpl* service_provider_impl) override; |
- ApplicationImpl* app_; |
// Cache received tokens per origin of the connecting app and origin of the |
// loaded URL so that once a token has been requested it is not necessary to |
// do nultiple http connections to retrieve additional resources on the same |