OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "mojo/shell/view_manager_loader.h" | 5 #include "mojo/shell/view_manager_loader.h" |
6 | 6 |
7 #include "mojo/public/cpp/application/application_connection.h" | 7 #include "mojo/public/cpp/application/application_connection.h" |
8 #include "mojo/public/cpp/application/application_impl.h" | 8 #include "mojo/public/cpp/application/application_impl.h" |
9 #include "mojo/services/view_manager/view_manager_init_service_impl.h" | 9 #include "services/view_manager/view_manager_init_service_impl.h" |
10 | 10 |
11 namespace mojo { | 11 namespace mojo { |
12 | 12 |
13 using service::ViewManagerInitServiceImpl; | 13 using service::ViewManagerInitServiceImpl; |
14 | 14 |
15 namespace shell { | 15 namespace shell { |
16 | 16 |
17 ViewManagerLoader::ViewManagerLoader() { | 17 ViewManagerLoader::ViewManagerLoader() { |
18 } | 18 } |
19 | 19 |
(...skipping 27 matching lines...) Expand all Loading... |
47 | 47 |
48 void ViewManagerLoader::Create( | 48 void ViewManagerLoader::Create( |
49 ApplicationConnection* connection, | 49 ApplicationConnection* connection, |
50 InterfaceRequest<ViewManagerInitService> request) { | 50 InterfaceRequest<ViewManagerInitService> request) { |
51 BindToRequest(new ViewManagerInitServiceImpl(connection, &context_), | 51 BindToRequest(new ViewManagerInitServiceImpl(connection, &context_), |
52 &request); | 52 &request); |
53 } | 53 } |
54 | 54 |
55 } // namespace shell | 55 } // namespace shell |
56 } // namespace mojo | 56 } // namespace mojo |
OLD | NEW |