| 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_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ |
| 6 #define MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ | 6 #define MOJO_PUBLIC_CPP_APPLICATION_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/public/cpp/application/application_connection.h" |
| 11 #include "mojo/public/cpp/application/lib/service_connector_registry.h" | 11 #include "mojo/public/cpp/application/lib/service_connector_registry.h" |
| 12 #include "mojo/public/cpp/bindings/binding.h" |
| 12 #include "mojo/public/interfaces/application/service_provider.mojom.h" | 13 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
| 13 | 14 |
| 14 namespace mojo { | 15 namespace mojo { |
| 15 | 16 |
| 16 class Application; | 17 class Application; |
| 17 class ApplicationImpl; | 18 class ApplicationImpl; |
| 18 | 19 |
| 19 namespace internal { | 20 namespace internal { |
| 20 | 21 |
| 21 // A ServiceRegistry represents each half of a connection between two | 22 // A ServiceRegistry represents each half of a connection between two |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 ServiceProviderPtr remote_service_provider_; | 58 ServiceProviderPtr remote_service_provider_; |
| 58 ServiceConnectorRegistry service_connector_registry_; | 59 ServiceConnectorRegistry service_connector_registry_; |
| 59 | 60 |
| 60 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceRegistry); | 61 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceRegistry); |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 } // namespace internal | 64 } // namespace internal |
| 64 } // namespace mojo | 65 } // namespace mojo |
| 65 | 66 |
| 66 #endif // MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ | 67 #endif // MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ |
| OLD | NEW |