Index: net/filter/filter.h |
diff --git a/net/filter/filter.h b/net/filter/filter.h |
index 81890997ef3b7e34e8445cf81e741b3640cfeafa..70509f4ced58bccd22c6bf479c592ae612445d0f 100644 |
--- a/net/filter/filter.h |
+++ b/net/filter/filter.h |
@@ -43,6 +43,7 @@ class GURL; |
namespace net { |
+class URLRequestContext; |
class IOBuffer; |
//------------------------------------------------------------------------------ |
@@ -98,6 +99,9 @@ class NET_EXPORT_PRIVATE FilterContext { |
// For example: 200 is ok. 4xx are error codes. etc. |
virtual int GetResponseCode() const = 0; |
+ // The URLRequestContext associated with the request. |
+ virtual const URLRequestContext* GetURLRequestContext() const = 0; |
+ |
// The following method forces the context to emit a specific set of |
// statistics as selected by the argument. |
virtual void RecordPacketStats(StatisticSelector statistic) const = 0; |