| Index: extensions/renderer/bindings/api_request_handler.h
|
| diff --git a/extensions/renderer/bindings/api_request_handler.h b/extensions/renderer/bindings/api_request_handler.h
|
| index a2ce5da8ed61b090a1fd1dbfe1d76725c75b6c0b..767f9cdb81bf5b296575f72dca32f50d0e43c545 100644
|
| --- a/extensions/renderer/bindings/api_request_handler.h
|
| +++ b/extensions/renderer/bindings/api_request_handler.h
|
| @@ -21,6 +21,7 @@ class ListValue;
|
| }
|
|
|
| namespace extensions {
|
| +class ExceptionHandler;
|
|
|
| // A wrapper around a map for extension API calls. Contains all pending requests
|
| // and the associated context and callback. Designed to be used on a single
|
| @@ -54,7 +55,8 @@ class APIRequestHandler {
|
|
|
| APIRequestHandler(const SendRequestMethod& send_request,
|
| const CallJSFunction& call_js,
|
| - APILastError last_error);
|
| + APILastError last_error,
|
| + ExceptionHandler* exception_handler);
|
| ~APIRequestHandler();
|
|
|
| // Begins the process of processing the request. Returns the identifier of the
|
| @@ -127,6 +129,10 @@ class APIRequestHandler {
|
|
|
| APILastError last_error_;
|
|
|
| + // The exception handler for the bindings system; guaranteed to be valid
|
| + // during this object's lifetime.
|
| + ExceptionHandler* const exception_handler_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(APIRequestHandler);
|
| };
|
|
|
|
|