| Index: services/shell/loader.h
|
| diff --git a/services/shell/loader.h b/services/shell/loader.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c99b628333bf3917c6d22dbef332a22e8c5ea024
|
| --- /dev/null
|
| +++ b/services/shell/loader.h
|
| @@ -0,0 +1,26 @@
|
| +// 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 SERVICES_SHELL_LOADER_H_
|
| +#define SERVICES_SHELL_LOADER_H_
|
| +
|
| +#include "base/callback.h"
|
| +#include "mojo/public/cpp/system/core.h"
|
| +#include "services/shell/public/interfaces/connector.mojom.h"
|
| +#include "services/shell/public/interfaces/shell_client.mojom.h"
|
| +
|
| +namespace shell {
|
| +
|
| +// Interface to implement special loading behavior for a particular name.
|
| +class Loader {
|
| + public:
|
| + virtual ~Loader() {}
|
| +
|
| + virtual void Load(const std::string& name,
|
| + mojom::ShellClientRequest request) = 0;
|
| +};
|
| +
|
| +} // namespace shell
|
| +
|
| +#endif // SERVICES_SHELL_LOADER_H_
|
|
|