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

Side by Side Diff: components/metrics/leak_detector/leak_detector_remote.mojom

Issue 2064463002: Mojo interface/service for Leak Detector on remote process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete shutdown function in mojo interface Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module metrics;
6
7 // Provides a remote interface for enabling LeakDetector on remote processes.
8 interface LeakDetectorRemote {
9 // Returns a MemoryLeakReportProto::Params in serialized format. Used to
10 // indicate to the remote process what parameters to use when initializing
11 // LeakDetector. Can also return |Params::sampling_rate| == 0 to indicate
12 // that LeakDetector should not be initialized on a particular process.
13 GetParams() => (string serialized_params);
14
15 // When a remote process running LeakDetector gets some leak reports, it
16 // should call this function to return the leak reports back to the main
17 // process that implements this function. The reports should be sent back as
18 // an array of serialized MemoryLeakReportProtos.
19 SendLeakReports(array<string> serialized_reports);
20 };
OLDNEW
« components/metrics/leak_detector/OWNERS ('K') | « components/metrics/leak_detector/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698