Index: net/http/disk_cache_based_quic_server_info.h |
diff --git a/net/http/disk_cache_based_quic_server_info.h b/net/http/disk_cache_based_quic_server_info.h |
index 7420f325e34074afd42ae1d1ac701f173e0601ab..6e15fc3b619b71b9390b4bc84c7eff449a6bbf8d 100644 |
--- a/net/http/disk_cache_based_quic_server_info.h |
+++ b/net/http/disk_cache_based_quic_server_info.h |
@@ -61,36 +61,6 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo |
NONE, |
}; |
- // Enum to track number of times data read/parse/write API calls of |
- // QuicServerInfo to and from disk cache is called. |
- enum QuicServerInfoAPICall { |
- QUIC_SERVER_INFO_START = 0, |
- QUIC_SERVER_INFO_WAIT_FOR_DATA_READY = 1, |
- QUIC_SERVER_INFO_PARSE = 2, |
- QUIC_SERVER_INFO_WAIT_FOR_DATA_READY_CANCEL = 3, |
- QUIC_SERVER_INFO_READY_TO_PERSIST = 4, |
- QUIC_SERVER_INFO_PERSIST = 5, |
- QUIC_SERVER_INFO_EXTERNAL_CACHE_HIT = 6, |
- QUIC_SERVER_INFO_NUM_OF_API_CALLS = 7, |
- }; |
- |
- // Enum to track failure reasons to read/load/write of QuicServerInfo to |
- // and from disk cache. |
- enum FailureReason { |
- WAIT_FOR_DATA_READY_INVALID_ARGUMENT_FAILURE = 0, |
- GET_BACKEND_FAILURE = 1, |
- OPEN_FAILURE = 2, |
- CREATE_OR_OPEN_FAILURE = 3, |
- PARSE_NO_DATA_FAILURE = 4, |
- PARSE_FAILURE = 5, |
- READ_FAILURE = 6, |
- READY_TO_PERSIST_FAILURE = 7, |
- PERSIST_NO_BACKEND_FAILURE = 8, |
- WRITE_FAILURE = 9, |
- NO_FAILURE = 10, |
- NUM_OF_FAILURES = 11, |
- }; |
- |
~DiskCacheBasedQuicServerInfo() override; |
// Persists |pending_write_data_| if it is not empty, otherwise serializes the |