Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: net/filter/filter.h

Issue 298063006: Make SdchManager per-profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments and changed test name. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/sdch_manager_unittest.cc ('k') | net/filter/filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « net/base/sdch_manager_unittest.cc ('k') | net/filter/filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698