OLD | NEW |
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 part of application; | 5 part of application; |
6 | 6 |
7 class _ApplicationImpl implements application_mojom.Application { | 7 class _ApplicationImpl implements application_mojom.Application { |
8 application_mojom.ApplicationStub _stub; | 8 application_mojom.ApplicationStub _stub; |
9 shell_mojom.ShellProxy shell; | 9 shell_mojom.ShellProxy shell; |
10 Application _application; | 10 Application _application; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 ServiceProviderProxy exposedServices, String resolvedUrl) { | 124 ServiceProviderProxy exposedServices, String resolvedUrl) { |
125 var connection = new ApplicationConnection(services, exposedServices); | 125 var connection = new ApplicationConnection(services, exposedServices); |
126 _applicationConnections.add(connection); | 126 _applicationConnections.add(connection); |
127 acceptConnection(requestorUrl, resolvedUrl, connection); | 127 acceptConnection(requestorUrl, resolvedUrl, connection); |
128 } | 128 } |
129 | 129 |
130 // Override this method to provide services on |connection|. | 130 // Override this method to provide services on |connection|. |
131 void acceptConnection(String requestorUrl, String resolvedUrl, | 131 void acceptConnection(String requestorUrl, String resolvedUrl, |
132 ApplicationConnection connection) {} | 132 ApplicationConnection connection) {} |
133 } | 133 } |
OLD | NEW |