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

Side by Side Diff: mojo/application/public/cpp/lib/service_provider_impl.cc

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 7 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
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 #include "mojo/public/cpp/application/service_provider_impl.h" 5 #include "mojo/application/public/cpp/service_provider_impl.h"
6 6
7 #include "mojo/public/cpp/application/service_connector.h" 7 #include "mojo/application/public/cpp/service_connector.h"
8 #include "mojo/public/cpp/environment/logging.h" 8 #include "mojo/public/cpp/environment/logging.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 11
12 ServiceProviderImpl::ServiceProviderImpl() : binding_(this) { 12 ServiceProviderImpl::ServiceProviderImpl() : binding_(this) {
13 } 13 }
14 14
15 ServiceProviderImpl::ServiceProviderImpl( 15 ServiceProviderImpl::ServiceProviderImpl(
16 InterfaceRequest<ServiceProvider> request) 16 InterfaceRequest<ServiceProvider> request)
17 : binding_(this, request.Pass()) { 17 : binding_(this, request.Pass()) {
(...skipping 21 matching lines...) Expand all
39 } 39 }
40 40
41 void ServiceProviderImpl::SetServiceConnectorForName( 41 void ServiceProviderImpl::SetServiceConnectorForName(
42 ServiceConnector* service_connector, 42 ServiceConnector* service_connector,
43 const std::string& interface_name) { 43 const std::string& interface_name) {
44 service_connector_registry_.SetServiceConnectorForName(service_connector, 44 service_connector_registry_.SetServiceConnectorForName(service_connector,
45 interface_name); 45 interface_name);
46 } 46 }
47 47
48 } // namespace mojo 48 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698