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

Unified Diff: mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart

Issue 1776243004: Mojom runtime type info: Use compression and base64 encoding. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebasing Created 4 years, 9 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
Index: mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart
diff --git a/mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart b/mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart
index e2e6e42676ab83a826b5b5daffca8c1f7fee940e..76cc63258f03f4825b15033811b9212984024ce8 100644
--- a/mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart
+++ b/mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart
@@ -5,6 +5,8 @@
library echo_service_mojom;
import 'dart:async';
import 'dart:collection';
+import 'dart:convert';
+import 'dart:io';
import 'dart:typed_data';
import 'package:mojo/bindings.dart' as bindings;
import 'package:mojo/core.dart' as core;
@@ -691,16 +693,14 @@ var _runtimeTypeInfo;
mojom_types.RuntimeTypeInfo _initRuntimeTypeInfo() {
// serializedRuntimeTypeInfo contains the bytes of the Mojo serialization of
// a mojom_types.RuntimeTypeInfo struct describing the Mojom types in this
- // file.
- var serializedRuntimeTypeInfo = new Uint8List.fromList(const [24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,216,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,25,0,0,0,17,0,0,0,116,101,115,116,58,58,69,99,104,111,83,101,114,118,105,99,101,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,33,0,0,0,25,0,0,0,84,89,80,69,95,75,69,89,58,116,101,115,116,46,69,99,104,111,83,101,114,118,105,99,101,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,33,0,0,0,25,0,0,0,84,89,80,69,95,75,69,89,58,116,101,115,116,46,69,99,104,111,83,101,114,118,105,99,101,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,33,0,0,0,25,0,0,0,84,89,80,69,95,75,69,89,58,116,101,115,116,46,69,99,104,111,83,101,114,118,105,99,101,0,0,0,0,0,0,0,24,0,0,0,1,0,0,0,16,0,0,0,3,0,0,0,8,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,104,1,0,0,0,0,0,0,128,1,0,0,0,0,0,0,72,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,152,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,176,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,7,0,0,0,32,0,0,0,0,0,0,0,19,0,0,0,11,0,0,0,83,101,114,118,105,99,101,78,97,109,101,0,0,0,0,0,25,0,0,0,17,0,0,0,116,101,115,116,58,58,69,99,104,111,83,101,114,118,105,99,101,0,0,0,0,0,0,0,19,0,0,0,11,0,0,0,69,99,104,111,83,101,114,118,105,99,101,0,0,0,0,0,24,0,0,0,16,0,0,0,116,101,115,116,46,69,99,104,111,83,101,114,118,105,99,101,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,8,0,0,0,10,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,25,0,0,0,17,0,0,0,116,101,115,116,58,58,69,99,104,111,83,101,114,118,105,99,101,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,20,0,0,0,3,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,32,0,0,0,3,0,0,0,24,0,0,0,0,0,0,0,96,5,0,0,0,0,0,0,208,11,0,0,0,0,0,0,40,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,240,0,0,0,0,0,0,0,16,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,10,0,0,0,69,99,104,111,83,116,114,105,110,103,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,9,0,0,0,2,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,
-100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,32,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,18,0,0,0,69,99,104,111,83,116,114,105,110,103,45,114,101,113,117,101,115,116,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,5,0,0,0,118,97,108,117,101,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,9,0,0,0,21,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,16,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,0,0,0,19,0,0,0,69,99,104,111,83,116,114,105,110,103,45,114,101,115,112,111,110,115,101,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-255,255,255,255,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,5,0,0,0,118,97,108,117,101,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,9,0,0,0,40,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,16,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,40,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,248,0,0,0,0,0,0,0,48,4,0,0,0,0,0,0,1,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,17,0,0,0,68,101,108,97,121,101,100,69,99,104,111,83,116,114,105,110,103,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,10,0,0,0,2,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,32,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33,0,0,0,25,0,0,0,68,101,108,97,121,101,100,69,99,104,111,83,116,114,105,110,103,45,114,101,113,117,101,115,116,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,24,0,0,0,2,0,0,0,16,0,0,0,0,0,0,0,32,1,0,0,0,0,0,0,56,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,5,0,0,0,118,97,108,117,101,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,10,0,0,0,28,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,
-16,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,6,0,0,0,109,105,108,108,105,115,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,10,0,0,0,41,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,32,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,0,0,0,26,0,0,0,68,101,108,97,121,101,100,69,99,104,111,83,116,114,105,110,103,45,114,101,115,112,111,110,115,101,0,0,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,16,0,0,0,1,0,0,0,8,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,5,0,0,0,118,97,108,117,101,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,10,0,0,0,61,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,16,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,40,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,4,0,0,0,81,117,105,116,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,11,0,0,0,2,0,0,0,91,0,0,0,83,0,0,0,
-47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,32,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0,0,0,12,0,0,0,81,117,105,116,45,114,101,113,117,101,115,116,0,0,0,0,24,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,0,0,0,83,0,0,0,47,104,111,109,101,47,114,117,100,111,109,105,110,101,114,47,109,111,106,111,47,115,114,99,47,109,111,106,111,47,100,97,114,116,47,97,112,112,116,101,115,116,115,47,116,101,115,116,95,97,112,112,115,47,105,110,116,101,114,102,97,99,101,115,47,101,99,104,111,95,115,101,114,118,105,99,101,46,109,111,106,111,109,0,0,0,0,0,8,0,0,0,0,0,0,0]);
+ // file. The string contains the base64 encoding of the gzip-compressed bytes.
+ var serializedRuntimeTypeInfo = "H4sIAAAJbogC/5JggAABKH0DSqOLWyDxGYGYA8qXBGJBIC5JLS6xsnJNzsgPTi0qy0xOxaEe3VwDKK0INSskMsA13ts10gpkoB5h84jVh26vAxXMY4TqZ0bSr4BmXwYjhG6A0h5o9oPAfyCYAWWvQBID0RsYsAN0dytg8Sc7krgwEHMDMdQXfom5qUTFH0wfuowE1A704EEPZ5D7uIA4GmQ3EOtn5Oem6heVpuTnZualFunn5mfl6xcXJUMYKYlFJfqJBQUgU4v1QWQ8kFesn5lXklqUlpicWqyfCrQrvhhimR5IUy5R/kB3FyxcRKDxxwANTyYkeWYkfQmsEPoCN4TWQDPnA8x8ZtR48sASd6C4NcAihpwf0IEQNBzBPispysxLx+4vTqgfaB3e6OntAwNl/rbA4W8pqN8R/tYtSi0sBboUu/9hgNb+R89/FmjlGUz+AwN+QGw4wYAGDnFeIAYl0bLEnNJUHOlClE7hAstL9Ewn0tCyCiWdFBfk5xWnjqYTEtOJxgCkE/Ty9AcsnFhQ1VErvcDqC5fUnMTK1BT0YhUjXLgGqFz9QWF+ccDhf1g7B8P/qMXrgOUbCWh4w+trxqGRf0DpRGYA8g+2cGGAupUa4cJIIFz4gJgNiHMzc3Iyi7GHi+Ywyj9K0LYJtvyDVO2M1jsk5BvbQVDvvEBzNxOZ6QZXOPAAMahKCyzNLMGWPrgHqJ55wUCbfosI1M8g/yJXLQOVL2D5ARAAAP//0AoFQPgQAAA=";
// Deserialize RuntimeTypeInfo
- var bdata = new ByteData.view(serializedRuntimeTypeInfo.buffer);
- var message = new bindings.Message(bdata, null, serializedRuntimeTypeInfo.length, 0);
+ var bytes = BASE64.decode(serializedRuntimeTypeInfo);
+ var unzippedBytes = new ZLibDecoder().convert(bytes);
+ var bdata = new ByteData.view(unzippedBytes.buffer);
+ var message = new bindings.Message(bdata, null, unzippedBytes.length, 0);
_runtimeTypeInfo = mojom_types.RuntimeTypeInfo.deserialize(message);
return _runtimeTypeInfo;
}

Powered by Google App Engine
This is Rietveld 408576698