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

Issue 381653002: Non-template base classes for TracedArray and TracedDictionary. (Closed)

Created:
6 years, 5 months ago by zerny-chromium
Modified:
6 years, 5 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Non-template base classes for TracedArray and TracedDictionary. These base classes allow modular programming where the owner context is not known. R=yurys@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177945

Patch Set 1 #

Total comments: 2

Patch Set 2 : templated return types for begin methods #

Total comments: 2

Patch Set 3 : Removed end methods on base classes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -45 lines) Patch
M Source/platform/TracedValue.h View 1 2 3 chunks +130 lines, -45 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
zerny-chromium
6 years, 5 months ago (2014-07-09 14:14:16 UTC) #1
zerny-chromium
+pfeldman: since you did the owners review in https://codereview.chromium.org/356013002
6 years, 5 months ago (2014-07-09 14:16:08 UTC) #2
yurys
This way we will lose type-safety. I don't thing this builders should be used by ...
6 years, 5 months ago (2014-07-09 15:22:03 UTC) #3
zerny-chromium
On 2014/07/09 15:22:03, yurys wrote: > This way we will lose type-safety. I don't thing ...
6 years, 5 months ago (2014-07-10 06:50:48 UTC) #4
pfeldman
I wonder if trace events are a good fit for serializing the heap graphs. +nduca ...
6 years, 5 months ago (2014-07-10 07:17:48 UTC) #5
yurys
On 2014/07/10 06:50:48, zerny-chromium wrote: > On 2014/07/09 15:22:03, yurys wrote: > > This way ...
6 years, 5 months ago (2014-07-10 08:22:19 UTC) #6
zerny-chromium
> > It is also not always possible to template such a method since it ...
6 years, 5 months ago (2014-07-10 12:48:31 UTC) #7
zerny-chromium
On 2014/07/10 07:17:48, pfeldman wrote: > I wonder if trace events are a good fit ...
6 years, 5 months ago (2014-07-10 12:50:50 UTC) #8
yurys
6 years, 5 months ago (2014-07-10 12:58:44 UTC) #9
pfeldman
> This is for profiling purposes (and the snapshot infrastructure is used for > similar ...
6 years, 5 months ago (2014-07-10 14:05:05 UTC) #10
zerny-chromium
On 2014/07/10 14:05:05, pfeldman wrote: > > This is for profiling purposes (and the snapshot ...
6 years, 5 months ago (2014-07-10 14:12:47 UTC) #11
alph
https://codereview.chromium.org/381653002/diff/1/Source/platform/TracedValue.h File Source/platform/TracedValue.h (right): https://codereview.chromium.org/381653002/diff/1/Source/platform/TracedValue.h#newcode143 Source/platform/TracedValue.h:143: TracedDictionaryBase& beginDictionary() You could return TracedDictionary<TracedArrayBase> at his point ...
6 years, 5 months ago (2014-07-10 14:45:23 UTC) #12
zerny-chromium
On 2014/07/10 14:45:23, alph wrote: > https://codereview.chromium.org/381653002/diff/1/Source/platform/TracedValue.h > File Source/platform/TracedValue.h (right): > > https://codereview.chromium.org/381653002/diff/1/Source/platform/TracedValue.h#newcode143 > ...
6 years, 5 months ago (2014-07-10 15:04:06 UTC) #13
yurys
https://codereview.chromium.org/381653002/diff/1/Source/platform/TracedValue.h File Source/platform/TracedValue.h (right): https://codereview.chromium.org/381653002/diff/1/Source/platform/TracedValue.h#newcode143 Source/platform/TracedValue.h:143: TracedDictionaryBase& beginDictionary() On 2014/07/10 14:45:22, alph wrote: > You ...
6 years, 5 months ago (2014-07-10 15:14:07 UTC) #14
dsinclair
On 2014/07/10 07:17:48, pfeldman wrote: > I wonder if trace events are a good fit ...
6 years, 5 months ago (2014-07-10 15:32:04 UTC) #15
dsinclair
On 2014/07/10 12:48:31, zerny-chromium wrote: > I'm not sure if it makes sense to keep ...
6 years, 5 months ago (2014-07-10 15:36:08 UTC) #16
zerny-chromium
Latest patch set now returns templated types for the begin{Array,Dictionary} methods. This change comes at ...
6 years, 5 months ago (2014-07-11 07:20:30 UTC) #17
yurys
LGTM On 2014/07/11 07:20:30, zerny-chromium wrote: > Latest patch set now returns templated types for ...
6 years, 5 months ago (2014-07-11 08:00:21 UTC) #18
pfeldman
lgtm
6 years, 5 months ago (2014-07-11 12:10:43 UTC) #19
zerny-chromium
Thanks for the feedback guys! I'll be reaching out to you when back from vacation ...
6 years, 5 months ago (2014-07-11 12:19:53 UTC) #20
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 5 months ago (2014-07-11 12:19:57 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/381653002/20001
6 years, 5 months ago (2014-07-11 12:21:00 UTC) #22
yurys
https://codereview.chromium.org/381653002/diff/20001/Source/platform/TracedValue.h File Source/platform/TracedValue.h (right): https://codereview.chromium.org/381653002/diff/20001/Source/platform/TracedValue.h#newcode54 Source/platform/TracedValue.h:54: void endDictionary() It seems that this method can be ...
6 years, 5 months ago (2014-07-11 12:21:50 UTC) #23
zerny-chromium
The CQ bit was unchecked by zerny@chromium.org
6 years, 5 months ago (2014-07-11 12:36:59 UTC) #24
zerny-chromium
https://codereview.chromium.org/381653002/diff/20001/Source/platform/TracedValue.h File Source/platform/TracedValue.h (right): https://codereview.chromium.org/381653002/diff/20001/Source/platform/TracedValue.h#newcode54 Source/platform/TracedValue.h:54: void endDictionary() On 2014/07/11 12:21:50, yurys wrote: > It ...
6 years, 5 months ago (2014-07-11 12:37:18 UTC) #25
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 5 months ago (2014-07-11 12:57:17 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/381653002/40001
6 years, 5 months ago (2014-07-11 12:57:42 UTC) #27
zerny-chromium
On 2014/07/11 12:37:18, zerny-chromium wrote: > https://codereview.chromium.org/381653002/diff/20001/Source/platform/TracedValue.h > File Source/platform/TracedValue.h (right): > > https://codereview.chromium.org/381653002/diff/20001/Source/platform/TracedValue.h#newcode54 > ...
6 years, 5 months ago (2014-07-11 13:23:29 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-11 14:02:49 UTC) #29
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 14:36:15 UTC) #30
Message was sent while issue was closed.
Change committed as 177945

Powered by Google App Engine
This is Rietveld 408576698