| // 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. |
| #ifndef SHELL_APPLICATION_MANAGER_APPLICATION_LOADER_H_ |
| #define SHELL_APPLICATION_MANAGER_APPLICATION_LOADER_H_ |
| #include "base/callback.h" |
| #include "mojo/public/cpp/system/core.h" |
| #include "mojo/public/interfaces/application/shell.mojom.h" |
| #include "mojo/services/network/interfaces/url_loader.mojom.h" |
| class ApplicationManager; |
| // Interface to implement special application loading behavior for a particular |
| class ApplicationLoader { |
| virtual ~ApplicationLoader() {} |
| mojo::InterfaceRequest<mojo::Application> application_request) = 0; |
| #endif // SHELL_APPLICATION_MANAGER_APPLICATION_LOADER_H_ |