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

Issue 2056973002: Add renderer-side client for LeakDetectorRemoteController

Created:
4 years, 6 months ago by Simon Que
Modified:
4 years, 6 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add renderer-side client for LeakDetectorRemoteController LeakDetectorRemoteController is a Mojo service that was introduced in http://crrev.com/2030883004. It provides an interface for a client on another process to initialize metrics::LeakDetector and send back memory leak reports. This patch implements such a client on the renderer process. BUG=chromium:615223

Patch Set 1 #

Total comments: 9

Patch Set 2 : Import sources from gypi into BUILD.gn; Unregister observer; Check that params were decoded #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
M chrome/chrome_renderer.gypi View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/renderer/BUILD.gn View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/renderer/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/renderer/leak_detector_remote_client.h View 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/renderer/leak_detector_remote_client.cc View 1 1 chunk +44 lines, -0 lines 3 comments Download

Messages

Total messages: 9 (1 generated)
Simon Que
Ilya, this is the corresponding CL for the renderer process (see https://codereview.chromium.org/2030883004/). Do you think ...
4 years, 6 months ago (2016-06-10 00:52:24 UTC) #1
Ilya Sherman
On 2016/06/10 00:52:24, Simon Que wrote: > Ilya, this is the corresponding CL for the ...
4 years, 6 months ago (2016-06-10 21:21:20 UTC) #2
Ilya Sherman
FWIW, I'm not very well versed in Mojo, so it would be nice to have ...
4 years, 6 months ago (2016-06-10 21:27:35 UTC) #4
Simon Que
https://codereview.chromium.org/2056973002/diff/1/chrome/renderer/BUILD.gn File chrome/renderer/BUILD.gn (right): https://codereview.chromium.org/2056973002/diff/1/chrome/renderer/BUILD.gn#newcode199 chrome/renderer/BUILD.gn:199: ] On 2016/06/10 21:27:35, Ilya Sherman wrote: > I ...
4 years, 6 months ago (2016-06-16 07:13:27 UTC) #5
Ilya Sherman
https://codereview.chromium.org/2056973002/diff/1/chrome/renderer/leak_detector_remote_client.cc File chrome/renderer/leak_detector_remote_client.cc (right): https://codereview.chromium.org/2056973002/diff/1/chrome/renderer/leak_detector_remote_client.cc#newcode21 chrome/renderer/leak_detector_remote_client.cc:21: base::Unretained(this))); On 2016/06/16 07:13:27, Simon Que wrote: > On ...
4 years, 6 months ago (2016-06-16 18:14:20 UTC) #6
Simon Que
https://codereview.chromium.org/2056973002/diff/20001/chrome/renderer/leak_detector_remote_client.cc File chrome/renderer/leak_detector_remote_client.cc (right): https://codereview.chromium.org/2056973002/diff/20001/chrome/renderer/leak_detector_remote_client.cc#newcode25 chrome/renderer/leak_detector_remote_client.cc:25: metrics::LeakDetector::GetInstance()->RemoveObserver(this); On 2016/06/16 18:14:20, Ilya Sherman wrote: > Is ...
4 years, 6 months ago (2016-06-17 01:30:38 UTC) #7
Ilya Sherman
https://codereview.chromium.org/2056973002/diff/20001/chrome/renderer/leak_detector_remote_client.cc File chrome/renderer/leak_detector_remote_client.cc (right): https://codereview.chromium.org/2056973002/diff/20001/chrome/renderer/leak_detector_remote_client.cc#newcode25 chrome/renderer/leak_detector_remote_client.cc:25: metrics::LeakDetector::GetInstance()->RemoveObserver(this); On 2016/06/17 01:30:38, Simon Que wrote: > On ...
4 years, 6 months ago (2016-06-17 01:32:50 UTC) #8
Simon Que
4 years, 6 months ago (2016-06-17 01:33:56 UTC) #9
After discussion with wfh, I'm actually going to combine this with the browser
process-side CL: https://codereview.chromium.org/2064463002/

Powered by Google App Engine
This is Rietveld 408576698