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/application/public/cpp/lib/service_registry.h" | 5 #include "mojo/application/public/cpp/lib/service_registry.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "mojo/application/public/cpp/application_connection.h" | 13 #include "mojo/application/public/cpp/application_connection.h" |
12 #include "mojo/application/public/cpp/service_connector.h" | 14 #include "mojo/application/public/cpp/service_connector.h" |
13 | 15 |
14 namespace mojo { | 16 namespace mojo { |
15 namespace internal { | 17 namespace internal { |
16 | 18 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 } | 129 } |
128 | 130 |
129 void ServiceRegistry::ConnectToService(const mojo::String& service_name, | 131 void ServiceRegistry::ConnectToService(const mojo::String& service_name, |
130 ScopedMessagePipeHandle client_handle) { | 132 ScopedMessagePipeHandle client_handle) { |
131 service_connector_registry_.ConnectToService(this, service_name, | 133 service_connector_registry_.ConnectToService(this, service_name, |
132 std::move(client_handle)); | 134 std::move(client_handle)); |
133 } | 135 } |
134 | 136 |
135 } // namespace internal | 137 } // namespace internal |
136 } // namespace mojo | 138 } // namespace mojo |
OLD | NEW |