]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/windows/include/capi/cef_auth_callback_capi.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / windows / include / capi / cef_auth_callback_capi.h
similarity index 73%
rename from dependencies64/cef/include/capi/cef_request_context_handler_capi.h
rename to dependencies64/cef/windows/include/capi/cef_auth_callback_capi.h
index 326701ae77cbb3eabcb708293d4497c6d58fb886..32e30eaa1dc354cdddca0fb6aefce5a6f4ff922f 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
 // more information.
 //
 
-#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_HANDLER_CAPI_H_
-#define CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_HANDLER_CAPI_H_
+#ifndef CEF_INCLUDE_CAPI_CEF_AUTH_CALLBACK_CAPI_H_
+#define CEF_INCLUDE_CAPI_CEF_AUTH_CALLBACK_CAPI_H_
 #pragma once
 
 #include "include/capi/cef_base_capi.h"
-#include "include/capi/cef_cookie_capi.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -47,25 +46,30 @@ extern "C" {
 
 
 ///
-// Implement this structure to provide handler implementations.
+// Callback structure used for asynchronous continuation of authentication
+// requests.
 ///
-typedef struct _cef_request_context_handler_t {
+typedef struct _cef_auth_callback_t {
   ///
   // Base structure.
   ///
-  cef_base_t base;
+  cef_base_ref_counted_t base;
 
   ///
-  // Called on the IO thread to retrieve the cookie manager. The global cookie
-  // manager will be used if this function returns NULL.
+  // Continue the authentication request.
   ///
-  struct _cef_cookie_manager_t* (CEF_CALLBACK *get_cookie_manager)(
-      struct _cef_request_context_handler_t* self);
-} cef_request_context_handler_t;
+  void (CEF_CALLBACK *cont)(struct _cef_auth_callback_t* self,
+      const cef_string_t* username, const cef_string_t* password);
+
+  ///
+  // Cancel the authentication request.
+  ///
+  void (CEF_CALLBACK *cancel)(struct _cef_auth_callback_t* self);
+} cef_auth_callback_t;
 
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif  // CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_HANDLER_CAPI_H_
+#endif  // CEF_INCLUDE_CAPI_CEF_AUTH_CALLBACK_CAPI_H_