| 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.
|
|
|