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

Side by Side Diff: samples/buildbot/dart/buildbot_service.dart

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: address comments Created 5 years, 5 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
« no previous file with comments | « pkg/service/lib/struct.dart ('k') | samples/myapi/generated/cc/myapi_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 buildbot_service; 7 library buildbot_service;
8 8
9 import "dart:ffi"; 9 import "dart:ffi";
10 import "dart:service" as service; 10 import "dart:service" as service;
11 import "package:service/struct.dart"; 11 import "package:service/struct.dart";
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 Foreign _postResult = Foreign.lookup("PostResultToService"); 15 final ForeignFunction _postResult =
16 ForeignFunction.standard.lookup("PostResultToService");
16 17
17 bool _terminated = false; 18 bool _terminated = false;
18 BuildBotService _impl; 19 BuildBotService _impl;
19 20
20 abstract class BuildBotService { 21 abstract class BuildBotService {
21 void refresh(BuildBotPatchDataBuilder result); 22 void refresh(BuildBotPatchDataBuilder result);
22 void setConsoleCount(int count); 23 void setConsoleCount(int count);
23 void setConsoleMinimumIndex(int index); 24 void setConsoleMinimumIndex(int index);
24 void setConsoleMaximumIndex(int index); 25 void setConsoleMaximumIndex(int index);
25 26
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 CommitListUpdatePatchDataBuilder operator[](int index) => readListElement(new CommitListUpdatePatchDataBuilder(), index, 16); 391 CommitListUpdatePatchDataBuilder operator[](int index) => readListElement(new CommitListUpdatePatchDataBuilder(), index, 16);
391 } 392 }
392 393
393 class _CommitPatchDataList extends ListReader implements List<CommitPatchData> { 394 class _CommitPatchDataList extends ListReader implements List<CommitPatchData> {
394 CommitPatchData operator[](int index) => readListElement(new CommitPatchData() , index, 24); 395 CommitPatchData operator[](int index) => readListElement(new CommitPatchData() , index, 24);
395 } 396 }
396 397
397 class _CommitPatchDataBuilderList extends ListBuilder implements List<CommitPatc hDataBuilder> { 398 class _CommitPatchDataBuilderList extends ListBuilder implements List<CommitPatc hDataBuilder> {
398 CommitPatchDataBuilder operator[](int index) => readListElement(new CommitPatc hDataBuilder(), index, 24); 399 CommitPatchDataBuilder operator[](int index) => readListElement(new CommitPatc hDataBuilder(), index, 24);
399 } 400 }
OLDNEW
« no previous file with comments | « pkg/service/lib/struct.dart ('k') | samples/myapi/generated/cc/myapi_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698