2015-03-11 19:44:11 +01:00
|
|
|
diff --git url_request.h url_request.h
|
2016-10-21 21:52:29 +02:00
|
|
|
index 993afc9..a207f44 100644
|
2015-03-11 19:44:11 +01:00
|
|
|
--- url_request.h
|
|
|
|
+++ url_request.h
|
2016-10-21 21:52:29 +02:00
|
|
|
@@ -646,10 +646,11 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
|
2016-10-17 20:14:44 +02:00
|
|
|
// Returns the error status of the request.
|
|
|
|
// Do not use! Going to be protected!
|
|
|
|
const URLRequestStatus& status() const { return status_; }
|
2015-03-11 19:44:11 +01:00
|
|
|
- protected:
|
2016-10-17 20:14:44 +02:00
|
|
|
+
|
2015-03-11 19:44:11 +01:00
|
|
|
// Allow the URLRequestJob class to control the is_pending() flag.
|
|
|
|
void set_is_pending(bool value) { is_pending_ = value; }
|
|
|
|
|
|
|
|
+ protected:
|
2016-08-31 13:25:56 +02:00
|
|
|
// Allow the URLRequestJob class to set our status too.
|
|
|
|
void set_status(URLRequestStatus status);
|
2015-03-11 19:44:11 +01:00
|
|
|
|