| Index: mojo/shell/application_manager/application_loader.h
 | 
| diff --git a/mojo/shell/application_manager/application_loader.h b/mojo/shell/application_manager/application_loader.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..11feb381b6745b3d3e198c92d42e9210e802fbb5
 | 
| --- /dev/null
 | 
| +++ b/mojo/shell/application_manager/application_loader.h
 | 
| @@ -0,0 +1,38 @@
 | 
| +// 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/public/interfaces/url_loader.mojom.h"
 | 
| +#include "url/gurl.h"
 | 
| +
 | 
| +namespace mojo {
 | 
| +
 | 
| +class Application;
 | 
| +
 | 
| +namespace shell {
 | 
| +
 | 
| +class ApplicationManager;
 | 
| +
 | 
| +// Interface to implement special application loading behavior for a particular
 | 
| +// URL or scheme.
 | 
| +class ApplicationLoader {
 | 
| + public:
 | 
| +  virtual ~ApplicationLoader() {}
 | 
| +
 | 
| +  virtual void Load(const GURL& url,
 | 
| +                    InterfaceRequest<Application> application_request) = 0;
 | 
| +
 | 
| + protected:
 | 
| +  ApplicationLoader() {}
 | 
| +};
 | 
| +
 | 
| +}  // namespace shell
 | 
| +}  // namespace mojo
 | 
| +
 | 
| +#endif  // SHELL_APPLICATION_MANAGER_APPLICATION_LOADER_H_
 | 
| 
 |