gecko-dev/dom/ipc/PMemoryReportRequest.ipdl
Jed Davis 1b9d15f48d Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.

--HG--
extra : rebase_source : 89f467fbc553a1a3a4d9b144fff747fa3447f21b
2015-04-27 15:45:00 -04:00

30 lines
602 B
Plaintext

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
include protocol PContent;
namespace mozilla {
namespace dom {
struct MemoryReport {
nsCString process;
nsCString path;
int32_t kind;
int32_t units;
int64_t amount;
nsCString desc;
};
protocol PMemoryReportRequest {
manager PContent;
parent:
Report(MemoryReport aReport);
__delete__();
};
}
}