| 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/network_application_loader.h" | 5 #include "shell/network_application_loader.h" |
| 6 | 6 |
| 7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "mojo/public/cpp/application/application_connection.h" | 10 #include "mojo/public/cpp/application/application_connection.h" |
| 11 #include "mojo/public/cpp/application/application_delegate.h" | 11 #include "mojo/public/cpp/application/application_delegate.h" |
| 12 #include "mojo/public/cpp/application/application_impl.h" | 12 #include "mojo/public/cpp/application/application_impl.h" |
| 13 #include "mojo/services/network/network_service_impl.h" | 13 #include "mojo/services/network/network_service_impl.h" |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 | 60 |
| 61 void NetworkApplicationLoader::Create( | 61 void NetworkApplicationLoader::Create( |
| 62 ApplicationConnection* connection, | 62 ApplicationConnection* connection, |
| 63 InterfaceRequest<NetworkService> request) { | 63 InterfaceRequest<NetworkService> request) { |
| 64 BindToRequest(new NetworkServiceImpl(connection, context_.get()), &request); | 64 BindToRequest(new NetworkServiceImpl(connection, context_.get()), &request); |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace shell | 67 } // namespace shell |
| 68 } // namespace mojo | 68 } // namespace mojo |
| OLD | NEW |