| 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 #ifndef MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ | 5 #ifndef MOJO_APPLICATION_PUBLIC_CPP_LIB_SERVICE_REGISTRY_H_ |
| 6 #define MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ | 6 #define MOJO_APPLICATION_PUBLIC_CPP_LIB_SERVICE_REGISTRY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "mojo/public/cpp/application/application_connection.h" | 10 #include "mojo/application/public/cpp/application_connection.h" |
| 11 #include "mojo/public/cpp/application/lib/service_connector_registry.h" | 11 #include "mojo/application/public/cpp/lib/service_connector_registry.h" |
| 12 #include "mojo/public/interfaces/application/service_provider.mojom.h" | 12 #include "mojo/application/public/interfaces/service_provider.mojom.h" |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 | 15 |
| 16 class Application; | 16 class Application; |
| 17 class ApplicationImpl; | 17 class ApplicationImpl; |
| 18 | 18 |
| 19 namespace internal { | 19 namespace internal { |
| 20 | 20 |
| 21 // A ServiceRegistry represents each half of a connection between two | 21 // A ServiceRegistry represents each half of a connection between two |
| 22 // applications, allowing customization of which services are published to the | 22 // applications, allowing customization of which services are published to the |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 Binding<ServiceProvider> local_binding_; | 57 Binding<ServiceProvider> local_binding_; |
| 58 ServiceProviderPtr remote_service_provider_; | 58 ServiceProviderPtr remote_service_provider_; |
| 59 ServiceConnectorRegistry service_connector_registry_; | 59 ServiceConnectorRegistry service_connector_registry_; |
| 60 | 60 |
| 61 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceRegistry); | 61 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceRegistry); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace internal | 64 } // namespace internal |
| 65 } // namespace mojo | 65 } // namespace mojo |
| 66 | 66 |
| 67 #endif // MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ | 67 #endif // MOJO_APPLICATION_PUBLIC_CPP_LIB_SERVICE_REGISTRY_H_ |
| OLD | NEW |