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

Issue 1933563002: Mojom frontend: Start populating |resolved_concrete_value| field in mojom_types.mojom (Closed)

Created:
4 years, 7 months ago by rudominer
Modified:
4 years, 7 months ago
Reviewers:
vardhan, 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

Mojom frontend: Start populating |resolved_concrete_value| field in mojom_types.mojom In struct DeclaredConstant in mojom_types.mojom there is a field |resolved_concrete_value| that has been commented out and thus (obviously) not populated. The corresponding value has always been computed in the frontend Go code but we were not populating it in the intermediate representation because we were not aware of any reason to do so. But now Vardhan will be able to use this in the new C generator. (Also I think some of the existing generators such as Dart will be able to stop computing this value themselves). - I also added some additional tests of the existing computation of this value. - I also fixed the name of an unrelated enum value in user_defined_types.go that I happened to notice was misnamed. R=azani@chromium.org, vardhan@google.com Committed: https://chromium.googlesource.com/external/mojo/+/f38d5d7e77ceb6b015d87d2d42bc4606090803df

Patch Set 1 #

Total comments: 2

Patch Set 2 : Grammar fix. #

Messages

Total messages: 9 (4 generated)
rudominer
Vardhan, Alex, ptal.
4 years, 7 months ago (2016-04-29 01:11:13 UTC) #4
vardhan
lgtm w/ a nit. thanks! https://codereview.chromium.org/1933563002/diff/1/mojo/public/interfaces/bindings/mojom_types.mojom File mojo/public/interfaces/bindings/mojom_types.mojom (right): https://codereview.chromium.org/1933563002/diff/1/mojo/public/interfaces/bindings/mojom_types.mojom#newcode393 mojo/public/interfaces/bindings/mojom_types.mojom:393: // concrete value is ...
4 years, 7 months ago (2016-04-29 02:30:35 UTC) #5
rudominer
Thanks Vardhan. Alex would you like me to wait for you to look also? https://codereview.chromium.org/1933563002/diff/1/mojo/public/interfaces/bindings/mojom_types.mojom ...
4 years, 7 months ago (2016-04-29 18:08:30 UTC) #6
azani
lgtm
4 years, 7 months ago (2016-04-29 18:34:45 UTC) #7
rudominer
4 years, 7 months ago (2016-04-29 18:51:38 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
f38d5d7e77ceb6b015d87d2d42bc4606090803df (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698