// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_BINDINGS_EXCEPTION_HANDLER_H_ #define EXTENSIONS_RENDERER_BINDINGS_EXCEPTION_HANDLER_H_ #include <string> #include "base/memory/weak_ptr.h" #include "extensions/renderer/bindings/api_binding_types.h" #include "v8/include/v8.h" namespace extensions { // A class to handle uncaught exceptions encountered in the bindings system // while running untrusted code, such as exceptions thrown during callback // execution or event handling. class ExceptionHandler { … }; } // namespace extensions #endif // EXTENSIONS_RENDERER_BINDINGS_EXCEPTION_HANDLER_H_