Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1595)

Issue 256200043: Replace metadata if checks with an array.indexOf check. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 9 months ago by prabhur
Modified:
8 years, 9 months ago
CC:
tracing-review_chromium.org
Base URL:
https://github.com/google/trace-viewer@master
Visibility:
Public.

Description

Replace metadata if checks with an array.indexOf check. BUG=#1137 R=fmeawad@chromium.org Committed: https://chromium.googlesource.com/external/trace-viewer/+/975f1ff17f1383c132c64a3308c24d1b2848d1f2

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix CL comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -6 lines) Patch
M tracing/tracing/extras/importer/trace_event_importer.html View 1 1 chunk +4 lines, -6 lines 0 comments Download
M tracing/tracing/extras/importer/trace_event_importer_test.html View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 13
prabhur
PTAL.
8 years, 9 months ago (2015-07-27 17:40:10 UTC) #1
nduca
we don't reference chromium bug numbers, only github issue numbers BUG=#374 for instance
8 years, 9 months ago (2015-07-27 17:43:42 UTC) #2
sullivan
Fadi, can you take a look?
8 years, 9 months ago (2015-07-27 17:43:50 UTC) #3
nduca
https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html#newcode153 tracing/tracing/extras/importer/trace_event_importer.html:153: if (knownFieldNames.indexOf(fieldName) > -1) can you use a dict ...
8 years, 9 months ago (2015-07-27 17:44:13 UTC) #4
fmeawad
https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html#newcode153 tracing/tracing/extras/importer/trace_event_importer.html:153: if (knownFieldNames.indexOf(fieldName) > -1) On 2015/07/27 17:44:12, nduca wrote: ...
8 years, 9 months ago (2015-07-27 17:59:46 UTC) #5
prabhur
On 2015/07/27 17:59:46, fmeawad wrote: > https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html > File tracing/tracing/extras/importer/trace_event_importer.html (right): > > https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html#newcode153 > ...
8 years, 9 months ago (2015-07-27 18:11:27 UTC) #6
nduca
i'm fine either way just want rationale. lets have fadi decide and give you lg. ...
8 years, 9 months ago (2015-07-27 18:23:13 UTC) #7
nduca
your cl BUG= description is wrong still --- BUG=#1137
8 years, 9 months ago (2015-07-27 18:23:35 UTC) #8
prabhur
On 2015/07/27 18:23:35, nduca wrote: > your cl BUG= description is wrong still --- BUG=#1137 ...
8 years, 9 months ago (2015-07-27 18:27:41 UTC) #9
fmeawad
https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html#newcode150 tracing/tracing/extras/importer/trace_event_importer.html:150: 'stackFrames', 'traceAnnotations', 'battorLogAsString']; Can you sort them alphabetically, if ...
8 years, 9 months ago (2015-07-27 18:39:38 UTC) #10
prabhur
PTAL. https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/256200043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html#newcode150 tracing/tracing/extras/importer/trace_event_importer.html:150: 'stackFrames', 'traceAnnotations', 'battorLogAsString']; On 2015/07/27 18:39:38, fmeawad wrote: ...
8 years, 9 months ago (2015-07-27 18:56:39 UTC) #11
fmeawad
lgtm
8 years, 9 months ago (2015-07-27 19:02:22 UTC) #12
prabhur
8 years, 9 months ago (2015-07-27 19:05:07 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
975f1ff17f1383c132c64a3308c24d1b2848d1f2 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b