| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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 SERVICES_SHELL_LOADER_H_ | |
| 6 #define SERVICES_SHELL_LOADER_H_ | |
| 7 | |
| 8 #include "base/callback.h" | |
| 9 #include "mojo/public/cpp/system/core.h" | |
| 10 #include "services/shell/public/interfaces/connector.mojom.h" | |
| 11 #include "services/shell/public/interfaces/shell_client.mojom.h" | |
| 12 | |
| 13 namespace shell { | |
| 14 | |
| 15 // Interface to implement special loading behavior for a particular name. | |
| 16 class Loader { | |
| 17 public: | |
| 18 virtual ~Loader() {} | |
| 19 | |
| 20 virtual void Load(const std::string& name, | |
| 21 mojom::ShellClientRequest request) = 0; | |
| 22 }; | |
| 23 | |
| 24 } // namespace shell | |
| 25 | |
| 26 #endif // SERVICES_SHELL_LOADER_H_ | |
| OLD | NEW |