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

Issue 642263004: [DevTools] Make generated protocol structs wrappers around DictionaryValue (Closed)

Created:
6 years, 2 months ago by vkuzkokov
Modified:
6 years, 1 month ago
Reviewers:
dgozman
CC:
chromium-reviews, vsevik, jam, yurys, paulirish+reviews_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Make generated protocol structs wrappers around DictionaryValue Protocol structs are now refcounted. BUG=405566 Committed: https://crrev.com/dee94267fef83aed3d5abd51e397e2bcb255780c Cr-Commit-Position: refs/heads/master@{#303479}

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Type builders #

Patch Set 7 : Rebased #

Patch Set 8 : Applied to tracing #

Total comments: 8

Patch Set 9 : Rebased #

Patch Set 10 : Removed enclosing struct #

Patch Set 11 : #

Patch Set 12 : Fixed indentation in generated code #

Total comments: 8

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : Fix that will be needed for browser protocol #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -366 lines) Patch
M content/browser/devtools/protocol/devtools_protocol_client.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_client.cc View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_handler_generator.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 23 chunks +134 lines, -175 lines 0 comments Download
M content/browser/devtools/protocol/page_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/devtools/protocol/page_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +54 lines, -69 lines 0 comments Download
M content/browser/devtools/protocol/power_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -10 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -11 lines 0 comments Download
M content/browser/devtools/protocol/usage_and_quota_query.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +17 lines, -9 lines 0 comments Download
M content/browser/devtools/protocol/usage_and_quota_query.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +42 lines, -86 lines 0 comments Download

Messages

Total messages: 29 (8 generated)
vkuzkokov
6 years, 2 months ago (2014-10-16 14:30:10 UTC) #2
dgozman
https://codereview.chromium.org/642263004/diff/1/content/browser/devtools/protocol/devtools_protocol_handler_generator.py File content/browser/devtools/protocol/devtools_protocol_handler_generator.py (right): https://codereview.chromium.org/642263004/diff/1/content/browser/devtools/protocol/devtools_protocol_handler_generator.py#newcode45 content/browser/devtools/protocol/devtools_protocol_handler_generator.py:45: template<class T> class ListBuilder : public ListBuilderBase { nit: ...
6 years, 2 months ago (2014-10-17 10:51:57 UTC) #3
vkuzkokov
https://codereview.chromium.org/642263004/diff/1/content/browser/devtools/protocol/devtools_protocol_handler_generator.py File content/browser/devtools/protocol/devtools_protocol_handler_generator.py (right): https://codereview.chromium.org/642263004/diff/1/content/browser/devtools/protocol/devtools_protocol_handler_generator.py#newcode45 content/browser/devtools/protocol/devtools_protocol_handler_generator.py:45: template<class T> class ListBuilder : public ListBuilderBase { On ...
6 years, 2 months ago (2014-10-17 11:41:26 UTC) #4
vkuzkokov
That's what it looks like with movables.
6 years, 2 months ago (2014-10-22 14:33:51 UTC) #5
vkuzkokov
Applied to tracing
6 years, 2 months ago (2014-10-23 16:45:21 UTC) #6
dgozman
Looks good from a devtools side. Let's get a review from C++11 expert? https://codereview.chromium.org/642263004/diff/130001/content/browser/devtools/protocol/devtools_protocol_handler_generator.py File ...
6 years, 1 month ago (2014-10-29 13:27:45 UTC) #7
vkuzkokov
https://codereview.chromium.org/642263004/diff/130001/content/browser/devtools/protocol/devtools_protocol_handler_generator.py File content/browser/devtools/protocol/devtools_protocol_handler_generator.py (right): https://codereview.chromium.org/642263004/diff/130001/content/browser/devtools/protocol/devtools_protocol_handler_generator.py#newcode558 content/browser/devtools/protocol/devtools_protocol_handler_generator.py:558: all_fields = " | ".join(enum_items) On 2014/10/29 13:27:45, dgozman ...
6 years, 1 month ago (2014-10-29 17:42:03 UTC) #8
vkuzkokov
6 years, 1 month ago (2014-11-05 14:57:36 UTC) #9
vkuzkokov
Added CL with generated code: https://codereview.chromium.org/683733010/
6 years, 1 month ago (2014-11-05 15:01:23 UTC) #10
dgozman
lgtm https://codereview.chromium.org/642263004/diff/210001/content/browser/devtools/protocol/devtools_protocol_handler_generator.py File content/browser/devtools/protocol/devtools_protocol_handler_generator.py (right): https://codereview.chromium.org/642263004/diff/210001/content/browser/devtools/protocol/devtools_protocol_handler_generator.py#newcode37 content/browser/devtools/protocol/devtools_protocol_handler_generator.py:37: class ListBuilderBase { Let's put ListBuilder in content::devtools. ...
6 years, 1 month ago (2014-11-06 14:20:42 UTC) #11
dgozman
Nico, Could you please take a look at RValue References and Move Semantics usage in ...
6 years, 1 month ago (2014-11-06 14:22:35 UTC) #14
vkuzkokov
https://codereview.chromium.org/642263004/diff/210001/content/browser/devtools/protocol/devtools_protocol_handler_generator.py File content/browser/devtools/protocol/devtools_protocol_handler_generator.py (right): https://codereview.chromium.org/642263004/diff/210001/content/browser/devtools/protocol/devtools_protocol_handler_generator.py#newcode37 content/browser/devtools/protocol/devtools_protocol_handler_generator.py:37: class ListBuilderBase { On 2014/11/06 14:20:42, dgozman wrote: > ...
6 years, 1 month ago (2014-11-06 16:30:12 UTC) #16
Nico
On 2014/11/06 14:22:35, dgozman wrote: > Nico, > > Could you please take a look ...
6 years, 1 month ago (2014-11-06 17:41:48 UTC) #17
vkuzkokov
On 2014/11/06 17:41:48, Nico wrote: > On 2014/11/06 14:22:35, dgozman wrote: > > Nico, > ...
6 years, 1 month ago (2014-11-07 11:32:27 UTC) #18
Nico
I don't understand why you need this.
6 years, 1 month ago (2014-11-07 17:55:54 UTC) #19
vkuzkokov
On 2014/11/07 17:55:54, Nico wrote: > I don't understand why you need this. Movable semantics ...
6 years, 1 month ago (2014-11-07 18:33:40 UTC) #20
Nico
On Fri, Nov 7, 2014 at 10:33 AM, <vkuzkokov@chromium.org> wrote: > On 2014/11/07 17:55:54, Nico ...
6 years, 1 month ago (2014-11-07 23:50:48 UTC) #21
dgozman
Alright, ref-counted version seems fine. lgtm
6 years, 1 month ago (2014-11-10 14:04:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/642263004/330001
6 years, 1 month ago (2014-11-10 15:34:34 UTC) #27
commit-bot: I haz the power
Committed patchset #16 (id:330001)
6 years, 1 month ago (2014-11-10 16:27:47 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-11-10 17:12:58 UTC) #29
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/dee94267fef83aed3d5abd51e397e2bcb255780c
Cr-Commit-Position: refs/heads/master@{#303479}

Powered by Google App Engine
This is Rietveld 408576698