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

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

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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/application/public/cpp/lib/service_connector_registry.h" 5 #include "mojo/shell/public/cpp/lib/service_connector_registry.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "mojo/application/public/cpp/service_connector.h" 9 #include "mojo/shell/public/cpp/service_connector.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace internal { 12 namespace internal {
13 13
14 ServiceConnectorRegistry::ServiceConnectorRegistry() 14 ServiceConnectorRegistry::ServiceConnectorRegistry()
15 : service_connector_(nullptr) { 15 : service_connector_(nullptr) {
16 } 16 }
17 17
18 ServiceConnectorRegistry::~ServiceConnectorRegistry() { 18 ServiceConnectorRegistry::~ServiceConnectorRegistry() {
19 for (NameToServiceConnectorMap::iterator i = 19 for (NameToServiceConnectorMap::iterator i =
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 return; 52 return;
53 } 53 }
54 if (service_connector_) { 54 if (service_connector_) {
55 service_connector_->ConnectToService(application_connection, interface_name, 55 service_connector_->ConnectToService(application_connection, interface_name,
56 std::move(client_handle)); 56 std::move(client_handle));
57 } 57 }
58 } 58 }
59 59
60 } // namespace internal 60 } // namespace internal
61 } // namespace mojo 61 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/public/cpp/lib/service_connector_registry.h ('k') | mojo/shell/public/cpp/lib/service_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698