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

Side by Side Diff: mojo/application/public/cpp/lib/service_connector_registry.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 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/application/public/cpp/lib/service_connector_registry.h"
6 6
7 #include "mojo/public/cpp/application/service_connector.h" 7 #include "mojo/application/public/cpp/service_connector.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace internal { 10 namespace internal {
11 11
12 ServiceConnectorRegistry::ServiceConnectorRegistry() 12 ServiceConnectorRegistry::ServiceConnectorRegistry()
13 : service_connector_(nullptr) { 13 : service_connector_(nullptr) {
14 } 14 }
15 15
16 ServiceConnectorRegistry::~ServiceConnectorRegistry() { 16 ServiceConnectorRegistry::~ServiceConnectorRegistry() {
17 for (NameToServiceConnectorMap::iterator i = 17 for (NameToServiceConnectorMap::iterator i =
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return; 50 return;
51 } 51 }
52 if (service_connector_) { 52 if (service_connector_) {
53 service_connector_->ConnectToService(application_connection, interface_name, 53 service_connector_->ConnectToService(application_connection, interface_name,
54 client_handle.Pass()); 54 client_handle.Pass());
55 } 55 }
56 } 56 }
57 57
58 } // namespace internal 58 } // namespace internal
59 } // namespace mojo 59 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698