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 62a3d8168b2c5c29789378124992e8bc25651864..e9626807a494665cabcbb8def499650d5cc74772 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 |
@@ -16,18 +16,19 @@ |
namespace mojo { |
-class ApplicationImpl; |
- |
class AuthenticatingURLLoaderInterceptor; |
+class Shell; |
class AuthenticatingURLLoaderInterceptorFactory |
: public URLLoaderInterceptorFactory { |
public: |
+ // TODO(vtl): Maybe this should take an |ApplicationConnectorPtr| instead of a |
+ // |Shell*|. |
AuthenticatingURLLoaderInterceptorFactory( |
mojo::InterfaceRequest<URLLoaderInterceptorFactory> request, |
mojo::InterfaceHandle<authentication::AuthenticationService> |
authentication_service, |
- mojo::ApplicationImpl* app, |
+ mojo::Shell* shell, |
std::map<GURL, std::string>* cached_tokens); |
~AuthenticatingURLLoaderInterceptorFactory() override; |
@@ -61,7 +62,6 @@ class AuthenticatingURLLoaderInterceptorFactory |
StrongBinding<URLLoaderInterceptorFactory> binding_; |
authentication::AuthenticationServicePtr authentication_service_; |
- ApplicationImpl* app_; |
std::map<GURL, std::string>* cached_tokens_; |
std::map<GURL, std::string> cached_accounts_; |
NetworkServicePtr network_service_; |