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

Issue 2594203002: [mojo] Expose interface method min_versions (Closed)

Created:
4 years ago by Luis Héctor Chávez
Modified:
3 years, 12 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, cbentzel+watch_chromium.org, yusukes+watch_chromium.org, abhishekbh_chromium.org, viettrungluu+watch_chromium.org, hidehiko+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, lhchavez+watch_chromium.org, darin (slow to review), Kevin Cernekee, Sameer Nanda, qsr+mojo_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mojo] Expose interface method min_versions This change adds constants Interface::kMethodNameMinVersion to be able to identify the minimum version the interface must support to be able to call that method. BUG=649782 TEST=git try Committed: https://crrev.com/5b863cf97b57423bddb6b2c3167dd6411b257b33 Cr-Commit-Position: refs/heads/master@{#440560}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Only expose min_version #

Total comments: 3

Patch Set 3 : Removed a k in the enum name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (13 generated)
yzshen1
https://codereview.chromium.org/2594203002/diff/1/components/arc/instance_holder.h File components/arc/instance_holder.h (right): https://codereview.chromium.org/2594203002/diff/1/components/arc/instance_holder.h#newcode69 components/arc/instance_holder.h:69: using Method = mojo::MethodTraits<T, MethodIndex>; I feel that mojo::MethodTraits ...
4 years ago (2016-12-22 18:53:28 UTC) #6
yzshen1
https://codereview.chromium.org/2594203002/diff/1/components/arc/instance_holder.h File components/arc/instance_holder.h (right): https://codereview.chromium.org/2594203002/diff/1/components/arc/instance_holder.h#newcode69 components/arc/instance_holder.h:69: using Method = mojo::MethodTraits<T, MethodIndex>; On 2016/12/22 18:53:28, yzshen1 ...
4 years ago (2016-12-22 19:01:09 UTC) #7
Luis Héctor Chávez
now I'm only exposing the min version. Will actually consume it in the next change ...
4 years ago (2016-12-22 21:47:08 UTC) #11
yzshen1
https://codereview.chromium.org/2594203002/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl File mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl (right): https://codereview.chromium.org/2594203002/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl#newcode33 mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl:33: enum kMethodMinVersions : uint32_t { Does it make sense ...
4 years ago (2016-12-22 21:52:19 UTC) #12
Luis Héctor Chávez
https://codereview.chromium.org/2594203002/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl File mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl (right): https://codereview.chromium.org/2594203002/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl#newcode33 mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl:33: enum kMethodMinVersions : uint32_t { On 2016/12/22 21:52:19, yzshen1 ...
4 years ago (2016-12-22 21:54:04 UTC) #13
yzshen1
LGTM with one nit: https://codereview.chromium.org/2594203002/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl File mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl (right): https://codereview.chromium.org/2594203002/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl#newcode33 mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl:33: enum kMethodMinVersions : uint32_t { ...
4 years ago (2016-12-22 22:19:08 UTC) #14
Luis Héctor Chávez
On 2016/12/22 22:19:08, yzshen1 wrote: > LGTM with one nit: > > https://codereview.chromium.org/2594203002/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl > File ...
4 years ago (2016-12-22 22:23:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594203002/40001
4 years ago (2016-12-22 22:23:29 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 12 months ago (2016-12-23 00:36:38 UTC) #21
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 00:39:29 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5b863cf97b57423bddb6b2c3167dd6411b257b33
Cr-Commit-Position: refs/heads/master@{#440560}

Powered by Google App Engine
This is Rietveld 408576698