Home | History | Annotate | Download | only in extensions

Lines Matching defs:ExtensionErrorReporter

14 // No AddRef required when using ExtensionErrorReporter with RunnableMethod.
15 // This is okay since the ExtensionErrorReporter is a singleton that lives until
17 DISABLE_RUNNABLE_METHOD_REFCOUNT(ExtensionErrorReporter);
19 ExtensionErrorReporter* ExtensionErrorReporter::instance_ = NULL;
22 void ExtensionErrorReporter::Init(bool enable_noisy_errors) {
24 instance_ = new ExtensionErrorReporter(enable_noisy_errors);
29 ExtensionErrorReporter* ExtensionErrorReporter::GetInstance() {
34 ExtensionErrorReporter::ExtensionErrorReporter(bool enable_noisy_errors)
39 ExtensionErrorReporter::~ExtensionErrorReporter() {}
41 void ExtensionErrorReporter::ReportError(const std::string& message,
46 NewRunnableMethod(this, &ExtensionErrorReporter::ReportError, message,
64 const std::vector<std::string>* ExtensionErrorReporter::GetErrors() {
68 void ExtensionErrorReporter::ClearErrors() {