mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
23 lines
840 B
Plaintext
23 lines
840 B
Plaintext
|
// Copyright 2016 The Chromium Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
module arc.mojom;
|
||
|
|
||
|
interface CrashCollectorHost {
|
||
|
// Sends a dump for a non-native crash of the given |type|. The host reads
|
||
|
// the dump from |pipe|, or rejects the dump by closing |pipe|. Note that
|
||
|
// |type| is a string instead of an enum, because its value is not relevant
|
||
|
// to the host: it only serves as a tag in the report.
|
||
|
DumpCrash@0(string type, handle pipe);
|
||
|
|
||
|
// Sets build properties included in every report.
|
||
|
[MinVersion=1] SetBuildProperties@1(string device,
|
||
|
string board,
|
||
|
string cpu_abi);
|
||
|
};
|
||
|
|
||
|
interface CrashCollectorInstance {
|
||
|
Init@0(CrashCollectorHost host_ptr);
|
||
|
};
|