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

Side by Side Diff: tests/service_tests/multiple_services/dart/service_one.dart

Issue 1413863004: Rename the _fletch_system and service and dart: libraries (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Fixes after self-review Created 5 years, 1 month 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 (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 // Generated file. Do not edit. 5 // Generated file. Do not edit.
6 6
7 library service_one; 7 library service_one;
8 8
9 import "dart:fletch"; 9 import "dart:fletch";
10 import "dart:fletch.ffi"; 10 import "dart:fletch.ffi";
11 import "dart:service" as service; 11 import "dart:fletch.service" as service;
12 12
13 final Channel _channel = new Channel(); 13 final Channel _channel = new Channel();
14 final Port _port = new Port(_channel); 14 final Port _port = new Port(_channel);
15 final ForeignFunction _postResult = ForeignLibrary.main.lookup("PostResultToServ ice"); 15 final ForeignFunction _postResult = ForeignLibrary.main.lookup("PostResultToServ ice");
16 16
17 bool _terminated = false; 17 bool _terminated = false;
18 ServiceOne _impl; 18 ServiceOne _impl;
19 19
20 abstract class ServiceOne { 20 abstract class ServiceOne {
21 int echo(int arg); 21 int echo(int arg);
(...skipping 24 matching lines...) Expand all
46 _postResult.vcall$1(request); 46 _postResult.vcall$1(request);
47 break; 47 break;
48 default: 48 default:
49 throw new UnsupportedError("Unknown method"); 49 throw new UnsupportedError("Unknown method");
50 } 50 }
51 } 51 }
52 52
53 static const int _TERMINATE_METHOD_ID = 0; 53 static const int _TERMINATE_METHOD_ID = 0;
54 static const int _ECHO_METHOD_ID = 1; 54 static const int _ECHO_METHOD_ID = 1;
55 } 55 }
OLDNEW
« no previous file with comments | « samples/todomvc/dart/todomvc_service.dart ('k') | tests/service_tests/multiple_services/dart/service_two.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698