| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef COMPONENTS_MUS_ANDROID_LOADER_H_ | |
| 6 #define COMPONENTS_MUS_ANDROID_LOADER_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "mojo/shell/loader.h" | |
| 10 | |
| 11 namespace mojo { | |
| 12 class ShellConnection; | |
| 13 } | |
| 14 | |
| 15 namespace mus { | |
| 16 | |
| 17 class AndroidLoader : public mojo::shell::Loader { | |
| 18 public: | |
| 19 AndroidLoader(); | |
| 20 ~AndroidLoader(); | |
| 21 | |
| 22 private: | |
| 23 // Overridden from mojo::shell::Loader: | |
| 24 void Load(const std::string& name, | |
| 25 mojo::shell::mojom::ShellClientRequest request) override; | |
| 26 | |
| 27 scoped_ptr<mojo::ShellConnection> app_; | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(AndroidLoader); | |
| 30 }; | |
| 31 | |
| 32 } // namespace mus | |
| 33 | |
| 34 #endif // COMPONENTS_MUS_ANDROID_LOADER_H_ | |
| OLD | NEW |