]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/linux/include/capi/cef_resource_handler_capi.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / linux / include / capi / cef_resource_handler_capi.h
similarity index 95%
rename from dependencies64/cef/include/capi/cef_resource_handler_capi.h
rename to dependencies64/cef/linux/include/capi/cef_resource_handler_capi.h
index 24bba9b41905867fa90d262e22674a3e73003711..3722fb1a635d144c3f554379e28842d9fe0ff6b7 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
@@ -58,7 +58,7 @@ typedef struct _cef_resource_handler_t {
   ///
   // Base structure.
   ///
-  cef_base_t base;
+  cef_base_ref_counted_t base;
 
   ///
   // Begin processing the request. To handle the request return true (1) and
@@ -78,7 +78,8 @@ typedef struct _cef_resource_handler_t {
   // (0) or the specified number of bytes have been read. Use the |response|
   // object to set the mime type, http status code and other optional header
   // values. To redirect the request to a new URL set |redirectUrl| to the new
-  // URL.
+  // URL. If an error occured while setting up the request you can call
+  // set_error() on |response| to indicate the error condition.
   ///
   void (CEF_CALLBACK *get_response_headers)(
       struct _cef_resource_handler_t* self, struct _cef_response_t* response,