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

Unified Diff: net/base/filter.h

Issue 56043: Use HTTP status return code to make SDCH handling more robust... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « chrome/common/net/url_request_intercept_job.cc ('k') | net/base/filter_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/filter.h
===================================================================
--- net/base/filter.h (revision 12762)
+++ net/base/filter.h (working copy)
@@ -72,6 +72,10 @@
// pushed into a filter for processing)?
virtual int64 GetByteReadCount() const = 0;
+ // What response code was received with the associated network transaction?
+ // For example: 200 is ok. 4xx are error codes. etc.
+ virtual int GetResponseCode() const = 0;
+
// What is the desirable input buffer size for these filters?
// This value is currently supplied by the context, and is constant for all
// filters, even when they are part of a chain of filters. (i.e., we currently
« no previous file with comments | « chrome/common/net/url_request_intercept_job.cc ('k') | net/base/filter_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698