OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_VIEW_MANAGER_ANDROID_LOADER_H_ | 5 #ifndef COMPONENTS_MUS_ANDROID_LOADER_H_ |
6 #define COMPONENTS_VIEW_MANAGER_ANDROID_LOADER_H_ | 6 #define COMPONENTS_MUS_ANDROID_LOADER_H_ |
7 | 7 |
8 #include "mojo/shell/application_loader.h" | 8 #include "mojo/shell/application_loader.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 class ApplicationImpl; | 11 class ApplicationImpl; |
12 } | 12 } |
13 | 13 |
14 namespace view_manager { | 14 namespace view_manager { |
15 | 15 |
16 class AndroidLoader : public mojo::shell::ApplicationLoader { | 16 class AndroidLoader : public mojo::shell::ApplicationLoader { |
17 public: | 17 public: |
18 AndroidLoader(); | 18 AndroidLoader(); |
19 ~AndroidLoader(); | 19 ~AndroidLoader(); |
20 | 20 |
21 private: | 21 private: |
22 // Overridden from mojo::shell::ApplicationLoader: | 22 // Overridden from mojo::shell::ApplicationLoader: |
23 void Load( | 23 void Load( |
24 const GURL& url, | 24 const GURL& url, |
25 mojo::InterfaceRequest<mojo::Application> application_request) override; | 25 mojo::InterfaceRequest<mojo::Application> application_request) override; |
26 | 26 |
27 scoped_ptr<mojo::ApplicationImpl> app_; | 27 scoped_ptr<mojo::ApplicationImpl> app_; |
28 | 28 |
29 DISALLOW_COPY_AND_ASSIGN(AndroidLoader); | 29 DISALLOW_COPY_AND_ASSIGN(AndroidLoader); |
30 }; | 30 }; |
31 | 31 |
32 } // namespace view_manager | 32 } // namespace view_manager |
33 | 33 |
34 #endif // COMPONENTS_VIEW_MANAGER_ANDROID_LOADER_H_ | 34 #endif // COMPONENTS_MUS_ANDROID_LOADER_H_ |
OLD | NEW |