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

Unified Diff: net/url_request/url_request.h

Issue 10378005: Add more variables to the URLRequest leak assertion crash dumps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | net/url_request/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 958f6ab273ae4ee83b68f51f04061fa3485578ec..bff16d727a52b80ed80c10865811b25b5f205e89 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -589,6 +589,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// unit tests outside of net :(.
URLRequestJob* job() { return job_; }
+ // TODO(willchan): Undo this. Only temporarily public.
+ bool has_delegate() const { return delegate_ != NULL; }
+
protected:
// Allow the URLRequestJob class to control the is_pending() flag.
void set_is_pending(bool value) { is_pending_ = value; }
@@ -663,8 +666,6 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// occurs.
void NotifyResponseStarted();
- bool has_delegate() const { return delegate_ != NULL; }
-
// These functions delegate to |delegate_| and may only be used if
// |delegate_| is not NULL. See URLRequest::Delegate for the meaning
// of these functions.
« no previous file with comments | « no previous file | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698