Index: net/http/http_cache_transaction.h |
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h |
index 0c9b11253543ac44c65986bdd743c45870c03972..cdaa2fc30a84a0edfe70cb47b71607805edde8b9 100644 |
--- a/net/http/http_cache_transaction.h |
+++ b/net/http/http_cache_transaction.h |
@@ -46,6 +46,13 @@ class SSLPrivateKey; |
// factory. |
class HttpCache::Transaction : public HttpTransaction { |
public: |
+ // Used for |RequiresValidation()|. |
+ enum ValidationType { |
+ VALIDATION_NONE, // The resource is fresh. |
+ VALIDATION_ASYNCHRONOUS, // The resource requires async revalidation. |
+ VALIDATION_SYNCHRONOUS // The resource requires sync revalidation. |
+ }; |
+ |
// The transaction has the following modes, which apply to how it may access |
// its cache entry. |
// |