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

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

Issue 1977023003: ApplicationConnection devolution, part 4 (the end). (Closed) Base URL: https://github.com/domokit/mojo.git@work790_app_conn_devo_3.1
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/lib/service_connector_registry.h" 5 #include "mojo/public/cpp/application/lib/service_connector_registry.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "mojo/public/cpp/application/application_connection.h"
10 #include "mojo/public/cpp/application/connection_context.h" 9 #include "mojo/public/cpp/application/connection_context.h"
11 #include "mojo/public/cpp/application/service_connector.h" 10 #include "mojo/public/cpp/application/service_connector.h"
12 11
13 namespace mojo { 12 namespace mojo {
14 namespace internal { 13 namespace internal {
15 14
16 ServiceConnectorRegistry::ServiceConnectorRegistry() {} 15 ServiceConnectorRegistry::ServiceConnectorRegistry() {}
17 16
18 ServiceConnectorRegistry::~ServiceConnectorRegistry() {} 17 ServiceConnectorRegistry::~ServiceConnectorRegistry() {}
19 18
(...skipping 20 matching lines...) Expand all
40 if (iter != name_to_service_connector_.end()) { 39 if (iter != name_to_service_connector_.end()) {
41 iter->second->ConnectToService(connection_context, interface_name, 40 iter->second->ConnectToService(connection_context, interface_name,
42 client_handle->Pass()); 41 client_handle->Pass());
43 return true; 42 return true;
44 } 43 }
45 return false; 44 return false;
46 } 45 }
47 46
48 } // namespace internal 47 } // namespace internal
49 } // namespace mojo 48 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/application/lib/application_impl.cc ('k') | mojo/public/cpp/application/lib/service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698