]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/linux/include/capi/cef_response_capi.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / linux / include / capi / cef_response_capi.h
similarity index 89%
rename from dependencies64/cef/include/capi/cef_response_capi.h
rename to dependencies64/cef/linux/include/capi/cef_response_capi.h
index 30b3c945ce0141831646e166fb9ee7242d8c2629..59395566df5eda295cb439d888608dc9a1b16171 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -53,13 +53,25 @@ typedef struct _cef_response_t {
   ///
   // 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.
   ///