| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module arc; | 5 module arc.mojom; |
| 6 | 6 |
| 7 interface CrashCollectorHost { | 7 interface CrashCollectorHost { |
| 8 // Sends a dump for a non-native crash of the given |type|. The host reads | 8 // Sends a dump for a non-native crash of the given |type|. The host reads |
| 9 // the dump from |pipe|, or rejects the dump by closing |pipe|. Note that | 9 // the dump from |pipe|, or rejects the dump by closing |pipe|. Note that |
| 10 // |type| is a string instead of an enum, because its value is not relevant | 10 // |type| is a string instead of an enum, because its value is not relevant |
| 11 // to the host: it only serves as a tag in the report. | 11 // to the host: it only serves as a tag in the report. |
| 12 DumpCrash(string type, handle pipe); | 12 DumpCrash(string type, handle pipe); |
| 13 }; | 13 }; |
| 14 | 14 |
| 15 interface CrashCollectorInstance { | 15 interface CrashCollectorInstance { |
| 16 Init(CrashCollectorHost host_ptr); | 16 Init(CrashCollectorHost host_ptr); |
| 17 }; | 17 }; |
| OLD | NEW |