| Index: net/url_request/url_request.h
|
| diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
|
| index a66c01287b05fa600c022d0f35a35ba77b086eb4..eb62f1a7211c82cee208b9ac2d28933cff923472 100644
|
| --- a/net/url_request/url_request.h
|
| +++ b/net/url_request/url_request.h
|
| @@ -49,6 +49,7 @@ class AppCacheURLRequestJobTest;
|
|
|
| namespace base {
|
| class Time;
|
| +class TimeTicks;
|
| } // namespace base
|
|
|
| // Temporary layering violation to allow existing users of a deprecated
|
| @@ -636,6 +637,8 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| // unit tests outside of net :(.
|
| URLRequestJob* job() { return job_; }
|
|
|
| + base::TimeTicks start_time() const { return start_time_; }
|
| +
|
| protected:
|
| // Allow the URLRequestJob class to control the is_pending() flag.
|
| void set_is_pending(bool value) { is_pending_ = value; }
|
| @@ -818,6 +821,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| AuthCredentials auth_credentials_;
|
| scoped_refptr<AuthChallengeInfo> auth_info_;
|
|
|
| + // When this request was created.
|
| + base::TimeTicks start_time_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(URLRequest);
|
| };
|
|
|
|
|