Index: net/http/http_cache_transaction.h |
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h |
index bd5a46fa86e4913dc67523c361926af9b7d05d0f..785b4b78e69b639b1d1ba4f17b1056a9a6ba2662 100644 |
--- a/net/http/http_cache_transaction.h |
+++ b/net/http/http_cache_transaction.h |
@@ -9,6 +9,7 @@ |
#define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
#include <string> |
+#include <vector> |
#include "base/time.h" |
#include "net/base/completion_callback.h" |
@@ -379,6 +380,10 @@ class HttpCache::Transaction : public HttpTransaction { |
void RunDelayedLoop(base::TimeTicks delay_start_time, |
base::TimeDelta intended_delay, int result); |
+#if !defined(NDEBUG) |
+ void DumpStatePath(); |
+#endif |
+ |
State next_state_; |
const HttpRequestInfo* request_; |
BoundNetLog net_log_; |
@@ -408,6 +413,7 @@ class HttpCache::Transaction : public HttpTransaction { |
bool cache_pending_; // We are waiting for the HttpCache. |
bool done_reading_; |
bool vary_mismatch_; // The request doesn't match the stored vary data. |
+ bool couldnt_conditionalize_request_; |
scoped_refptr<IOBuffer> read_buf_; |
int io_buf_len_; |
int read_offset_; |
@@ -442,6 +448,11 @@ class HttpCache::Transaction : public HttpTransaction { |
int sensitivity_analysis_percent_increase_; |
HttpTransactionDelegate* transaction_delegate_; |
+ |
+#if !defined(NDEBUG) |
+ // Record of all states this transaction has moved through. |
+ std::vector<int> state_path_; |
+#endif |
}; |
} // namespace net |