| Index: net/url_request/url_request.h
|
| diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
|
| index e1406f33633922e9ebc4625d62b3518b409d361c..36373ae52e224f092df75046f3c0f9ac7176e78c 100644
|
| --- a/net/url_request/url_request.h
|
| +++ b/net/url_request/url_request.h
|
| @@ -40,6 +40,9 @@
|
|
|
| namespace base {
|
| class Value;
|
| +namespace trace_event {
|
| +class MemoryAllocatorDump;
|
| +} // namespace trace_event
|
| } // namespace base
|
|
|
| namespace net {
|
| @@ -651,6 +654,11 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
|
| // Returns the error status of the request.
|
| // Do not use! Going to be protected!
|
| const URLRequestStatus& status() const { return status_; }
|
| +
|
| + // Called by URLRequestContext to dump memory allocation stats. |dump| is
|
| + // the memory allocator dump of the URLRequestContext.
|
| + void DumpMemoryStats(base::trace_event::MemoryAllocatorDump* dump) const;
|
| +
|
| protected:
|
| // Allow the URLRequestJob class to control the is_pending() flag.
|
| void set_is_pending(bool value) { is_pending_ = value; }
|
|
|