blob: 581adcfc11e7f7d73e45a37ddb64092f933096e5 [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 "base/macros.h"
#include "mojo/shell/loader.h"
namespace mojo {
class ShellConnection;
}
namespace mus {
class AndroidLoader : public mojo::shell::Loader {
public:
AndroidLoader();
~AndroidLoader();
private:
// Overridden from mojo::shell::Loader:
void Load(const std::string& name,
mojo::shell::mojom::ShellClientRequest request) override;
scoped_ptr<mojo::ShellConnection> app_;
DISALLOW_COPY_AND_ASSIGN(AndroidLoader);
};
} // namespace mus
#endif // COMPONENTS_MUS_ANDROID_LOADER_H_