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

Unified 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 side-by-side diff with in-line comments
Download patch
« lib/file_generator.dart ('K') | « test/protos/map_api.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/protos/map_api2.proto
diff --git a/test/protos/map_api2.proto b/test/protos/map_api2.proto
index b4ae96c57f40311878b2e5a0249286d3d6c6d6c7..509904ddccaf632868ac96d634ab928a5221fb72 100644
--- a/test/protos/map_api2.proto
+++ b/test/protos/map_api2.proto
@@ -4,7 +4,7 @@ package protobuf_unittest;
import "dart_options.proto";
-option (dart_options.implement_map_by_default) = true;
+option (dart_options.default_mixin) = "PbMapMixin";
message Rec2 {
optional int32 num = 1;
@@ -13,5 +13,5 @@ message Rec2 {
}
message NonMap2 {
- option (dart_options.implement_map) = false;
+ option (dart_options.mixin) = "";
}
« 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