| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SHELL_AUTHENTICATING_URL_LOADER_LOADER_H_ | |
| 6 #define SHELL_AUTHENTICATING_URL_LOADER_LOADER_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "mojo/public/cpp/application/application_impl.h" | |
| 11 #include "services/authenticating_url_loader/authenticating_url_loader_app.h" | |
| 12 #include "shell/application_manager/application_loader.h" | |
| 13 | |
| 14 namespace shell { | |
| 15 | |
| 16 class AuthenticatingURLLoaderLoader : public ApplicationLoader { | |
| 17 public: | |
| 18 AuthenticatingURLLoaderLoader(); | |
| 19 ~AuthenticatingURLLoaderLoader() override; | |
| 20 | |
| 21 private: | |
| 22 // ApplicationLoader overrides: | |
| 23 void Load( | |
| 24 const GURL& url, | |
| 25 mojo::InterfaceRequest<mojo::Application> application_request) override; | |
| 26 | |
| 27 mojo::AuthenticatingURLLoaderApp authenticating_url_loader_; | |
| 28 scoped_ptr<mojo::ApplicationImpl> application_; | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(AuthenticatingURLLoaderLoader); | |
| 31 }; | |
| 32 | |
| 33 } // namespace shell | |
| 34 | |
| 35 #endif // SHELL_AUTHENTICATING_URL_LOADER_LOADER_H_ | |
| OLD | NEW |