OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBURLREQUEST_H_ | 5 #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_ |
6 #define WEBKIT_GLUE_WEBURLREQUEST_H_ | 6 #define WEBKIT_GLUE_WEBURLREQUEST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // Returns true if the request has upload data. | 116 // Returns true if the request has upload data. |
117 virtual bool HasUploadData() const = 0; | 117 virtual bool HasUploadData() const = 0; |
118 | 118 |
119 // Returns the request upload data. This object is temporary and should be | 119 // Returns the request upload data. This object is temporary and should be |
120 // deleted after use. | 120 // deleted after use. |
121 virtual void GetUploadData(net::UploadData* data) const = 0; | 121 virtual void GetUploadData(net::UploadData* data) const = 0; |
122 | 122 |
123 // Set the request upload data. | 123 // Set the request upload data. |
124 virtual void SetUploadData(const net::UploadData& data) = 0; | 124 virtual void SetUploadData(const net::UploadData& data) = 0; |
125 | 125 |
| 126 // Sets the requestor id. |
| 127 virtual void SetRequestorID(int requestor_id) = 0; |
| 128 |
126 virtual ~WebRequest() { } | 129 virtual ~WebRequest() { } |
127 }; | 130 }; |
128 | 131 |
129 #endif // #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_ | 132 #endif // #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_ |
OLD | NEW |