// tools directory for more information.
//
-#ifndef CEF_INCLUDE_CEF_REQUEST_CONTEXT_HANDLER_H_
-#define CEF_INCLUDE_CEF_REQUEST_CONTEXT_HANDLER_H_
+#ifndef CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
+#define CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
#pragma once
#include "include/cef_base.h"
-#include "include/cef_cookie.h"
///
-// Implement this interface to provide handler implementations.
+// Callback interface used for asynchronous continuation of authentication
+// requests.
///
-/*--cef(source=client,no_debugct_check)--*/
-class CefRequestContextHandler : public virtual CefBase {
+/*--cef(source=library)--*/
+class CefAuthCallback : public virtual CefBaseRefCounted {
public:
///
- // Called on the IO thread to retrieve the cookie manager. The global cookie
- // manager will be used if this method returns NULL.
+ // Continue the authentication request.
+ ///
+ /*--cef(capi_name=cont)--*/
+ virtual void Continue(const CefString& username,
+ const CefString& password) =0;
+
+ ///
+ // Cancel the authentication request.
///
/*--cef()--*/
- virtual CefRefPtr<CefCookieManager> GetCookieManager() { return NULL; }
+ virtual void Cancel() =0;
};
-#endif // CEF_INCLUDE_CEF_REQUEST_CONTEXT_HANDLER_H_
+#endif // CEF_INCLUDE_CEF_AUTH_CALLBACK_H_