Chromium Code Reviews| Index: components/precache/core/precache_database.h |
| diff --git a/components/precache/core/precache_database.h b/components/precache/core/precache_database.h |
| index aaea1ca9bbc005fec56820e787c0038a8b80df3e..89e416ac62be71287166e509b7f4835baebef086 100644 |
| --- a/components/precache/core/precache_database.h |
| +++ b/components/precache/core/precache_database.h |
| @@ -21,6 +21,7 @@ |
| #include "components/precache/core/precache_fetcher.h" |
| #include "components/precache/core/precache_session_table.h" |
| #include "components/precache/core/precache_url_table.h" |
| +#include "net/http/http_response_info.h" |
|
bengr
2016/07/21 00:03:27
Forward declare instead.
|
| class GURL; |
| @@ -63,8 +64,8 @@ class PrecacheDatabase { |
| void RecordURLPrefetch(const GURL& url, |
| const base::TimeDelta& latency, |
| const base::Time& fetch_time, |
| - int64_t size, |
| - bool was_cached); |
| + const net::HttpResponseInfo& info, |
| + int64_t size); |
| // Report precache-related metrics in response to a URL being fetched, where |
| // the fetch was not motivated by precaching. |is_connection_cellular| |
| @@ -72,8 +73,8 @@ class PrecacheDatabase { |
| void RecordURLNonPrefetch(const GURL& url, |
| const base::TimeDelta& latency, |
| const base::Time& fetch_time, |
| + const net::HttpResponseInfo& info, |
| int64_t size, |
| - bool was_cached, |
| int host_rank, |
| bool is_connection_cellular); |