2010-11-24 06:15:03 -08:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
* vim: set sw=4 ts=8 et tw=80 :
|
2012-05-21 04:12:37 -07:00
|
|
|
* 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/. */
|
2010-11-24 06:15:03 -08:00
|
|
|
|
|
|
|
include protocol PContent;
|
2011-06-08 12:56:31 -07:00
|
|
|
include protocol PPluginModule;
|
2010-11-24 06:15:03 -08:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
|
|
|
struct Mapping {
|
|
|
|
nsCString library_name;
|
|
|
|
nsCString file_id;
|
|
|
|
uintptr_t start_address;
|
|
|
|
size_t mapping_length;
|
|
|
|
size_t file_offset;
|
|
|
|
};
|
|
|
|
|
|
|
|
protocol PCrashReporter {
|
2011-06-08 12:56:31 -07:00
|
|
|
manager PContent or PPluginModule;
|
2010-11-24 06:15:03 -08:00
|
|
|
parent:
|
|
|
|
AddLibraryMappings(Mapping[] m);
|
2011-06-08 12:56:31 -07:00
|
|
|
AnnotateCrashReport(nsCString key, nsCString data);
|
|
|
|
AppendAppNotes(nsCString data);
|
2010-11-24 06:15:03 -08:00
|
|
|
__delete__();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
2011-06-08 12:56:31 -07:00
|
|
|
}
|