summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index e586e28..b420cf8 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -187,6 +187,14 @@ class URLRequest {
request->Cancel();
}
+ // Called when unable to get cookies due to policy.
+ virtual void OnGetCookiesBlocked(URLRequest* request) {
+ }
+
+ // Called when unable to set a cookie due to policy.
+ virtual void OnSetCookieBlocked(URLRequest* request) {
+ }
+
// After calling Start(), the delegate will receive an OnResponseStarted
// callback when the request has completed. If an error occurred, the
// request->status() will be set. On success, all redirects have been