Roll src/third_party/WebKit f298044:aa8346d (svn 202628:202629)
[chromium-blink-merge.git] / components / mus / android_loader.h
blob476c5732590ec1c5719d3f5187cfb5b1653f89f5
1 // Copyright 2015 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.
5 #ifndef COMPONENTS_MUS_ANDROID_LOADER_H_
6 #define COMPONENTS_MUS_ANDROID_LOADER_H_
8 #include "mojo/shell/application_loader.h"
10 namespace mojo {
11 class ApplicationImpl;
14 namespace mus {
16 class AndroidLoader : public mojo::shell::ApplicationLoader {
17 public:
18 AndroidLoader();
19 ~AndroidLoader();
21 private:
22 // Overridden from mojo::shell::ApplicationLoader:
23 void Load(
24 const GURL& url,
25 mojo::InterfaceRequest<mojo::Application> application_request) override;
27 scoped_ptr<mojo::ApplicationImpl> app_;
29 DISALLOW_COPY_AND_ASSIGN(AndroidLoader);
32 } // namespace mus
34 #endif // COMPONENTS_MUS_ANDROID_LOADER_H_