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_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_H_ |
6 #define NET_URL_REQUEST_URL_REQUEST_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 void NotifyReadCompleted(int bytes_read); | 698 void NotifyReadCompleted(int bytes_read); |
699 | 699 |
700 // Called when the delegate blocks or unblocks this request when intercepting | 700 // Called when the delegate blocks or unblocks this request when intercepting |
701 // certain requests. | 701 // certain requests. |
702 void SetBlockedOnDelegate(); | 702 void SetBlockedOnDelegate(); |
703 void SetUnblockedOnDelegate(); | 703 void SetUnblockedOnDelegate(); |
704 | 704 |
705 // Contextual information used for this request (can be NULL). This contains | 705 // Contextual information used for this request (can be NULL). This contains |
706 // most of the dependencies which are shared between requests (disk cache, | 706 // most of the dependencies which are shared between requests (disk cache, |
707 // cookie store, socket pool, etc.) | 707 // cookie store, socket pool, etc.) |
708 scoped_refptr<const URLRequestContext> context_; | 708 const URLRequestContext* context_; |
709 | 709 |
710 // Tracks the time spent in various load states throughout this request. | 710 // Tracks the time spent in various load states throughout this request. |
711 BoundNetLog net_log_; | 711 BoundNetLog net_log_; |
712 | 712 |
713 scoped_refptr<URLRequestJob> job_; | 713 scoped_refptr<URLRequestJob> job_; |
714 scoped_refptr<UploadData> upload_; | 714 scoped_refptr<UploadData> upload_; |
715 std::vector<GURL> url_chain_; | 715 std::vector<GURL> url_chain_; |
716 GURL first_party_for_cookies_; | 716 GURL first_party_for_cookies_; |
717 GURL delegate_redirect_url_; | 717 GURL delegate_redirect_url_; |
718 std::string method_; // "GET", "POST", etc. Should be all uppercase. | 718 std::string method_; // "GET", "POST", etc. Should be all uppercase. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 scoped_refptr<AuthChallengeInfo> auth_info_; | 787 scoped_refptr<AuthChallengeInfo> auth_info_; |
788 | 788 |
789 base::TimeTicks creation_time_; | 789 base::TimeTicks creation_time_; |
790 | 790 |
791 DISALLOW_COPY_AND_ASSIGN(URLRequest); | 791 DISALLOW_COPY_AND_ASSIGN(URLRequest); |
792 }; | 792 }; |
793 | 793 |
794 } // namespace net | 794 } // namespace net |
795 | 795 |
796 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 796 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
OLD | NEW |