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

Side by Side Diff: mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart

Issue 1983453002: Dart: Refactor Stubs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge 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 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 library regression_tests_mojom; 5 library regression_tests_mojom;
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:io'; 9 import 'dart:io';
10 import 'dart:typed_data'; 10 import 'dart:typed_data';
(...skipping 1924 matching lines...) Expand 10 before | Expand all | Expand 10 after
1935 dynamic getAllTypeDefinitions([Function responseFactory]) => 1935 dynamic getAllTypeDefinitions([Function responseFactory]) =>
1936 responseFactory(null); 1936 responseFactory(null);
1937 } 1937 }
1938 1938
1939 abstract class CheckMethodWithEmptyResponse { 1939 abstract class CheckMethodWithEmptyResponse {
1940 static const String serviceName = null; 1940 static const String serviceName = null;
1941 dynamic withoutParameterAndEmptyResponse([Function responseFactory = null]); 1941 dynamic withoutParameterAndEmptyResponse([Function responseFactory = null]);
1942 dynamic withParameterAndEmptyResponse(bool b,[Function responseFactory = null] ); 1942 dynamic withParameterAndEmptyResponse(bool b,[Function responseFactory = null] );
1943 } 1943 }
1944 1944
1945 1945 class _CheckMethodWithEmptyResponseProxyControl
1946 class _CheckMethodWithEmptyResponseProxyControl extends bindings.ProxyMessageHan dler 1946 extends bindings.ProxyMessageHandler
1947 implements bindings.ProxyControl { 1947 implements bindings.ProxyControl {
1948 _CheckMethodWithEmptyResponseProxyControl.fromEndpoint( 1948 _CheckMethodWithEmptyResponseProxyControl.fromEndpoint(
1949 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 1949 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
1950 1950
1951 _CheckMethodWithEmptyResponseProxyControl.fromHandle( 1951 _CheckMethodWithEmptyResponseProxyControl.fromHandle(
1952 core.MojoHandle handle) : super.fromHandle(handle); 1952 core.MojoHandle handle) : super.fromHandle(handle);
1953 1953
1954 _CheckMethodWithEmptyResponseProxyControl.unbound() : super.unbound(); 1954 _CheckMethodWithEmptyResponseProxyControl.unbound() : super.unbound();
1955 1955
1956 service_describer.ServiceDescription get serviceDescription => 1956 service_describer.ServiceDescription get serviceDescription =>
1957 new _CheckMethodWithEmptyResponseServiceDescription(); 1957 new _CheckMethodWithEmptyResponseServiceDescription();
1958 1958
1959 String get serviceName => CheckMethodWithEmptyResponse.serviceName; 1959 String get serviceName => CheckMethodWithEmptyResponse.serviceName;
1960 1960
1961 @override
1962 void handleResponse(bindings.ServiceMessage message) { 1961 void handleResponse(bindings.ServiceMessage message) {
1963 switch (message.header.type) { 1962 switch (message.header.type) {
1964 case _checkMethodWithEmptyResponseMethodWithoutParameterAndEmptyResponseNa me: 1963 case _checkMethodWithEmptyResponseMethodWithoutParameterAndEmptyResponseNa me:
1965 var r = CheckMethodWithEmptyResponseWithoutParameterAndEmptyResponseResp onseParams.deserialize( 1964 var r = CheckMethodWithEmptyResponseWithoutParameterAndEmptyResponseResp onseParams.deserialize(
1966 message.payload); 1965 message.payload);
1967 if (!message.header.hasRequestId) { 1966 if (!message.header.hasRequestId) {
1968 proxyError("Expected a message with a valid request Id."); 1967 proxyError("Expected a message with a valid request Id.");
1969 return; 1968 return;
1970 } 1969 }
1971 Completer c = completerMap[message.header.requestId]; 1970 Completer c = completerMap[message.header.requestId];
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 } 2007 }
2009 } 2008 }
2010 2009
2011 @override 2010 @override
2012 String toString() { 2011 String toString() {
2013 var superString = super.toString(); 2012 var superString = super.toString();
2014 return "_CheckMethodWithEmptyResponseProxyControl($superString)"; 2013 return "_CheckMethodWithEmptyResponseProxyControl($superString)";
2015 } 2014 }
2016 } 2015 }
2017 2016
2018 2017 class CheckMethodWithEmptyResponseProxy
2019 class CheckMethodWithEmptyResponseProxy extends bindings.Proxy 2018 extends bindings.Proxy
2020 implements CheckMethodWithEmptyResponse { 2019 implements CheckMethodWithEmptyResponse {
2021 CheckMethodWithEmptyResponseProxy.fromEndpoint( 2020 CheckMethodWithEmptyResponseProxy.fromEndpoint(
2022 core.MojoMessagePipeEndpoint endpoint) 2021 core.MojoMessagePipeEndpoint endpoint)
2023 : super(new _CheckMethodWithEmptyResponseProxyControl.fromEndpoint(endpoin t)); 2022 : super(new _CheckMethodWithEmptyResponseProxyControl.fromEndpoint(endpoin t));
2024 2023
2025 CheckMethodWithEmptyResponseProxy.fromHandle(core.MojoHandle handle) 2024 CheckMethodWithEmptyResponseProxy.fromHandle(core.MojoHandle handle)
2026 : super(new _CheckMethodWithEmptyResponseProxyControl.fromHandle(handle)); 2025 : super(new _CheckMethodWithEmptyResponseProxyControl.fromHandle(handle));
2027 2026
2028 CheckMethodWithEmptyResponseProxy.unbound() 2027 CheckMethodWithEmptyResponseProxy.unbound()
2029 : super(new _CheckMethodWithEmptyResponseProxyControl.unbound()); 2028 : super(new _CheckMethodWithEmptyResponseProxyControl.unbound());
2030 2029
(...skipping 23 matching lines...) Expand all
2054 var params = new _CheckMethodWithEmptyResponseWithParameterAndEmptyResponseP arams(); 2053 var params = new _CheckMethodWithEmptyResponseWithParameterAndEmptyResponseP arams();
2055 params.b = b; 2054 params.b = b;
2056 return ctrl.sendMessageWithRequestId( 2055 return ctrl.sendMessageWithRequestId(
2057 params, 2056 params,
2058 _checkMethodWithEmptyResponseMethodWithParameterAndEmptyResponseName, 2057 _checkMethodWithEmptyResponseMethodWithParameterAndEmptyResponseName,
2059 -1, 2058 -1,
2060 bindings.MessageHeader.kMessageExpectsResponse); 2059 bindings.MessageHeader.kMessageExpectsResponse);
2061 } 2060 }
2062 } 2061 }
2063 2062
2064 2063 class _CheckMethodWithEmptyResponseStubControl
2065 class CheckMethodWithEmptyResponseStub extends bindings.Stub { 2064 extends bindings.StubMessageHandler
2065 implements bindings.StubControl<CheckMethodWithEmptyResponse> {
2066 CheckMethodWithEmptyResponse _impl; 2066 CheckMethodWithEmptyResponse _impl;
2067 2067
2068 CheckMethodWithEmptyResponseStub.fromEndpoint( 2068 _CheckMethodWithEmptyResponseStubControl.fromEndpoint(
2069 core.MojoMessagePipeEndpoint endpoint, [CheckMethodWithEmptyResponse impl] ) 2069 core.MojoMessagePipeEndpoint endpoint, [CheckMethodWithEmptyResponse impl] )
2070 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 2070 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
2071 _impl = impl; 2071 _impl = impl;
2072 } 2072 }
2073 2073
2074 CheckMethodWithEmptyResponseStub.fromHandle( 2074 _CheckMethodWithEmptyResponseStubControl.fromHandle(
2075 core.MojoHandle handle, [CheckMethodWithEmptyResponse impl]) 2075 core.MojoHandle handle, [CheckMethodWithEmptyResponse impl])
2076 : super.fromHandle(handle, autoBegin: impl != null) { 2076 : super.fromHandle(handle, autoBegin: impl != null) {
2077 _impl = impl; 2077 _impl = impl;
2078 } 2078 }
2079 2079
2080 CheckMethodWithEmptyResponseStub.unbound([this._impl]) : super.unbound(); 2080 _CheckMethodWithEmptyResponseStubControl.unbound([this._impl]) : super.unbound ();
2081
2082 static CheckMethodWithEmptyResponseStub newFromEndpoint(
2083 core.MojoMessagePipeEndpoint endpoint) {
2084 assert(endpoint.setDescription("For CheckMethodWithEmptyResponseStub"));
2085 return new CheckMethodWithEmptyResponseStub.fromEndpoint(endpoint);
2086 }
2087 2081
2088 2082
2089 CheckMethodWithEmptyResponseWithoutParameterAndEmptyResponseResponseParams _ch eckMethodWithEmptyResponseWithoutParameterAndEmptyResponseResponseParamsFactory( ) { 2083 CheckMethodWithEmptyResponseWithoutParameterAndEmptyResponseResponseParams _ch eckMethodWithEmptyResponseWithoutParameterAndEmptyResponseResponseParamsFactory( ) {
2090 var result = new CheckMethodWithEmptyResponseWithoutParameterAndEmptyRespons eResponseParams(); 2084 var result = new CheckMethodWithEmptyResponseWithoutParameterAndEmptyRespons eResponseParams();
2091 return result; 2085 return result;
2092 } 2086 }
2093 CheckMethodWithEmptyResponseWithParameterAndEmptyResponseResponseParams _check MethodWithEmptyResponseWithParameterAndEmptyResponseResponseParamsFactory() { 2087 CheckMethodWithEmptyResponseWithParameterAndEmptyResponseResponseParams _check MethodWithEmptyResponseWithParameterAndEmptyResponseResponseParamsFactory() {
2094 var result = new CheckMethodWithEmptyResponseWithParameterAndEmptyResponseRe sponseParams(); 2088 var result = new CheckMethodWithEmptyResponseWithParameterAndEmptyResponseRe sponseParams();
2095 return result; 2089 return result;
2096 } 2090 }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 } 2160 }
2167 2161
2168 @override 2162 @override
2169 void bind(core.MojoMessagePipeEndpoint endpoint) { 2163 void bind(core.MojoMessagePipeEndpoint endpoint) {
2170 super.bind(endpoint); 2164 super.bind(endpoint);
2171 if (!isOpen && (_impl != null)) { 2165 if (!isOpen && (_impl != null)) {
2172 beginHandlingEvents(); 2166 beginHandlingEvents();
2173 } 2167 }
2174 } 2168 }
2175 2169
2170 @override
2176 String toString() { 2171 String toString() {
2177 var superString = super.toString(); 2172 var superString = super.toString();
2178 return "CheckMethodWithEmptyResponseStub($superString)"; 2173 return "_CheckMethodWithEmptyResponseStubControl($superString)";
2179 } 2174 }
2180 2175
2181 int get version => 0; 2176 int get version => 0;
2182 2177
2183 static service_describer.ServiceDescription _cachedServiceDescription; 2178 static service_describer.ServiceDescription _cachedServiceDescription;
2184 static service_describer.ServiceDescription get serviceDescription { 2179 static service_describer.ServiceDescription get serviceDescription {
2185 if (_cachedServiceDescription == null) { 2180 if (_cachedServiceDescription == null) {
2186 _cachedServiceDescription = new _CheckMethodWithEmptyResponseServiceDescri ption(); 2181 _cachedServiceDescription = new _CheckMethodWithEmptyResponseServiceDescri ption();
2187 } 2182 }
2188 return _cachedServiceDescription; 2183 return _cachedServiceDescription;
2189 } 2184 }
2190 } 2185 }
2191 2186
2187 class CheckMethodWithEmptyResponseStub
2188 extends bindings.Stub<CheckMethodWithEmptyResponse>
2189 implements CheckMethodWithEmptyResponse {
2190 CheckMethodWithEmptyResponseStub.fromEndpoint(
2191 core.MojoMessagePipeEndpoint endpoint, [CheckMethodWithEmptyResponse impl] )
2192 : super(new _CheckMethodWithEmptyResponseStubControl.fromEndpoint(endpoint , impl));
2193
2194 CheckMethodWithEmptyResponseStub.fromHandle(
2195 core.MojoHandle handle, [CheckMethodWithEmptyResponse impl])
2196 : super(new _CheckMethodWithEmptyResponseStubControl.fromHandle(handle, im pl));
2197
2198 CheckMethodWithEmptyResponseStub.unbound([CheckMethodWithEmptyResponse impl])
2199 : super(new _CheckMethodWithEmptyResponseStubControl.unbound(impl));
2200
2201 static CheckMethodWithEmptyResponseStub newFromEndpoint(
2202 core.MojoMessagePipeEndpoint endpoint) {
2203 assert(endpoint.setDescription("For CheckMethodWithEmptyResponseStub"));
2204 return new CheckMethodWithEmptyResponseStub.fromEndpoint(endpoint);
2205 }
2206
2207 static service_describer.ServiceDescription get serviceDescription =>
2208 _CheckMethodWithEmptyResponseStubControl.serviceDescription;
2209
2210
2211 dynamic withoutParameterAndEmptyResponse([Function responseFactory = null]) {
2212 return impl.withoutParameterAndEmptyResponse(responseFactory);
2213 }
2214 dynamic withParameterAndEmptyResponse(bool b,[Function responseFactory = null] ) {
2215 return impl.withParameterAndEmptyResponse(b,responseFactory);
2216 }
2217 }
2218
2192 const int _checkNameCollisionMethodWithNameCollisionName = 0; 2219 const int _checkNameCollisionMethodWithNameCollisionName = 0;
2193 2220
2194 class _CheckNameCollisionServiceDescription implements service_describer.Service Description { 2221 class _CheckNameCollisionServiceDescription implements service_describer.Service Description {
2195 dynamic getTopLevelInterface([Function responseFactory]) => 2222 dynamic getTopLevelInterface([Function responseFactory]) =>
2196 responseFactory(null); 2223 responseFactory(null);
2197 2224
2198 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => 2225 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
2199 responseFactory(null); 2226 responseFactory(null);
2200 2227
2201 dynamic getAllTypeDefinitions([Function responseFactory]) => 2228 dynamic getAllTypeDefinitions([Function responseFactory]) =>
2202 responseFactory(null); 2229 responseFactory(null);
2203 } 2230 }
2204 2231
2205 abstract class CheckNameCollision { 2232 abstract class CheckNameCollision {
2206 static const String serviceName = null; 2233 static const String serviceName = null;
2207 dynamic withNameCollision(bool message,bool response,[Function responseFactory = null]); 2234 dynamic withNameCollision(bool message,bool response,[Function responseFactory = null]);
2208 } 2235 }
2209 2236
2210 2237 class _CheckNameCollisionProxyControl
2211 class _CheckNameCollisionProxyControl extends bindings.ProxyMessageHandler 2238 extends bindings.ProxyMessageHandler
2212 implements bindings.ProxyControl { 2239 implements bindings.ProxyControl {
2213 _CheckNameCollisionProxyControl.fromEndpoint( 2240 _CheckNameCollisionProxyControl.fromEndpoint(
2214 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 2241 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
2215 2242
2216 _CheckNameCollisionProxyControl.fromHandle( 2243 _CheckNameCollisionProxyControl.fromHandle(
2217 core.MojoHandle handle) : super.fromHandle(handle); 2244 core.MojoHandle handle) : super.fromHandle(handle);
2218 2245
2219 _CheckNameCollisionProxyControl.unbound() : super.unbound(); 2246 _CheckNameCollisionProxyControl.unbound() : super.unbound();
2220 2247
2221 service_describer.ServiceDescription get serviceDescription => 2248 service_describer.ServiceDescription get serviceDescription =>
2222 new _CheckNameCollisionServiceDescription(); 2249 new _CheckNameCollisionServiceDescription();
2223 2250
2224 String get serviceName => CheckNameCollision.serviceName; 2251 String get serviceName => CheckNameCollision.serviceName;
2225 2252
2226 @override
2227 void handleResponse(bindings.ServiceMessage message) { 2253 void handleResponse(bindings.ServiceMessage message) {
2228 switch (message.header.type) { 2254 switch (message.header.type) {
2229 case _checkNameCollisionMethodWithNameCollisionName: 2255 case _checkNameCollisionMethodWithNameCollisionName:
2230 var r = CheckNameCollisionWithNameCollisionResponseParams.deserialize( 2256 var r = CheckNameCollisionWithNameCollisionResponseParams.deserialize(
2231 message.payload); 2257 message.payload);
2232 if (!message.header.hasRequestId) { 2258 if (!message.header.hasRequestId) {
2233 proxyError("Expected a message with a valid request Id."); 2259 proxyError("Expected a message with a valid request Id.");
2234 return; 2260 return;
2235 } 2261 }
2236 Completer c = completerMap[message.header.requestId]; 2262 Completer c = completerMap[message.header.requestId];
(...skipping 16 matching lines...) Expand all
2253 } 2279 }
2254 } 2280 }
2255 2281
2256 @override 2282 @override
2257 String toString() { 2283 String toString() {
2258 var superString = super.toString(); 2284 var superString = super.toString();
2259 return "_CheckNameCollisionProxyControl($superString)"; 2285 return "_CheckNameCollisionProxyControl($superString)";
2260 } 2286 }
2261 } 2287 }
2262 2288
2263 2289 class CheckNameCollisionProxy
2264 class CheckNameCollisionProxy extends bindings.Proxy 2290 extends bindings.Proxy
2265 implements CheckNameCollision { 2291 implements CheckNameCollision {
2266 CheckNameCollisionProxy.fromEndpoint( 2292 CheckNameCollisionProxy.fromEndpoint(
2267 core.MojoMessagePipeEndpoint endpoint) 2293 core.MojoMessagePipeEndpoint endpoint)
2268 : super(new _CheckNameCollisionProxyControl.fromEndpoint(endpoint)); 2294 : super(new _CheckNameCollisionProxyControl.fromEndpoint(endpoint));
2269 2295
2270 CheckNameCollisionProxy.fromHandle(core.MojoHandle handle) 2296 CheckNameCollisionProxy.fromHandle(core.MojoHandle handle)
2271 : super(new _CheckNameCollisionProxyControl.fromHandle(handle)); 2297 : super(new _CheckNameCollisionProxyControl.fromHandle(handle));
2272 2298
2273 CheckNameCollisionProxy.unbound() 2299 CheckNameCollisionProxy.unbound()
2274 : super(new _CheckNameCollisionProxyControl.unbound()); 2300 : super(new _CheckNameCollisionProxyControl.unbound());
2275 2301
(...skipping 16 matching lines...) Expand all
2292 params.message = message; 2318 params.message = message;
2293 params.response = response; 2319 params.response = response;
2294 return ctrl.sendMessageWithRequestId( 2320 return ctrl.sendMessageWithRequestId(
2295 params, 2321 params,
2296 _checkNameCollisionMethodWithNameCollisionName, 2322 _checkNameCollisionMethodWithNameCollisionName,
2297 -1, 2323 -1,
2298 bindings.MessageHeader.kMessageExpectsResponse); 2324 bindings.MessageHeader.kMessageExpectsResponse);
2299 } 2325 }
2300 } 2326 }
2301 2327
2302 2328 class _CheckNameCollisionStubControl
2303 class CheckNameCollisionStub extends bindings.Stub { 2329 extends bindings.StubMessageHandler
2330 implements bindings.StubControl<CheckNameCollision> {
2304 CheckNameCollision _impl; 2331 CheckNameCollision _impl;
2305 2332
2306 CheckNameCollisionStub.fromEndpoint( 2333 _CheckNameCollisionStubControl.fromEndpoint(
2307 core.MojoMessagePipeEndpoint endpoint, [CheckNameCollision impl]) 2334 core.MojoMessagePipeEndpoint endpoint, [CheckNameCollision impl])
2308 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 2335 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
2309 _impl = impl; 2336 _impl = impl;
2310 } 2337 }
2311 2338
2312 CheckNameCollisionStub.fromHandle( 2339 _CheckNameCollisionStubControl.fromHandle(
2313 core.MojoHandle handle, [CheckNameCollision impl]) 2340 core.MojoHandle handle, [CheckNameCollision impl])
2314 : super.fromHandle(handle, autoBegin: impl != null) { 2341 : super.fromHandle(handle, autoBegin: impl != null) {
2315 _impl = impl; 2342 _impl = impl;
2316 } 2343 }
2317 2344
2318 CheckNameCollisionStub.unbound([this._impl]) : super.unbound(); 2345 _CheckNameCollisionStubControl.unbound([this._impl]) : super.unbound();
2319
2320 static CheckNameCollisionStub newFromEndpoint(
2321 core.MojoMessagePipeEndpoint endpoint) {
2322 assert(endpoint.setDescription("For CheckNameCollisionStub"));
2323 return new CheckNameCollisionStub.fromEndpoint(endpoint);
2324 }
2325 2346
2326 2347
2327 CheckNameCollisionWithNameCollisionResponseParams _checkNameCollisionWithNameC ollisionResponseParamsFactory(bool message, bool response) { 2348 CheckNameCollisionWithNameCollisionResponseParams _checkNameCollisionWithNameC ollisionResponseParamsFactory(bool message, bool response) {
2328 var result = new CheckNameCollisionWithNameCollisionResponseParams(); 2349 var result = new CheckNameCollisionWithNameCollisionResponseParams();
2329 result.message = message; 2350 result.message = message;
2330 result.response = response; 2351 result.response = response;
2331 return result; 2352 return result;
2332 } 2353 }
2333 2354
2334 dynamic handleMessage(bindings.ServiceMessage message) { 2355 dynamic handleMessage(bindings.ServiceMessage message) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 } 2403 }
2383 2404
2384 @override 2405 @override
2385 void bind(core.MojoMessagePipeEndpoint endpoint) { 2406 void bind(core.MojoMessagePipeEndpoint endpoint) {
2386 super.bind(endpoint); 2407 super.bind(endpoint);
2387 if (!isOpen && (_impl != null)) { 2408 if (!isOpen && (_impl != null)) {
2388 beginHandlingEvents(); 2409 beginHandlingEvents();
2389 } 2410 }
2390 } 2411 }
2391 2412
2413 @override
2392 String toString() { 2414 String toString() {
2393 var superString = super.toString(); 2415 var superString = super.toString();
2394 return "CheckNameCollisionStub($superString)"; 2416 return "_CheckNameCollisionStubControl($superString)";
2395 } 2417 }
2396 2418
2397 int get version => 0; 2419 int get version => 0;
2398 2420
2399 static service_describer.ServiceDescription _cachedServiceDescription; 2421 static service_describer.ServiceDescription _cachedServiceDescription;
2400 static service_describer.ServiceDescription get serviceDescription { 2422 static service_describer.ServiceDescription get serviceDescription {
2401 if (_cachedServiceDescription == null) { 2423 if (_cachedServiceDescription == null) {
2402 _cachedServiceDescription = new _CheckNameCollisionServiceDescription(); 2424 _cachedServiceDescription = new _CheckNameCollisionServiceDescription();
2403 } 2425 }
2404 return _cachedServiceDescription; 2426 return _cachedServiceDescription;
2405 } 2427 }
2406 } 2428 }
2407 2429
2430 class CheckNameCollisionStub
2431 extends bindings.Stub<CheckNameCollision>
2432 implements CheckNameCollision {
2433 CheckNameCollisionStub.fromEndpoint(
2434 core.MojoMessagePipeEndpoint endpoint, [CheckNameCollision impl])
2435 : super(new _CheckNameCollisionStubControl.fromEndpoint(endpoint, impl));
2436
2437 CheckNameCollisionStub.fromHandle(
2438 core.MojoHandle handle, [CheckNameCollision impl])
2439 : super(new _CheckNameCollisionStubControl.fromHandle(handle, impl));
2440
2441 CheckNameCollisionStub.unbound([CheckNameCollision impl])
2442 : super(new _CheckNameCollisionStubControl.unbound(impl));
2443
2444 static CheckNameCollisionStub newFromEndpoint(
2445 core.MojoMessagePipeEndpoint endpoint) {
2446 assert(endpoint.setDescription("For CheckNameCollisionStub"));
2447 return new CheckNameCollisionStub.fromEndpoint(endpoint);
2448 }
2449
2450 static service_describer.ServiceDescription get serviceDescription =>
2451 _CheckNameCollisionStubControl.serviceDescription;
2452
2453
2454 dynamic withNameCollision(bool message,bool response,[Function responseFactory = null]) {
2455 return impl.withNameCollision(message,response,responseFactory);
2456 }
2457 }
2458
2408 const int _checkEnumCapsMethodSetEnumWithInternalAllCapsName = 0; 2459 const int _checkEnumCapsMethodSetEnumWithInternalAllCapsName = 0;
2409 2460
2410 class _CheckEnumCapsServiceDescription implements service_describer.ServiceDescr iption { 2461 class _CheckEnumCapsServiceDescription implements service_describer.ServiceDescr iption {
2411 dynamic getTopLevelInterface([Function responseFactory]) => 2462 dynamic getTopLevelInterface([Function responseFactory]) =>
2412 responseFactory(null); 2463 responseFactory(null);
2413 2464
2414 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => 2465 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
2415 responseFactory(null); 2466 responseFactory(null);
2416 2467
2417 dynamic getAllTypeDefinitions([Function responseFactory]) => 2468 dynamic getAllTypeDefinitions([Function responseFactory]) =>
2418 responseFactory(null); 2469 responseFactory(null);
2419 } 2470 }
2420 2471
2421 abstract class CheckEnumCaps { 2472 abstract class CheckEnumCaps {
2422 static const String serviceName = null; 2473 static const String serviceName = null;
2423 void setEnumWithInternalAllCaps(EnumWithInternalAllCaps e); 2474 void setEnumWithInternalAllCaps(EnumWithInternalAllCaps e);
2424 } 2475 }
2425 2476
2426 2477 class _CheckEnumCapsProxyControl
2427 class _CheckEnumCapsProxyControl extends bindings.ProxyMessageHandler 2478 extends bindings.ProxyMessageHandler
2428 implements bindings.ProxyControl { 2479 implements bindings.ProxyControl {
2429 _CheckEnumCapsProxyControl.fromEndpoint( 2480 _CheckEnumCapsProxyControl.fromEndpoint(
2430 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 2481 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
2431 2482
2432 _CheckEnumCapsProxyControl.fromHandle( 2483 _CheckEnumCapsProxyControl.fromHandle(
2433 core.MojoHandle handle) : super.fromHandle(handle); 2484 core.MojoHandle handle) : super.fromHandle(handle);
2434 2485
2435 _CheckEnumCapsProxyControl.unbound() : super.unbound(); 2486 _CheckEnumCapsProxyControl.unbound() : super.unbound();
2436 2487
2437 service_describer.ServiceDescription get serviceDescription => 2488 service_describer.ServiceDescription get serviceDescription =>
2438 new _CheckEnumCapsServiceDescription(); 2489 new _CheckEnumCapsServiceDescription();
2439 2490
2440 String get serviceName => CheckEnumCaps.serviceName; 2491 String get serviceName => CheckEnumCaps.serviceName;
2441 2492
2442 @override
2443 void handleResponse(bindings.ServiceMessage message) { 2493 void handleResponse(bindings.ServiceMessage message) {
2444 switch (message.header.type) { 2494 switch (message.header.type) {
2445 default: 2495 default:
2446 proxyError("Unexpected message type: ${message.header.type}"); 2496 proxyError("Unexpected message type: ${message.header.type}");
2447 close(immediate: true); 2497 close(immediate: true);
2448 break; 2498 break;
2449 } 2499 }
2450 } 2500 }
2451 2501
2452 @override 2502 @override
2453 String toString() { 2503 String toString() {
2454 var superString = super.toString(); 2504 var superString = super.toString();
2455 return "_CheckEnumCapsProxyControl($superString)"; 2505 return "_CheckEnumCapsProxyControl($superString)";
2456 } 2506 }
2457 } 2507 }
2458 2508
2459 2509 class CheckEnumCapsProxy
2460 class CheckEnumCapsProxy extends bindings.Proxy 2510 extends bindings.Proxy
2461 implements CheckEnumCaps { 2511 implements CheckEnumCaps {
2462 CheckEnumCapsProxy.fromEndpoint( 2512 CheckEnumCapsProxy.fromEndpoint(
2463 core.MojoMessagePipeEndpoint endpoint) 2513 core.MojoMessagePipeEndpoint endpoint)
2464 : super(new _CheckEnumCapsProxyControl.fromEndpoint(endpoint)); 2514 : super(new _CheckEnumCapsProxyControl.fromEndpoint(endpoint));
2465 2515
2466 CheckEnumCapsProxy.fromHandle(core.MojoHandle handle) 2516 CheckEnumCapsProxy.fromHandle(core.MojoHandle handle)
2467 : super(new _CheckEnumCapsProxyControl.fromHandle(handle)); 2517 : super(new _CheckEnumCapsProxyControl.fromHandle(handle));
2468 2518
2469 CheckEnumCapsProxy.unbound() 2519 CheckEnumCapsProxy.unbound()
2470 : super(new _CheckEnumCapsProxyControl.unbound()); 2520 : super(new _CheckEnumCapsProxyControl.unbound());
2471 2521
(...skipping 16 matching lines...) Expand all
2488 ctrl.proxyError("The Proxy is closed."); 2538 ctrl.proxyError("The Proxy is closed.");
2489 return; 2539 return;
2490 } 2540 }
2491 var params = new _CheckEnumCapsSetEnumWithInternalAllCapsParams(); 2541 var params = new _CheckEnumCapsSetEnumWithInternalAllCapsParams();
2492 params.e = e; 2542 params.e = e;
2493 ctrl.sendMessage(params, 2543 ctrl.sendMessage(params,
2494 _checkEnumCapsMethodSetEnumWithInternalAllCapsName); 2544 _checkEnumCapsMethodSetEnumWithInternalAllCapsName);
2495 } 2545 }
2496 } 2546 }
2497 2547
2498 2548 class _CheckEnumCapsStubControl
2499 class CheckEnumCapsStub extends bindings.Stub { 2549 extends bindings.StubMessageHandler
2550 implements bindings.StubControl<CheckEnumCaps> {
2500 CheckEnumCaps _impl; 2551 CheckEnumCaps _impl;
2501 2552
2502 CheckEnumCapsStub.fromEndpoint( 2553 _CheckEnumCapsStubControl.fromEndpoint(
2503 core.MojoMessagePipeEndpoint endpoint, [CheckEnumCaps impl]) 2554 core.MojoMessagePipeEndpoint endpoint, [CheckEnumCaps impl])
2504 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 2555 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
2505 _impl = impl; 2556 _impl = impl;
2506 } 2557 }
2507 2558
2508 CheckEnumCapsStub.fromHandle( 2559 _CheckEnumCapsStubControl.fromHandle(
2509 core.MojoHandle handle, [CheckEnumCaps impl]) 2560 core.MojoHandle handle, [CheckEnumCaps impl])
2510 : super.fromHandle(handle, autoBegin: impl != null) { 2561 : super.fromHandle(handle, autoBegin: impl != null) {
2511 _impl = impl; 2562 _impl = impl;
2512 } 2563 }
2513 2564
2514 CheckEnumCapsStub.unbound([this._impl]) : super.unbound(); 2565 _CheckEnumCapsStubControl.unbound([this._impl]) : super.unbound();
2515
2516 static CheckEnumCapsStub newFromEndpoint(
2517 core.MojoMessagePipeEndpoint endpoint) {
2518 assert(endpoint.setDescription("For CheckEnumCapsStub"));
2519 return new CheckEnumCapsStub.fromEndpoint(endpoint);
2520 }
2521 2566
2522 2567
2523 2568
2524 dynamic handleMessage(bindings.ServiceMessage message) { 2569 dynamic handleMessage(bindings.ServiceMessage message) {
2525 if (bindings.ControlMessageHandler.isControlMessage(message)) { 2570 if (bindings.ControlMessageHandler.isControlMessage(message)) {
2526 return bindings.ControlMessageHandler.handleMessage(this, 2571 return bindings.ControlMessageHandler.handleMessage(this,
2527 0, 2572 0,
2528 message); 2573 message);
2529 } 2574 }
2530 if (_impl == null) { 2575 if (_impl == null) {
(...skipping 24 matching lines...) Expand all
2555 } 2600 }
2556 2601
2557 @override 2602 @override
2558 void bind(core.MojoMessagePipeEndpoint endpoint) { 2603 void bind(core.MojoMessagePipeEndpoint endpoint) {
2559 super.bind(endpoint); 2604 super.bind(endpoint);
2560 if (!isOpen && (_impl != null)) { 2605 if (!isOpen && (_impl != null)) {
2561 beginHandlingEvents(); 2606 beginHandlingEvents();
2562 } 2607 }
2563 } 2608 }
2564 2609
2610 @override
2565 String toString() { 2611 String toString() {
2566 var superString = super.toString(); 2612 var superString = super.toString();
2567 return "CheckEnumCapsStub($superString)"; 2613 return "_CheckEnumCapsStubControl($superString)";
2568 } 2614 }
2569 2615
2570 int get version => 0; 2616 int get version => 0;
2571 2617
2572 static service_describer.ServiceDescription _cachedServiceDescription; 2618 static service_describer.ServiceDescription _cachedServiceDescription;
2573 static service_describer.ServiceDescription get serviceDescription { 2619 static service_describer.ServiceDescription get serviceDescription {
2574 if (_cachedServiceDescription == null) { 2620 if (_cachedServiceDescription == null) {
2575 _cachedServiceDescription = new _CheckEnumCapsServiceDescription(); 2621 _cachedServiceDescription = new _CheckEnumCapsServiceDescription();
2576 } 2622 }
2577 return _cachedServiceDescription; 2623 return _cachedServiceDescription;
2578 } 2624 }
2579 } 2625 }
2580 2626
2627 class CheckEnumCapsStub
2628 extends bindings.Stub<CheckEnumCaps>
2629 implements CheckEnumCaps {
2630 CheckEnumCapsStub.fromEndpoint(
2631 core.MojoMessagePipeEndpoint endpoint, [CheckEnumCaps impl])
2632 : super(new _CheckEnumCapsStubControl.fromEndpoint(endpoint, impl));
2633
2634 CheckEnumCapsStub.fromHandle(
2635 core.MojoHandle handle, [CheckEnumCaps impl])
2636 : super(new _CheckEnumCapsStubControl.fromHandle(handle, impl));
2637
2638 CheckEnumCapsStub.unbound([CheckEnumCaps impl])
2639 : super(new _CheckEnumCapsStubControl.unbound(impl));
2640
2641 static CheckEnumCapsStub newFromEndpoint(
2642 core.MojoMessagePipeEndpoint endpoint) {
2643 assert(endpoint.setDescription("For CheckEnumCapsStub"));
2644 return new CheckEnumCapsStub.fromEndpoint(endpoint);
2645 }
2646
2647 static service_describer.ServiceDescription get serviceDescription =>
2648 _CheckEnumCapsStubControl.serviceDescription;
2649
2650
2651 void setEnumWithInternalAllCaps(EnumWithInternalAllCaps e) {
2652 return impl.setEnumWithInternalAllCaps(e);
2653 }
2654 }
2655
2581 const int _testInterfaceMethodSomeMessageName = 0; 2656 const int _testInterfaceMethodSomeMessageName = 0;
2582 2657
2583 class _TestInterfaceServiceDescription implements service_describer.ServiceDescr iption { 2658 class _TestInterfaceServiceDescription implements service_describer.ServiceDescr iption {
2584 dynamic getTopLevelInterface([Function responseFactory]) => 2659 dynamic getTopLevelInterface([Function responseFactory]) =>
2585 responseFactory(null); 2660 responseFactory(null);
2586 2661
2587 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => 2662 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
2588 responseFactory(null); 2663 responseFactory(null);
2589 2664
2590 dynamic getAllTypeDefinitions([Function responseFactory]) => 2665 dynamic getAllTypeDefinitions([Function responseFactory]) =>
2591 responseFactory(null); 2666 responseFactory(null);
2592 } 2667 }
2593 2668
2594 abstract class TestInterface { 2669 abstract class TestInterface {
2595 static const String serviceName = null; 2670 static const String serviceName = null;
2596 void someMessage(); 2671 void someMessage();
2597 } 2672 }
2598 2673
2599 2674 class _TestInterfaceProxyControl
2600 class _TestInterfaceProxyControl extends bindings.ProxyMessageHandler 2675 extends bindings.ProxyMessageHandler
2601 implements bindings.ProxyControl { 2676 implements bindings.ProxyControl {
2602 _TestInterfaceProxyControl.fromEndpoint( 2677 _TestInterfaceProxyControl.fromEndpoint(
2603 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 2678 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
2604 2679
2605 _TestInterfaceProxyControl.fromHandle( 2680 _TestInterfaceProxyControl.fromHandle(
2606 core.MojoHandle handle) : super.fromHandle(handle); 2681 core.MojoHandle handle) : super.fromHandle(handle);
2607 2682
2608 _TestInterfaceProxyControl.unbound() : super.unbound(); 2683 _TestInterfaceProxyControl.unbound() : super.unbound();
2609 2684
2610 service_describer.ServiceDescription get serviceDescription => 2685 service_describer.ServiceDescription get serviceDescription =>
2611 new _TestInterfaceServiceDescription(); 2686 new _TestInterfaceServiceDescription();
2612 2687
2613 String get serviceName => TestInterface.serviceName; 2688 String get serviceName => TestInterface.serviceName;
2614 2689
2615 @override
2616 void handleResponse(bindings.ServiceMessage message) { 2690 void handleResponse(bindings.ServiceMessage message) {
2617 switch (message.header.type) { 2691 switch (message.header.type) {
2618 default: 2692 default:
2619 proxyError("Unexpected message type: ${message.header.type}"); 2693 proxyError("Unexpected message type: ${message.header.type}");
2620 close(immediate: true); 2694 close(immediate: true);
2621 break; 2695 break;
2622 } 2696 }
2623 } 2697 }
2624 2698
2625 @override 2699 @override
2626 String toString() { 2700 String toString() {
2627 var superString = super.toString(); 2701 var superString = super.toString();
2628 return "_TestInterfaceProxyControl($superString)"; 2702 return "_TestInterfaceProxyControl($superString)";
2629 } 2703 }
2630 } 2704 }
2631 2705
2632 2706 class TestInterfaceProxy
2633 class TestInterfaceProxy extends bindings.Proxy 2707 extends bindings.Proxy
2634 implements TestInterface { 2708 implements TestInterface {
2635 TestInterfaceProxy.fromEndpoint( 2709 TestInterfaceProxy.fromEndpoint(
2636 core.MojoMessagePipeEndpoint endpoint) 2710 core.MojoMessagePipeEndpoint endpoint)
2637 : super(new _TestInterfaceProxyControl.fromEndpoint(endpoint)); 2711 : super(new _TestInterfaceProxyControl.fromEndpoint(endpoint));
2638 2712
2639 TestInterfaceProxy.fromHandle(core.MojoHandle handle) 2713 TestInterfaceProxy.fromHandle(core.MojoHandle handle)
2640 : super(new _TestInterfaceProxyControl.fromHandle(handle)); 2714 : super(new _TestInterfaceProxyControl.fromHandle(handle));
2641 2715
2642 TestInterfaceProxy.unbound() 2716 TestInterfaceProxy.unbound()
2643 : super(new _TestInterfaceProxyControl.unbound()); 2717 : super(new _TestInterfaceProxyControl.unbound());
2644 2718
(...skipping 15 matching lines...) Expand all
2660 if (!ctrl.isBound) { 2734 if (!ctrl.isBound) {
2661 ctrl.proxyError("The Proxy is closed."); 2735 ctrl.proxyError("The Proxy is closed.");
2662 return; 2736 return;
2663 } 2737 }
2664 var params = new _TestInterfaceSomeMessageParams(); 2738 var params = new _TestInterfaceSomeMessageParams();
2665 ctrl.sendMessage(params, 2739 ctrl.sendMessage(params,
2666 _testInterfaceMethodSomeMessageName); 2740 _testInterfaceMethodSomeMessageName);
2667 } 2741 }
2668 } 2742 }
2669 2743
2670 2744 class _TestInterfaceStubControl
2671 class TestInterfaceStub extends bindings.Stub { 2745 extends bindings.StubMessageHandler
2746 implements bindings.StubControl<TestInterface> {
2672 TestInterface _impl; 2747 TestInterface _impl;
2673 2748
2674 TestInterfaceStub.fromEndpoint( 2749 _TestInterfaceStubControl.fromEndpoint(
2675 core.MojoMessagePipeEndpoint endpoint, [TestInterface impl]) 2750 core.MojoMessagePipeEndpoint endpoint, [TestInterface impl])
2676 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 2751 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
2677 _impl = impl; 2752 _impl = impl;
2678 } 2753 }
2679 2754
2680 TestInterfaceStub.fromHandle( 2755 _TestInterfaceStubControl.fromHandle(
2681 core.MojoHandle handle, [TestInterface impl]) 2756 core.MojoHandle handle, [TestInterface impl])
2682 : super.fromHandle(handle, autoBegin: impl != null) { 2757 : super.fromHandle(handle, autoBegin: impl != null) {
2683 _impl = impl; 2758 _impl = impl;
2684 } 2759 }
2685 2760
2686 TestInterfaceStub.unbound([this._impl]) : super.unbound(); 2761 _TestInterfaceStubControl.unbound([this._impl]) : super.unbound();
2687
2688 static TestInterfaceStub newFromEndpoint(
2689 core.MojoMessagePipeEndpoint endpoint) {
2690 assert(endpoint.setDescription("For TestInterfaceStub"));
2691 return new TestInterfaceStub.fromEndpoint(endpoint);
2692 }
2693 2762
2694 2763
2695 2764
2696 dynamic handleMessage(bindings.ServiceMessage message) { 2765 dynamic handleMessage(bindings.ServiceMessage message) {
2697 if (bindings.ControlMessageHandler.isControlMessage(message)) { 2766 if (bindings.ControlMessageHandler.isControlMessage(message)) {
2698 return bindings.ControlMessageHandler.handleMessage(this, 2767 return bindings.ControlMessageHandler.handleMessage(this,
2699 0, 2768 0,
2700 message); 2769 message);
2701 } 2770 }
2702 if (_impl == null) { 2771 if (_impl == null) {
(...skipping 22 matching lines...) Expand all
2725 } 2794 }
2726 2795
2727 @override 2796 @override
2728 void bind(core.MojoMessagePipeEndpoint endpoint) { 2797 void bind(core.MojoMessagePipeEndpoint endpoint) {
2729 super.bind(endpoint); 2798 super.bind(endpoint);
2730 if (!isOpen && (_impl != null)) { 2799 if (!isOpen && (_impl != null)) {
2731 beginHandlingEvents(); 2800 beginHandlingEvents();
2732 } 2801 }
2733 } 2802 }
2734 2803
2804 @override
2735 String toString() { 2805 String toString() {
2736 var superString = super.toString(); 2806 var superString = super.toString();
2737 return "TestInterfaceStub($superString)"; 2807 return "_TestInterfaceStubControl($superString)";
2738 } 2808 }
2739 2809
2740 int get version => 0; 2810 int get version => 0;
2741 2811
2742 static service_describer.ServiceDescription _cachedServiceDescription; 2812 static service_describer.ServiceDescription _cachedServiceDescription;
2743 static service_describer.ServiceDescription get serviceDescription { 2813 static service_describer.ServiceDescription get serviceDescription {
2744 if (_cachedServiceDescription == null) { 2814 if (_cachedServiceDescription == null) {
2745 _cachedServiceDescription = new _TestInterfaceServiceDescription(); 2815 _cachedServiceDescription = new _TestInterfaceServiceDescription();
2746 } 2816 }
2747 return _cachedServiceDescription; 2817 return _cachedServiceDescription;
2748 } 2818 }
2749 } 2819 }
2750 2820
2821 class TestInterfaceStub
2822 extends bindings.Stub<TestInterface>
2823 implements TestInterface {
2824 TestInterfaceStub.fromEndpoint(
2825 core.MojoMessagePipeEndpoint endpoint, [TestInterface impl])
2826 : super(new _TestInterfaceStubControl.fromEndpoint(endpoint, impl));
2827
2828 TestInterfaceStub.fromHandle(
2829 core.MojoHandle handle, [TestInterface impl])
2830 : super(new _TestInterfaceStubControl.fromHandle(handle, impl));
2831
2832 TestInterfaceStub.unbound([TestInterface impl])
2833 : super(new _TestInterfaceStubControl.unbound(impl));
2834
2835 static TestInterfaceStub newFromEndpoint(
2836 core.MojoMessagePipeEndpoint endpoint) {
2837 assert(endpoint.setDescription("For TestInterfaceStub"));
2838 return new TestInterfaceStub.fromEndpoint(endpoint);
2839 }
2840
2841 static service_describer.ServiceDescription get serviceDescription =>
2842 _TestInterfaceStubControl.serviceDescription;
2843
2844
2845 void someMessage() {
2846 return impl.someMessage();
2847 }
2848 }
2849
2751 const int _regression551MethodGetName = 0; 2850 const int _regression551MethodGetName = 0;
2752 2851
2753 class _Regression551ServiceDescription implements service_describer.ServiceDescr iption { 2852 class _Regression551ServiceDescription implements service_describer.ServiceDescr iption {
2754 dynamic getTopLevelInterface([Function responseFactory]) => 2853 dynamic getTopLevelInterface([Function responseFactory]) =>
2755 responseFactory(null); 2854 responseFactory(null);
2756 2855
2757 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => 2856 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
2758 responseFactory(null); 2857 responseFactory(null);
2759 2858
2760 dynamic getAllTypeDefinitions([Function responseFactory]) => 2859 dynamic getAllTypeDefinitions([Function responseFactory]) =>
2761 responseFactory(null); 2860 responseFactory(null);
2762 } 2861 }
2763 2862
2764 abstract class Regression551 { 2863 abstract class Regression551 {
2765 static const String serviceName = null; 2864 static const String serviceName = null;
2766 dynamic get(List<String> keyPrefixes,[Function responseFactory = null]); 2865 dynamic get(List<String> keyPrefixes,[Function responseFactory = null]);
2767 } 2866 }
2768 2867
2769 2868 class _Regression551ProxyControl
2770 class _Regression551ProxyControl extends bindings.ProxyMessageHandler 2869 extends bindings.ProxyMessageHandler
2771 implements bindings.ProxyControl { 2870 implements bindings.ProxyControl {
2772 _Regression551ProxyControl.fromEndpoint( 2871 _Regression551ProxyControl.fromEndpoint(
2773 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 2872 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
2774 2873
2775 _Regression551ProxyControl.fromHandle( 2874 _Regression551ProxyControl.fromHandle(
2776 core.MojoHandle handle) : super.fromHandle(handle); 2875 core.MojoHandle handle) : super.fromHandle(handle);
2777 2876
2778 _Regression551ProxyControl.unbound() : super.unbound(); 2877 _Regression551ProxyControl.unbound() : super.unbound();
2779 2878
2780 service_describer.ServiceDescription get serviceDescription => 2879 service_describer.ServiceDescription get serviceDescription =>
2781 new _Regression551ServiceDescription(); 2880 new _Regression551ServiceDescription();
2782 2881
2783 String get serviceName => Regression551.serviceName; 2882 String get serviceName => Regression551.serviceName;
2784 2883
2785 @override
2786 void handleResponse(bindings.ServiceMessage message) { 2884 void handleResponse(bindings.ServiceMessage message) {
2787 switch (message.header.type) { 2885 switch (message.header.type) {
2788 case _regression551MethodGetName: 2886 case _regression551MethodGetName:
2789 var r = Regression551GetResponseParams.deserialize( 2887 var r = Regression551GetResponseParams.deserialize(
2790 message.payload); 2888 message.payload);
2791 if (!message.header.hasRequestId) { 2889 if (!message.header.hasRequestId) {
2792 proxyError("Expected a message with a valid request Id."); 2890 proxyError("Expected a message with a valid request Id.");
2793 return; 2891 return;
2794 } 2892 }
2795 Completer c = completerMap[message.header.requestId]; 2893 Completer c = completerMap[message.header.requestId];
(...skipping 16 matching lines...) Expand all
2812 } 2910 }
2813 } 2911 }
2814 2912
2815 @override 2913 @override
2816 String toString() { 2914 String toString() {
2817 var superString = super.toString(); 2915 var superString = super.toString();
2818 return "_Regression551ProxyControl($superString)"; 2916 return "_Regression551ProxyControl($superString)";
2819 } 2917 }
2820 } 2918 }
2821 2919
2822 2920 class Regression551Proxy
2823 class Regression551Proxy extends bindings.Proxy 2921 extends bindings.Proxy
2824 implements Regression551 { 2922 implements Regression551 {
2825 Regression551Proxy.fromEndpoint( 2923 Regression551Proxy.fromEndpoint(
2826 core.MojoMessagePipeEndpoint endpoint) 2924 core.MojoMessagePipeEndpoint endpoint)
2827 : super(new _Regression551ProxyControl.fromEndpoint(endpoint)); 2925 : super(new _Regression551ProxyControl.fromEndpoint(endpoint));
2828 2926
2829 Regression551Proxy.fromHandle(core.MojoHandle handle) 2927 Regression551Proxy.fromHandle(core.MojoHandle handle)
2830 : super(new _Regression551ProxyControl.fromHandle(handle)); 2928 : super(new _Regression551ProxyControl.fromHandle(handle));
2831 2929
2832 Regression551Proxy.unbound() 2930 Regression551Proxy.unbound()
2833 : super(new _Regression551ProxyControl.unbound()); 2931 : super(new _Regression551ProxyControl.unbound());
2834 2932
(...skipping 15 matching lines...) Expand all
2850 var params = new _Regression551GetParams(); 2948 var params = new _Regression551GetParams();
2851 params.keyPrefixes = keyPrefixes; 2949 params.keyPrefixes = keyPrefixes;
2852 return ctrl.sendMessageWithRequestId( 2950 return ctrl.sendMessageWithRequestId(
2853 params, 2951 params,
2854 _regression551MethodGetName, 2952 _regression551MethodGetName,
2855 -1, 2953 -1,
2856 bindings.MessageHeader.kMessageExpectsResponse); 2954 bindings.MessageHeader.kMessageExpectsResponse);
2857 } 2955 }
2858 } 2956 }
2859 2957
2860 2958 class _Regression551StubControl
2861 class Regression551Stub extends bindings.Stub { 2959 extends bindings.StubMessageHandler
2960 implements bindings.StubControl<Regression551> {
2862 Regression551 _impl; 2961 Regression551 _impl;
2863 2962
2864 Regression551Stub.fromEndpoint( 2963 _Regression551StubControl.fromEndpoint(
2865 core.MojoMessagePipeEndpoint endpoint, [Regression551 impl]) 2964 core.MojoMessagePipeEndpoint endpoint, [Regression551 impl])
2866 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 2965 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
2867 _impl = impl; 2966 _impl = impl;
2868 } 2967 }
2869 2968
2870 Regression551Stub.fromHandle( 2969 _Regression551StubControl.fromHandle(
2871 core.MojoHandle handle, [Regression551 impl]) 2970 core.MojoHandle handle, [Regression551 impl])
2872 : super.fromHandle(handle, autoBegin: impl != null) { 2971 : super.fromHandle(handle, autoBegin: impl != null) {
2873 _impl = impl; 2972 _impl = impl;
2874 } 2973 }
2875 2974
2876 Regression551Stub.unbound([this._impl]) : super.unbound(); 2975 _Regression551StubControl.unbound([this._impl]) : super.unbound();
2877
2878 static Regression551Stub newFromEndpoint(
2879 core.MojoMessagePipeEndpoint endpoint) {
2880 assert(endpoint.setDescription("For Regression551Stub"));
2881 return new Regression551Stub.fromEndpoint(endpoint);
2882 }
2883 2976
2884 2977
2885 Regression551GetResponseParams _regression551GetResponseParamsFactory(int resu lt) { 2978 Regression551GetResponseParams _regression551GetResponseParamsFactory(int resu lt) {
2886 var result = new Regression551GetResponseParams(); 2979 var result = new Regression551GetResponseParams();
2887 result.result = result; 2980 result.result = result;
2888 return result; 2981 return result;
2889 } 2982 }
2890 2983
2891 dynamic handleMessage(bindings.ServiceMessage message) { 2984 dynamic handleMessage(bindings.ServiceMessage message) {
2892 if (bindings.ControlMessageHandler.isControlMessage(message)) { 2985 if (bindings.ControlMessageHandler.isControlMessage(message)) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
2939 } 3032 }
2940 3033
2941 @override 3034 @override
2942 void bind(core.MojoMessagePipeEndpoint endpoint) { 3035 void bind(core.MojoMessagePipeEndpoint endpoint) {
2943 super.bind(endpoint); 3036 super.bind(endpoint);
2944 if (!isOpen && (_impl != null)) { 3037 if (!isOpen && (_impl != null)) {
2945 beginHandlingEvents(); 3038 beginHandlingEvents();
2946 } 3039 }
2947 } 3040 }
2948 3041
3042 @override
2949 String toString() { 3043 String toString() {
2950 var superString = super.toString(); 3044 var superString = super.toString();
2951 return "Regression551Stub($superString)"; 3045 return "_Regression551StubControl($superString)";
2952 } 3046 }
2953 3047
2954 int get version => 0; 3048 int get version => 0;
2955 3049
2956 static service_describer.ServiceDescription _cachedServiceDescription; 3050 static service_describer.ServiceDescription _cachedServiceDescription;
2957 static service_describer.ServiceDescription get serviceDescription { 3051 static service_describer.ServiceDescription get serviceDescription {
2958 if (_cachedServiceDescription == null) { 3052 if (_cachedServiceDescription == null) {
2959 _cachedServiceDescription = new _Regression551ServiceDescription(); 3053 _cachedServiceDescription = new _Regression551ServiceDescription();
2960 } 3054 }
2961 return _cachedServiceDescription; 3055 return _cachedServiceDescription;
2962 } 3056 }
2963 } 3057 }
2964 3058
3059 class Regression551Stub
3060 extends bindings.Stub<Regression551>
3061 implements Regression551 {
3062 Regression551Stub.fromEndpoint(
3063 core.MojoMessagePipeEndpoint endpoint, [Regression551 impl])
3064 : super(new _Regression551StubControl.fromEndpoint(endpoint, impl));
3065
3066 Regression551Stub.fromHandle(
3067 core.MojoHandle handle, [Regression551 impl])
3068 : super(new _Regression551StubControl.fromHandle(handle, impl));
3069
3070 Regression551Stub.unbound([Regression551 impl])
3071 : super(new _Regression551StubControl.unbound(impl));
3072
3073 static Regression551Stub newFromEndpoint(
3074 core.MojoMessagePipeEndpoint endpoint) {
3075 assert(endpoint.setDescription("For Regression551Stub"));
3076 return new Regression551Stub.fromEndpoint(endpoint);
3077 }
3078
3079 static service_describer.ServiceDescription get serviceDescription =>
3080 _Regression551StubControl.serviceDescription;
3081
3082
3083 dynamic get(List<String> keyPrefixes,[Function responseFactory = null]) {
3084 return impl.get(keyPrefixes,responseFactory);
3085 }
3086 }
3087
2965 const int _serviceNameMethodServiceNameName = 0; 3088 const int _serviceNameMethodServiceNameName = 0;
2966 3089
2967 class _ServiceNameServiceDescription implements service_describer.ServiceDescrip tion { 3090 class _ServiceNameServiceDescription implements service_describer.ServiceDescrip tion {
2968 dynamic getTopLevelInterface([Function responseFactory]) => 3091 dynamic getTopLevelInterface([Function responseFactory]) =>
2969 responseFactory(null); 3092 responseFactory(null);
2970 3093
2971 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => 3094 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
2972 responseFactory(null); 3095 responseFactory(null);
2973 3096
2974 dynamic getAllTypeDefinitions([Function responseFactory]) => 3097 dynamic getAllTypeDefinitions([Function responseFactory]) =>
2975 responseFactory(null); 3098 responseFactory(null);
2976 } 3099 }
2977 3100
2978 abstract class ServiceName { 3101 abstract class ServiceName {
2979 static const String serviceName = null; 3102 static const String serviceName = null;
2980 dynamic serviceName_([Function responseFactory = null]); 3103 dynamic serviceName_([Function responseFactory = null]);
2981 } 3104 }
2982 3105
2983 3106 class _ServiceNameProxyControl
2984 class _ServiceNameProxyControl extends bindings.ProxyMessageHandler 3107 extends bindings.ProxyMessageHandler
2985 implements bindings.ProxyControl { 3108 implements bindings.ProxyControl {
2986 _ServiceNameProxyControl.fromEndpoint( 3109 _ServiceNameProxyControl.fromEndpoint(
2987 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 3110 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
2988 3111
2989 _ServiceNameProxyControl.fromHandle( 3112 _ServiceNameProxyControl.fromHandle(
2990 core.MojoHandle handle) : super.fromHandle(handle); 3113 core.MojoHandle handle) : super.fromHandle(handle);
2991 3114
2992 _ServiceNameProxyControl.unbound() : super.unbound(); 3115 _ServiceNameProxyControl.unbound() : super.unbound();
2993 3116
2994 service_describer.ServiceDescription get serviceDescription => 3117 service_describer.ServiceDescription get serviceDescription =>
2995 new _ServiceNameServiceDescription(); 3118 new _ServiceNameServiceDescription();
2996 3119
2997 String get serviceName => ServiceName.serviceName; 3120 String get serviceName => ServiceName.serviceName;
2998 3121
2999 @override
3000 void handleResponse(bindings.ServiceMessage message) { 3122 void handleResponse(bindings.ServiceMessage message) {
3001 switch (message.header.type) { 3123 switch (message.header.type) {
3002 case _serviceNameMethodServiceNameName: 3124 case _serviceNameMethodServiceNameName:
3003 var r = ServiceNameServiceNameResponseParams.deserialize( 3125 var r = ServiceNameServiceNameResponseParams.deserialize(
3004 message.payload); 3126 message.payload);
3005 if (!message.header.hasRequestId) { 3127 if (!message.header.hasRequestId) {
3006 proxyError("Expected a message with a valid request Id."); 3128 proxyError("Expected a message with a valid request Id.");
3007 return; 3129 return;
3008 } 3130 }
3009 Completer c = completerMap[message.header.requestId]; 3131 Completer c = completerMap[message.header.requestId];
(...skipping 16 matching lines...) Expand all
3026 } 3148 }
3027 } 3149 }
3028 3150
3029 @override 3151 @override
3030 String toString() { 3152 String toString() {
3031 var superString = super.toString(); 3153 var superString = super.toString();
3032 return "_ServiceNameProxyControl($superString)"; 3154 return "_ServiceNameProxyControl($superString)";
3033 } 3155 }
3034 } 3156 }
3035 3157
3036 3158 class ServiceNameProxy
3037 class ServiceNameProxy extends bindings.Proxy 3159 extends bindings.Proxy
3038 implements ServiceName { 3160 implements ServiceName {
3039 ServiceNameProxy.fromEndpoint( 3161 ServiceNameProxy.fromEndpoint(
3040 core.MojoMessagePipeEndpoint endpoint) 3162 core.MojoMessagePipeEndpoint endpoint)
3041 : super(new _ServiceNameProxyControl.fromEndpoint(endpoint)); 3163 : super(new _ServiceNameProxyControl.fromEndpoint(endpoint));
3042 3164
3043 ServiceNameProxy.fromHandle(core.MojoHandle handle) 3165 ServiceNameProxy.fromHandle(core.MojoHandle handle)
3044 : super(new _ServiceNameProxyControl.fromHandle(handle)); 3166 : super(new _ServiceNameProxyControl.fromHandle(handle));
3045 3167
3046 ServiceNameProxy.unbound() 3168 ServiceNameProxy.unbound()
3047 : super(new _ServiceNameProxyControl.unbound()); 3169 : super(new _ServiceNameProxyControl.unbound());
3048 3170
(...skipping 14 matching lines...) Expand all
3063 dynamic serviceName_([Function responseFactory = null]) { 3185 dynamic serviceName_([Function responseFactory = null]) {
3064 var params = new _ServiceNameServiceNameParams(); 3186 var params = new _ServiceNameServiceNameParams();
3065 return ctrl.sendMessageWithRequestId( 3187 return ctrl.sendMessageWithRequestId(
3066 params, 3188 params,
3067 _serviceNameMethodServiceNameName, 3189 _serviceNameMethodServiceNameName,
3068 -1, 3190 -1,
3069 bindings.MessageHeader.kMessageExpectsResponse); 3191 bindings.MessageHeader.kMessageExpectsResponse);
3070 } 3192 }
3071 } 3193 }
3072 3194
3073 3195 class _ServiceNameStubControl
3074 class ServiceNameStub extends bindings.Stub { 3196 extends bindings.StubMessageHandler
3197 implements bindings.StubControl<ServiceName> {
3075 ServiceName _impl; 3198 ServiceName _impl;
3076 3199
3077 ServiceNameStub.fromEndpoint( 3200 _ServiceNameStubControl.fromEndpoint(
3078 core.MojoMessagePipeEndpoint endpoint, [ServiceName impl]) 3201 core.MojoMessagePipeEndpoint endpoint, [ServiceName impl])
3079 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 3202 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
3080 _impl = impl; 3203 _impl = impl;
3081 } 3204 }
3082 3205
3083 ServiceNameStub.fromHandle( 3206 _ServiceNameStubControl.fromHandle(
3084 core.MojoHandle handle, [ServiceName impl]) 3207 core.MojoHandle handle, [ServiceName impl])
3085 : super.fromHandle(handle, autoBegin: impl != null) { 3208 : super.fromHandle(handle, autoBegin: impl != null) {
3086 _impl = impl; 3209 _impl = impl;
3087 } 3210 }
3088 3211
3089 ServiceNameStub.unbound([this._impl]) : super.unbound(); 3212 _ServiceNameStubControl.unbound([this._impl]) : super.unbound();
3090
3091 static ServiceNameStub newFromEndpoint(
3092 core.MojoMessagePipeEndpoint endpoint) {
3093 assert(endpoint.setDescription("For ServiceNameStub"));
3094 return new ServiceNameStub.fromEndpoint(endpoint);
3095 }
3096 3213
3097 3214
3098 ServiceNameServiceNameResponseParams _serviceNameServiceNameResponseParamsFact ory(String serviceName_) { 3215 ServiceNameServiceNameResponseParams _serviceNameServiceNameResponseParamsFact ory(String serviceName_) {
3099 var result = new ServiceNameServiceNameResponseParams(); 3216 var result = new ServiceNameServiceNameResponseParams();
3100 result.serviceName_ = serviceName_; 3217 result.serviceName_ = serviceName_;
3101 return result; 3218 return result;
3102 } 3219 }
3103 3220
3104 dynamic handleMessage(bindings.ServiceMessage message) { 3221 dynamic handleMessage(bindings.ServiceMessage message) {
3105 if (bindings.ControlMessageHandler.isControlMessage(message)) { 3222 if (bindings.ControlMessageHandler.isControlMessage(message)) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
3150 } 3267 }
3151 3268
3152 @override 3269 @override
3153 void bind(core.MojoMessagePipeEndpoint endpoint) { 3270 void bind(core.MojoMessagePipeEndpoint endpoint) {
3154 super.bind(endpoint); 3271 super.bind(endpoint);
3155 if (!isOpen && (_impl != null)) { 3272 if (!isOpen && (_impl != null)) {
3156 beginHandlingEvents(); 3273 beginHandlingEvents();
3157 } 3274 }
3158 } 3275 }
3159 3276
3277 @override
3160 String toString() { 3278 String toString() {
3161 var superString = super.toString(); 3279 var superString = super.toString();
3162 return "ServiceNameStub($superString)"; 3280 return "_ServiceNameStubControl($superString)";
3163 } 3281 }
3164 3282
3165 int get version => 0; 3283 int get version => 0;
3166 3284
3167 static service_describer.ServiceDescription _cachedServiceDescription; 3285 static service_describer.ServiceDescription _cachedServiceDescription;
3168 static service_describer.ServiceDescription get serviceDescription { 3286 static service_describer.ServiceDescription get serviceDescription {
3169 if (_cachedServiceDescription == null) { 3287 if (_cachedServiceDescription == null) {
3170 _cachedServiceDescription = new _ServiceNameServiceDescription(); 3288 _cachedServiceDescription = new _ServiceNameServiceDescription();
3171 } 3289 }
3172 return _cachedServiceDescription; 3290 return _cachedServiceDescription;
3173 } 3291 }
3174 } 3292 }
3175 3293
3294 class ServiceNameStub
3295 extends bindings.Stub<ServiceName>
3296 implements ServiceName {
3297 ServiceNameStub.fromEndpoint(
3298 core.MojoMessagePipeEndpoint endpoint, [ServiceName impl])
3299 : super(new _ServiceNameStubControl.fromEndpoint(endpoint, impl));
3300
3301 ServiceNameStub.fromHandle(
3302 core.MojoHandle handle, [ServiceName impl])
3303 : super(new _ServiceNameStubControl.fromHandle(handle, impl));
3304
3305 ServiceNameStub.unbound([ServiceName impl])
3306 : super(new _ServiceNameStubControl.unbound(impl));
3307
3308 static ServiceNameStub newFromEndpoint(
3309 core.MojoMessagePipeEndpoint endpoint) {
3310 assert(endpoint.setDescription("For ServiceNameStub"));
3311 return new ServiceNameStub.fromEndpoint(endpoint);
3312 }
3313
3314 static service_describer.ServiceDescription get serviceDescription =>
3315 _ServiceNameStubControl.serviceDescription;
3316
3317
3318 dynamic serviceName_([Function responseFactory = null]) {
3319 return impl.serviceName_(responseFactory);
3320 }
3321 }
3322
3176 3323
3177 mojom_types.RuntimeTypeInfo getRuntimeTypeInfo() => _runtimeTypeInfo ?? 3324 mojom_types.RuntimeTypeInfo getRuntimeTypeInfo() => _runtimeTypeInfo ??
3178 _initRuntimeTypeInfo(); 3325 _initRuntimeTypeInfo();
3179 3326
3180 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { 3327 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
3181 return getRuntimeTypeInfo().typeMap; 3328 return getRuntimeTypeInfo().typeMap;
3182 } 3329 }
3183 3330
3184 var _runtimeTypeInfo; 3331 var _runtimeTypeInfo;
3185 mojom_types.RuntimeTypeInfo _initRuntimeTypeInfo() { 3332 mojom_types.RuntimeTypeInfo _initRuntimeTypeInfo() {
3186 // serializedRuntimeTypeInfo contains the bytes of the Mojo serialization of 3333 // serializedRuntimeTypeInfo contains the bytes of the Mojo serialization of
3187 // a mojom_types.RuntimeTypeInfo struct describing the Mojom types in this 3334 // a mojom_types.RuntimeTypeInfo struct describing the Mojom types in this
3188 // file. The string contains the base64 encoding of the gzip-compressed bytes. 3335 // file. The string contains the base64 encoding of the gzip-compressed bytes.
3189 var serializedRuntimeTypeInfo = "H4sIAAAJbogC/+xdzXcbRRLvkR3ifADOLgGHgAmBhSwhk h3HQQn7iGVHjr22ZT1JCeKxb8VEHlvC+tqRzDp74pjjHnPkuMcc+RP2yJEjxxw5ctvt1lRb06XpmR5lN BoZ671+nZG7Rt2/rq7qro/ODLE+01DPQY2/5/UUqnG77Cmr/pGWN2l5Dt//BPWvUF/RrHoN6u+hfg71L 1CTmFVdg/obqJ9C/SPUL6CembDqJagrUP8b6p+gnpqE34e6BfUHtFympfBVNl3aSH911zT2TKPdrj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qekR7yWb dyR0o8vmxd2dF90LBi83gGZLuI1XnJdC3E/4WddXQ4ZpyD2C9wO99SDv4qKdjieH6Z2ezE5urd7wOuP+ +ZhNaLxlWHFnfE45woAhPF5AP8e5b53cgj7Xm4vKsb82ZNl+fA839P99myXe5Q8CPG8LEeQbycjxLcr4 LccN/maRPeXqvLl9xKcuP/R61Z2aXyZ2nXuffhnfufxvF78uT1CuUoc+I/bH8Vb9/3f0x+1c6RsXFK7K mqI5+2vY36OHNZ+N09HvQW5Uk7yYOOYniNt4z5W50iC4p5V/UBrHvYuni/A48YlaQJ9+H1CTvJD3O7Du k7CzUe8gvyEWJ/I8iv8/v9Eqvrk/wEAAP//enl155hrAAA=";
3190 3337
3191 // Deserialize RuntimeTypeInfo 3338 // Deserialize RuntimeTypeInfo
3192 var bytes = BASE64.decode(serializedRuntimeTypeInfo); 3339 var bytes = BASE64.decode(serializedRuntimeTypeInfo);
3193 var unzippedBytes = new ZLibDecoder().convert(bytes); 3340 var unzippedBytes = new ZLibDecoder().convert(bytes);
3194 var bdata = new ByteData.view(unzippedBytes.buffer); 3341 var bdata = new ByteData.view(unzippedBytes.buffer);
3195 var message = new bindings.Message(bdata, null, unzippedBytes.length, 0); 3342 var message = new bindings.Message(bdata, null, unzippedBytes.length, 0);
3196 _runtimeTypeInfo = mojom_types.RuntimeTypeInfo.deserialize(message); 3343 _runtimeTypeInfo = mojom_types.RuntimeTypeInfo.deserialize(message);
3197 return _runtimeTypeInfo; 3344 return _runtimeTypeInfo;
3198 } 3345 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698