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

Issue 511873002: DevTools: use explicit IPC messages for enabling/disabling tracing instead of intercepting protocol… (Closed)

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

Description

DevTools: use explicit IPC messages for enabling/disabling tracing instead of intercepting protocol events Added IPC plumbing that allows InspectorTracingAgent to enable/disable browser-wide tracing. It was implemented by intercepting Tracing.started/Tracing.stopped events in the browser. Tracing.stopped event in the DevTools protocol was used by the renderer to notify the browser that it should stop trace event recording and it didn't make much sense for the client as there is already Tracing.tracingComplete event in the protocol. BUG=398787 Committed: https://chromium.googlesource.com/chromium/src/+/a449adae35631e4791547bd0b14403d1766f9ddf Committed: https://crrev.com/16f8dbcecc8131d862e4f16d848612ac00910f97 Cr-Commit-Position: refs/heads/master@{#292578}

Patch Set 1 #

Patch Set 2 : Fixed category filter #

Total comments: 1

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -59 lines) Patch
M content/browser/devtools/devtools_protocol.h View 3 chunks +0 lines, -11 lines 0 comments Download
M content/browser/devtools/devtools_protocol.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.h View 2 chunks +3 lines, -6 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.cc View 1 6 chunks +13 lines, -21 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M content/common/devtools_messages.h View 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/devtools/devtools_agent.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
yurys
yurys@chromium.org changed reviewers: + caseq@chromium.org, loislo@chromium.org
6 years, 3 months ago (2014-08-27 13:27:30 UTC) #1
yurys
6 years, 3 months ago (2014-08-27 13:27:30 UTC) #2
caseq
lgtm
6 years, 3 months ago (2014-08-27 13:45:50 UTC) #3
yurys
yurys@chromium.org changed reviewers: + dcheng@chromium.org
6 years, 3 months ago (2014-08-27 14:06:23 UTC) #4
yurys
@dcheng: please review changes in content/common/devtools_messages.h
6 years, 3 months ago (2014-08-27 14:06:23 UTC) #5
pfeldman
From the issue description, it reads as this is a design improvement, but in fact ...
6 years, 3 months ago (2014-08-27 14:26:41 UTC) #6
yurys
yurys@chromium.org changed reviewers: + vsevik@chromium.org
6 years, 3 months ago (2014-08-27 14:34:32 UTC) #7
yurys
6 years, 3 months ago (2014-08-27 14:34:32 UTC) #8
yurys
On 2014/08/27 14:26:41, pfeldman-OOO wrote: > From the issue description, it reads as this is ...
6 years, 3 months ago (2014-08-27 14:42:32 UTC) #9
dcheng
https://codereview.chromium.org/511873002/diff/20001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/511873002/diff/20001/content/browser/devtools/devtools_tracing_handler.cc#newcode276 content/browser/devtools/devtools_tracing_handler.cc:276: base::debug::CategoryFilter(category_filter), I'm not super familiar with inspector. From the ...
6 years, 3 months ago (2014-08-27 16:43:31 UTC) #10
yurys
On 2014/08/27 16:43:31, dcheng (OOO) wrote: > https://codereview.chromium.org/511873002/diff/20001/content/browser/devtools/devtools_tracing_handler.cc > File content/browser/devtools/devtools_tracing_handler.cc (right): > > https://codereview.chromium.org/511873002/diff/20001/content/browser/devtools/devtools_tracing_handler.cc#newcode276 ...
6 years, 3 months ago (2014-08-28 04:20:39 UTC) #11
dcheng
On 2014/08/28 at 04:20:39, yurys wrote: > On 2014/08/27 16:43:31, dcheng (OOO) wrote: > > ...
6 years, 3 months ago (2014-08-28 04:50:17 UTC) #12
yurys
The CQ bit was checked by yurys@chromium.org
6 years, 3 months ago (2014-08-28 13:28:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yurys@chromium.org/511873002/40001
6 years, 3 months ago (2014-08-28 13:29:06 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as a449adae35631e4791547bd0b14403d1766f9ddf
6 years, 3 months ago (2014-08-28 14:29:13 UTC) #15
mlamouri (slow - plz ping)
A revert of this CL (patchset #3) has been created in https://codereview.chromium.org/516963003/ by mlamouri@chromium.org. The ...
6 years, 3 months ago (2014-08-28 15:40:52 UTC) #16
yurys
On 2014/08/28 15:40:52, Mounir Lamouri wrote: > A revert of this CL (patchset #3) has ...
6 years, 3 months ago (2014-08-28 16:06:21 UTC) #17
yurys
The CQ bit was checked by yurys@chromium.org
6 years, 3 months ago (2014-08-29 06:10:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yurys@chromium.org/511873002/40001
6 years, 3 months ago (2014-08-29 06:11:02 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001) as c7c2443ab48b35ec4accdd7c1e3b6c1434b6b86f
6 years, 3 months ago (2014-08-29 06:11:43 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/97c48c6f7a1848ec11de959811a1c31581478d97 Cr-Commit-Position: refs/heads/master@{#292379}
6 years, 3 months ago (2014-09-10 02:59:28 UTC) #21
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:06:38 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/16f8dbcecc8131d862e4f16d848612ac00910f97
Cr-Commit-Position: refs/heads/master@{#292578}

Powered by Google App Engine
This is Rietveld 408576698