Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 50 | 50 |
| 51 // Overridden from URLRequestJob: | 51 // Overridden from URLRequestJob: |
| 52 void SetPriority(RequestPriority priority) override; | 52 void SetPriority(RequestPriority priority) override; |
| 53 void Start() override; | 53 void Start() override; |
| 54 void Kill() override; | 54 void Kill() override; |
| 55 | 55 |
| 56 RequestPriority priority() const { | 56 RequestPriority priority() const { |
| 57 return priority_; | 57 return priority_; |
| 58 } | 58 } |
| 59 | 59 |
| 60 void GetConnectionAttempts(ConnectionAttempts* out) const override; | |
|
Randy Smith (Not in Mondays)
2015/05/01 17:03:44
IWYU: I think you should forward declare Connectio
Randy Smith (Not in Mondays)
2015/05/01 17:03:44
It looks to me as if priority() isn't an override
Deprecated (see juliatuttle)
2015/05/04 19:53:37
Done.
Deprecated (see juliatuttle)
2015/05/04 19:53:37
Done.
| |
| 61 | |
| 60 private: | 62 private: |
| 61 enum CompletionCause { | 63 enum CompletionCause { |
| 62 ABORTED, | 64 ABORTED, |
| 63 FINISHED | 65 FINISHED |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 typedef base::RefCountedData<bool> SharedBoolean; | 68 typedef base::RefCountedData<bool> SharedBoolean; |
| 67 | 69 |
| 68 class HttpFilterContext; | 70 class HttpFilterContext; |
| 69 | 71 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 const HttpUserAgentSettings* http_user_agent_settings_; | 266 const HttpUserAgentSettings* http_user_agent_settings_; |
| 265 | 267 |
| 266 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; | 268 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; |
| 267 | 269 |
| 268 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 270 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 269 }; | 271 }; |
| 270 | 272 |
| 271 } // namespace net | 273 } // namespace net |
| 272 | 274 |
| 273 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 275 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |