Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: mojo/public/cpp/application/lib/service_registry.h

Issue 423613002: Mojo: split up service_provider.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "mojo/public/cpp/application/application_connection.h" 8 #include "mojo/public/cpp/application/application_connection.h"
9 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" 9 #include "mojo/public/interfaces/application/service_provider.mojom.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 12
13 class Application;
13 class ApplicationImpl; 14 class ApplicationImpl;
14 15
15 namespace internal { 16 namespace internal {
16 17
17 class ServiceConnectorBase; 18 class ServiceConnectorBase;
18 19
19 // A ServiceRegistry represents each half of a connection between two 20 // A ServiceRegistry represents each half of a connection between two
20 // applications, allowing customization of which services are published to the 21 // applications, allowing customization of which services are published to the
21 // other. 22 // other.
22 class ServiceRegistry : public ServiceProvider, public ApplicationConnection { 23 class ServiceRegistry : public ServiceProvider, public ApplicationConnection {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 NameToServiceConnectorMap name_to_service_connector_; 57 NameToServiceConnectorMap name_to_service_connector_;
57 ServiceProviderPtr remote_service_provider_; 58 ServiceProviderPtr remote_service_provider_;
58 59
59 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceRegistry); 60 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceRegistry);
60 }; 61 };
61 62
62 } // namespace internal 63 } // namespace internal
63 } // namespace mojo 64 } // namespace mojo
64 65
65 #endif // MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_ 66 #endif // MOJO_PUBLIC_CPP_APPLICATION_LIB_SERVICE_REGISTRY_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/application/lib/service_connector.h ('k') | mojo/public/interfaces/application/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698