Revert of DevTools: use explicit IPC messages for enabling/disabling tracing instead...
commitcbe4516d6cdfa0eef5cff4822190254fd51dac1f
authormlamouri <mlamouri@chromium.org>
Thu, 28 Aug 2014 15:46:26 +0000 (28 08:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 Aug 2014 15:57:27 +0000 (28 15:57 +0000)
treebaf2c7dc20586fa339058fdab9f8083d96dea62f
parentb403494cafdf7f9222fc6e4df0d254691d4f186a
Revert of DevTools: use explicit IPC messages for enabling/disabling tracing instead of intercepting protocol… (patchset #3 of https://codereview.chromium.org/511873002/)

Reason for revert:
Creates timeout failures on a lot of inspector/ tests in Blink:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20%28deps%29/builds/33453/steps/webkit_tests/logs/stdio

Original issue's 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

TBR=dcheng@chromium.org,caseq@chromium.org,loislo@chromium.org,vsevik@chromium.org,yurys@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=398787

Review URL: https://codereview.chromium.org/516963003

Cr-Commit-Position: refs/heads/master@{#292390}
content/browser/devtools/devtools_protocol.cc
content/browser/devtools/devtools_protocol.h
content/browser/devtools/devtools_tracing_handler.cc
content/browser/devtools/devtools_tracing_handler.h
content/browser/devtools/render_view_devtools_agent_host.cc
content/browser/devtools/render_view_devtools_agent_host.h
content/common/devtools_messages.h
content/renderer/devtools/devtools_agent.cc