Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: net/url_request/url_request.h

Issue 2414883005: TEMP DO NOT LAND (Closed)
Patch Set: temp Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 0c413f7e50c095266da3a7fd6239abdad45bcc0a..3fa25992f42a2d1893686622f9e7297f2d11e868 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -39,6 +39,9 @@
namespace base {
class Value;
+namespace trace_event {
+class MemoryAllocatorDump;
+}
namespace debug {
class StackTrace;
@@ -650,6 +653,9 @@ 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_; }
+
+ void PopulateAllocatorDump(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; }

Powered by Google App Engine
This is Rietveld 408576698