| Index: chrome/browser/net/predictor.h
|
| diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
|
| index 3e6a2e3287e7eba6526540600aa4a1c7618b6b56..8f6ed52fb9d7ea194a16bc6e87dcfb90c337835d 100644
|
| --- a/chrome/browser/net/predictor.h
|
| +++ b/chrome/browser/net/predictor.h
|
| @@ -238,7 +238,12 @@ class Predictor {
|
| UrlInfo::ResolutionMotivation motivation,
|
| int count);
|
|
|
| - void RecordPreconnectNavigationStats(const GURL& url);
|
| + void RecordPreconnectTrigger(const GURL& url);
|
| +
|
| + void RecordPreconnectNavigationStat(const std::vector<GURL>& url_chain,
|
| + bool is_subresource);
|
| +
|
| + void RecordLinkNavigation(const GURL& url);
|
|
|
| // ------------- End IO thread methods.
|
|
|
| @@ -509,7 +514,8 @@ class Predictor {
|
| // The time when the last preconnection was requested to a search service.
|
| base::TimeTicks last_omnibox_preconnect_;
|
|
|
| - TimedCache recent_preconnects_;
|
| + class PreconnectUsage;
|
| + scoped_ptr<PreconnectUsage> preconnect_usage_;
|
|
|
| // For each URL that we might navigate to (that we've "learned about")
|
| // we have a Referrer list. Each Referrer list has all hostnames we might
|
|
|