| 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_CONNECTOR_H_ | 5 #ifndef MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_CONNECTOR_H_ |
| 6 #define MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_CONNECTOR_H_ | 6 #define MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_CONNECTOR_H_ |
| 7 | 7 |
| 8 #include "mojo/public/cpp/application/interface_factory.h" | 8 #include "mojo/public/cpp/application/interface_factory.h" |
| 9 #include "mojo/public/cpp/bindings/interface_request.h" | 9 #include "mojo/public/cpp/bindings/interface_request.h" |
| 10 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" | |
| 11 | 10 |
| 12 namespace mojo { | 11 namespace mojo { |
| 13 class ApplicationConnection; | 12 class ApplicationConnection; |
| 14 | 13 |
| 15 namespace internal { | 14 namespace internal { |
| 16 | 15 |
| 17 class ServiceConnectorBase { | 16 class ServiceConnectorBase { |
| 18 public: | 17 public: |
| 19 ServiceConnectorBase(const std::string& name); | 18 ServiceConnectorBase(const std::string& name); |
| 20 virtual ~ServiceConnectorBase(); | 19 virtual ~ServiceConnectorBase(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 46 | 45 |
| 47 private: | 46 private: |
| 48 InterfaceFactory<Interface>* factory_; | 47 InterfaceFactory<Interface>* factory_; |
| 49 MOJO_DISALLOW_COPY_AND_ASSIGN(InterfaceFactoryConnector); | 48 MOJO_DISALLOW_COPY_AND_ASSIGN(InterfaceFactoryConnector); |
| 50 }; | 49 }; |
| 51 | 50 |
| 52 } // namespace internal | 51 } // namespace internal |
| 53 } // namespace mojo | 52 } // namespace mojo |
| 54 | 53 |
| 55 #endif // MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_CONNECTOR_H_ | 54 #endif // MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_CONNECTOR_H_ |
| OLD | NEW |