-// Copyright (c) 2014 Marshall A. Greenblatt. All rights reserved.
+// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
///
// Base structure.
///
- cef_base_t base;
+ cef_base_ref_counted_t base;
///
// Returns true (1) if this object is read-only.
///
int (CEF_CALLBACK *is_read_only)(struct _cef_response_t* self);
+ ///
+ // Get the response error code. Returns ERR_NONE if there was no error.
+ ///
+ cef_errorcode_t (CEF_CALLBACK *get_error)(struct _cef_response_t* self);
+
+ ///
+ // Set the response error code. This can be used by custom scheme handlers to
+ // return errors during initial request processing.
+ ///
+ void (CEF_CALLBACK *set_error)(struct _cef_response_t* self,
+ cef_errorcode_t error);
+
///
// Get the response status code.
///