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

Issue 1916863003: Delete the |complete_type_set| field from mojom_types.mojom (Closed)

Created:
4 years, 7 months ago by rudominer
Modified:
4 years, 7 months ago
Reviewers:
azani
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Delete the |complete_type_set| field from mojom_types.mojom The |complete_type_set| field was deprecated and not being populated. We also delete the code used to populate this field: The functions FindReachableTypes() in user_defined_types.go and ReferencedUserDefinedTypes() from the TypeRef interface in types.go. We also delete the struct ServiceTypeInfo since it would now contain only a single string field and we replace map<string, ServiceTypeInfo> services_by_name with map<string, string> services, moving the string field from ServiceTypeInfo directly into the value of the map. This work is in preparation for adding new code to analyze the type graph for the purpose of finding cycles. The code we are deleting also analyzed the type graph but in a different way. Since the older way of analyzing the type graph is now obsolete, it will reduce confusion to remove it before adding a newer way to analyze the type graph. bug=#694 R=azani@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/fe410c603bb479878b793b49140032045219e1e4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -859 lines) Patch
M mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import2.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/math/math_calculator.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/examples/echo.mojom.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/serialization_test_structs.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_enums.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_included_unions.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/validation_test_interfaces.mojom.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/versioning/versioning_test_client.mojom.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_interfaces.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_service.mojom.dart View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/pingpong_service.mojom.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_types.mojom.dart View 6 chunks +12 lines, -114 lines 0 comments Download
M mojo/public/interfaces/bindings/mojom_types.mojom View 2 chunks +13 lines, -35 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/go_templates/interface.tmpl View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/mojom_tool/bin/linux64/mojom.sha1 View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1 View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/generated/mojom_types_mojom.py View 1 chunk +1 line, -10 lines 0 comments Download
M mojom/mojom_tool/generated/mojom_types/mojom_types.mojom.go View 7 chunks +14 lines, -124 lines 0 comments Download
M mojom/mojom_tool/integration_tests/resolution_test.go View 1 chunk +0 lines, -310 lines 0 comments Download
M mojom/mojom_tool/mojom/types.go View 7 chunks +0 lines, -52 lines 0 comments Download
M mojom/mojom_tool/mojom/user_defined_types.go View 2 chunks +0 lines, -114 lines 0 comments Download
M mojom/mojom_tool/serialization/serialization.go View 7 chunks +10 lines, -23 lines 0 comments Download
M mojom/mojom_tool/serialization/serialization_test.go View 10 chunks +15 lines, -48 lines 0 comments Download

Messages

Total messages: 9 (6 generated)
rudominer
Hi Alex, ptal.
4 years, 7 months ago (2016-04-25 23:30:28 UTC) #6
azani
lgtm
4 years, 7 months ago (2016-04-26 00:13:05 UTC) #7
rudominer
4 years, 7 months ago (2016-04-26 00:18:11 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:20001) manually as
fe410c603bb479878b793b49140032045219e1e4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698