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

Side by Side Diff: mojo/application/public/cpp/service_provider_impl.h

Issue 1435063002: Eliminate third_party/mojo/src from all targets' include paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
« no previous file with comments | « mojo/application/public/cpp/service_connector.h ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_APPLICATION_PUBLIC_CPP_SERVICE_PROVIDER_IMPL_H_ 5 #ifndef MOJO_APPLICATION_PUBLIC_CPP_SERVICE_PROVIDER_IMPL_H_
6 #define MOJO_APPLICATION_PUBLIC_CPP_SERVICE_PROVIDER_IMPL_H_ 6 #define MOJO_APPLICATION_PUBLIC_CPP_SERVICE_PROVIDER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "mojo/application/public/cpp/lib/interface_factory_connector.h" 10 #include "mojo/application/public/cpp/lib/interface_factory_connector.h"
11 #include "mojo/application/public/cpp/lib/service_connector_registry.h" 11 #include "mojo/application/public/cpp/lib/service_connector_registry.h"
12 #include "mojo/application/public/interfaces/service_provider.mojom.h" 12 #include "mojo/application/public/interfaces/service_provider.mojom.h"
13 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 16
17 // Implements a registry that can be used to expose services to another app. 17 // Implements a registry that can be used to expose services to another app.
18 class ServiceProviderImpl : public ServiceProvider { 18 class ServiceProviderImpl : public ServiceProvider {
19 public: 19 public:
20 ServiceProviderImpl(); 20 ServiceProviderImpl();
21 explicit ServiceProviderImpl(InterfaceRequest<ServiceProvider> request); 21 explicit ServiceProviderImpl(InterfaceRequest<ServiceProvider> request);
22 ~ServiceProviderImpl() override; 22 ~ServiceProviderImpl() override;
23 23
(...skipping 17 matching lines...) Expand all
41 StrongBinding<ServiceProvider> binding_; 41 StrongBinding<ServiceProvider> binding_;
42 42
43 internal::ServiceConnectorRegistry service_connector_registry_; 43 internal::ServiceConnectorRegistry service_connector_registry_;
44 44
45 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceProviderImpl); 45 MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceProviderImpl);
46 }; 46 };
47 47
48 } // namespace mojo 48 } // namespace mojo
49 49
50 #endif // MOJO_APPLICATION_PUBLIC_CPP_SERVICE_PROVIDER_IMPL_H_ 50 #endif // MOJO_APPLICATION_PUBLIC_CPP_SERVICE_PROVIDER_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/application/public/cpp/service_connector.h ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698