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

Unified Diff: net/http/http_response_info.cc

Issue 2205453002: Exposing CacheEntryStatus (former TransactionPattern) via UrlRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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/http/http_response_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_info.cc
diff --git a/net/http/http_response_info.cc b/net/http/http_response_info.cc
index 1673c112f54ed57ee72bf76db67855fa4fe99698..8c9127b20566ad286bcfb1d194836af45fd0adb9 100644
--- a/net/http/http_response_info.cc
+++ b/net/http/http_response_info.cc
@@ -106,6 +106,7 @@ enum {
HttpResponseInfo::HttpResponseInfo()
: was_cached(false),
+ cache_entry_status(CacheEntryStatus::ENTRY_UNDEFINED),
server_data_unavailable(false),
network_accessed(false),
was_fetched_via_spdy(false),
@@ -118,6 +119,7 @@ HttpResponseInfo::HttpResponseInfo()
HttpResponseInfo::HttpResponseInfo(const HttpResponseInfo& rhs)
: was_cached(rhs.was_cached),
+ cache_entry_status(rhs.cache_entry_status),
server_data_unavailable(rhs.server_data_unavailable),
network_accessed(rhs.network_accessed),
was_fetched_via_spdy(rhs.was_fetched_via_spdy),
@@ -144,6 +146,7 @@ HttpResponseInfo::~HttpResponseInfo() {
HttpResponseInfo& HttpResponseInfo::operator=(const HttpResponseInfo& rhs) {
was_cached = rhs.was_cached;
+ cache_entry_status = rhs.cache_entry_status;
server_data_unavailable = rhs.server_data_unavailable;
network_accessed = rhs.network_accessed;
was_fetched_via_spdy = rhs.was_fetched_via_spdy;
« no previous file with comments | « net/http/http_response_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698