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

Side by Side Diff: test/protos/map_api.proto

Issue 1192943003: changes for 0.3.9 (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: made mixins more general Created 5 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
OLDNEW
1 syntax = "proto2"; 1 syntax = "proto2";
2 2
3 package protobuf_unittest; 3 package protobuf_unittest;
4 4
5 import "dart_options.proto"; 5 import "dart_options.proto";
6 6
7 message Rec { 7 message Rec {
8 option (dart_options.implement_map) = true; 8 option (dart_options.mixin) = "PbMapMixin";
9 9
10 optional int32 num = 1; 10 optional int32 num = 1;
11 repeated int32 nums = 2; 11 repeated int32 nums = 2;
12 optional string str = 3; 12 optional string str = 3;
13 optional NonMap msg = 4; 13 optional NonMap msg = 4;
14 } 14 }
15 15
16 message NonMap { 16 message NonMap {
17 optional string str = 1; 17 optional string str = 1;
18 optional NonMap child = 2; 18 optional NonMap child = 2;
19 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698