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

Side by Side Diff: samples/todomvc/todomvc_service.idl

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 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 | « samples/todomvc/todomvc_impl.dart ('k') | samples/todomvc/todomvc_service_tests.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
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.
4
5 service TodoMVCService {
6 void createItem(BoxedString* title);
7 void clearItems();
8
9 // Event dispatching.
10 void dispatch(uint16 id);
11
12 // Synchronization should be considered internal.
13 PatchSet* sync();
14 void reset();
15 }
16
17 // Primary structures.
18
19 struct Node {
20 union {
21 void nil;
22 int32 num;
23 bool truth;
24 String str;
25 Cons cons;
26 }
27 }
28
29 struct Cons {
30 Node* fst;
31 Node* snd;
32
33 uint16 deleteEvent;
34 uint16 completeEvent;
35 uint16 uncompleteEvent;
36 }
37
38 // Utility structures.
39
40 struct Patch {
41 List<uint8> path;
42 Node content;
43 }
44
45 struct PatchSet {
46 List<Patch> patches;
47 }
48
49 struct BoxedString {
50 String str;
51 }
OLDNEW
« no previous file with comments | « samples/todomvc/todomvc_impl.dart ('k') | samples/todomvc/todomvc_service_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698