blob: 476c5732590ec1c5719d3f5187cfb5b1653f89f5 [file] [log] [blame]
// Copyright 2015 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 COMPONENTS_MUS_ANDROID_LOADER_H_
#define COMPONENTS_MUS_ANDROID_LOADER_H_
#include "mojo/shell/application_loader.h"
namespace mojo {
class ApplicationImpl;
}
namespace mus {
class AndroidLoader : public mojo::shell::ApplicationLoader {
public:
AndroidLoader();
~AndroidLoader();
private:
// Overridden from mojo::shell::ApplicationLoader:
void Load(
const GURL& url,
mojo::InterfaceRequest<mojo::Application> application_request) override;
scoped_ptr<mojo::ApplicationImpl> app_;
DISALLOW_COPY_AND_ASSIGN(AndroidLoader);
};
} // namespace mus
#endif // COMPONENTS_MUS_ANDROID_LOADER_H_