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

Issue 2440443002: tracing: remove WatchEvent feature (Closed)

Created:
4 years, 2 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tracing: remove WatchEvent feature Long time ago WatchEvent introduced the ability to get callbacks for trace events. This was used by the first versions of the devtools timeline before it was able to consume the actual trace JSON. This feature is now unused. Removing it as it causes unnecessary maintainance burden and is a very dangerous footgun, which allows a random client to screw up the performance characteristics of tracing. BUG= Committed: https://crrev.com/698739dd57e2ae2c5b6a985840dc389a6dc8e18f Cr-Commit-Position: refs/heads/master@{#426233}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -402 lines) Patch
M base/trace_event/trace_event_unittest.cc View 5 chunks +0 lines, -59 lines 0 comments Download
M base/trace_event/trace_log.h View 2 chunks +0 lines, -14 lines 0 comments Download
M base/trace_event/trace_log.cc View 4 chunks +0 lines, -38 lines 0 comments Download
M chrome/test/base/tracing.h View 2 chunks +0 lines, -15 lines 0 comments Download
M chrome/test/base/tracing.cc View 5 chunks +1 line, -80 lines 0 comments Download
M chrome/test/base/tracing_browsertest.cc View 2 chunks +0 lines, -66 lines 0 comments Download
M components/tracing/child/child_trace_message_filter.cc View 2 chunks +0 lines, -23 lines 0 comments Download
M components/tracing/common/tracing_messages.h View 2 chunks +0 lines, -11 lines 0 comments Download
M content/browser/tracing/trace_message_filter.cc View 3 chunks +0 lines, -15 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.h View 4 chunks +0 lines, -14 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 3 chunks +0 lines, -56 lines 0 comments Download
M content/public/browser/tracing_controller.h View 1 chunk +0 lines, -11 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (12 generated)
Primiano Tucci (use gerrit)
oysteine: I like to maintain unused features, but not on Wednesdays dcheng: need SECURITY_OWNERS stamp ...
4 years, 2 months ago (2016-10-19 16:52:25 UTC) #6
dcheng
ipc lgtm
4 years, 2 months ago (2016-10-19 17:06:13 UTC) #7
oystein (OOO til 10th of July)
Happiness is a dead foot-gun. lgtm!
4 years, 2 months ago (2016-10-19 17:14:49 UTC) #10
nasko
Code removal always LGTM :).
4 years, 2 months ago (2016-10-19 17:21:38 UTC) #13
Primiano Tucci (use gerrit)
Allright, thanks folks. landing at the sound of: "you don't watch trace events. trace events ...
4 years, 2 months ago (2016-10-19 17:22:42 UTC) #14
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/2440443002/1
4 years, 2 months ago (2016-10-19 17:23:29 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-19 17:28:27 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:09:49 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/698739dd57e2ae2c5b6a985840dc389a6dc8e18f
Cr-Commit-Position: refs/heads/master@{#426233}

Powered by Google App Engine
This is Rietveld 408576698