blob: 4c121b9c587b551e0f0df14f155ccfd6635ecbc5 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
option cc_enable_arenas = true;
// This file defines services for tremplin, the container springboard service.
package vm_tools.cicerone;
import "common.proto";
message MetricsConsentResponse {
bool consent_granted = 1;
}
message CrashReport {
// Key/value pairs for the metadata file.
map<string, string> metadata = 1;
// The binary contents of the minidump to upload.
bytes minidump = 2;
// Data on the process tree collected inside the VM.
string process_tree = 3;
}
// Service that is notified of events from tremplin.
service CrashListener {
rpc CheckMetricsConsent(EmptyMessage) returns (MetricsConsentResponse);
rpc SendCrashReport(CrashReport) returns (EmptyMessage);
// If adding more rpc's, please update ContainerListenerFuzzerSingleAction as
// well.
}