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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 4e03b2f..26a6258 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -114,6 +114,8 @@ class URLRequest {
//
class Delegate {
public:
+ virtual ~Delegate() {}
+
// Called upon a server-initiated redirect. The delegate may call the
// request's Cancel method to prevent the redirect from being followed.
// Since there may be multiple chained redirects, there may also be more