18 lines
620 B
Diff
18 lines
620 B
Diff
diff --git url_request.h url_request.h
|
|
index 993afc9..a207f44 100644
|
|
--- url_request.h
|
|
+++ url_request.h
|
|
@@ -646,10 +646,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_; }
|
|
- protected:
|
|
+
|
|
// Allow the URLRequestJob class to control the is_pending() flag.
|
|
void set_is_pending(bool value) { is_pending_ = value; }
|
|
|
|
+ protected:
|
|
// Allow the URLRequestJob class to set our status too.
|
|
void set_status(URLRequestStatus status);
|
|
|