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

Side by Side Diff: test/protos/map_api2.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
« lib/file_generator.dart ('K') | « test/protos/map_api.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 option (dart_options.implement_map_by_default) = true; 7 option (dart_options.default_mixin) = "PbMapMixin";
8 8
9 message Rec2 { 9 message Rec2 {
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 } 13 }
14 14
15 message NonMap2 { 15 message NonMap2 {
16 option (dart_options.implement_map) = false; 16 option (dart_options.mixin) = "";
17 } 17 }
OLDNEW
« lib/file_generator.dart ('K') | « test/protos/map_api.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698