mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Implement improvements for request handling (issue #1327).
- Add a new CefRequestHandler::OnResourceResponse() method for inspecting the request/response headers and potentially restarting or redirecting the request. - Add a new CefRequest::GetIdentifier() method for tracking a request across multiple CefRequestHandler callbacks. - Pass a CefRequest object instead of just the old URL to CefRequestHandler::OnResourceRedirect(). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2073 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
16
patch/patches/net_urlrequest_1327.patch
Normal file
16
patch/patches/net_urlrequest_1327.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git url_request.h url_request.h
|
||||
index 1623368..16d292d 100644
|
||||
--- url_request.h
|
||||
+++ url_request.h
|
||||
@@ -609,10 +609,10 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
|
||||
return proxy_server_;
|
||||
}
|
||||
|
||||
- protected:
|
||||
// Allow the URLRequestJob class to control the is_pending() flag.
|
||||
void set_is_pending(bool value) { is_pending_ = value; }
|
||||
|
||||
+ protected:
|
||||
// Allow the URLRequestJob class to set our status too
|
||||
void set_status(const URLRequestStatus& value) { status_ = value; }
|
||||
|
Reference in New Issue
Block a user