diff options
Diffstat (limited to 'chrome/browser/net/passive_log_collector.h')
-rw-r--r-- | chrome/browser/net/passive_log_collector.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/browser/net/passive_log_collector.h b/chrome/browser/net/passive_log_collector.h index 56c60c7..28598b2 100644 --- a/chrome/browser/net/passive_log_collector.h +++ b/chrome/browser/net/passive_log_collector.h @@ -369,6 +369,21 @@ class PassiveLogCollector : public ChromeNetLog::ThreadSafeObserver { DISALLOW_COPY_AND_ASSIGN(DnsTransactionTracker); }; + // Tracks the log entries for the last seen SOURCE_ASYNC_HOST_RESOLVER_REQUEST + class AsyncHostResolverRequestTracker : public SourceTracker { + public: + static const size_t kMaxNumSources; + static const size_t kMaxGraveyardSize; + + AsyncHostResolverRequestTracker(); + + private: + virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, + SourceInfo* out_info); + + DISALLOW_COPY_AND_ASSIGN(AsyncHostResolverRequestTracker); + }; + PassiveLogCollector(); virtual ~PassiveLogCollector(); @@ -410,6 +425,7 @@ class PassiveLogCollector : public ChromeNetLog::ThreadSafeObserver { HttpStreamJobTracker http_stream_job_tracker_; ExponentialBackoffThrottlingTracker exponential_backoff_throttling_tracker_; DnsTransactionTracker dns_transaction_tracker_; + AsyncHostResolverRequestTracker async_host_resolver_request_tracker_; // This array maps each NetLog::SourceType to one of the tracker instances // defined above. Use of this array avoid duplicating the list of trackers |