| Index: content/public/common/url_fetcher.h
|
| ===================================================================
|
| --- content/public/common/url_fetcher.h (revision 120612)
|
| +++ content/public/common/url_fetcher.h (working copy)
|
| @@ -76,6 +76,7 @@
|
| HEAD,
|
| DELETE_REQUEST, // DELETE is already taken on Windows.
|
| // <winnt.h> defines a DELETE macro.
|
| + PUT,
|
| };
|
|
|
| // |url| is the URL to send the request to.
|
| @@ -139,9 +140,15 @@
|
|
|
| // Set extra headers on the request. Must be called before the request
|
| // is started.
|
| + // This replaces the entire extra request headers.
|
| virtual void SetExtraRequestHeaders(
|
| const std::string& extra_request_headers) = 0;
|
|
|
| + // Add header (with format field-name ":" [ field-value ]) to the request
|
| + // headers. Must be called before the request is started.
|
| + // This appends the header to the current extra request headers.
|
| + virtual void AddExtraRequestHeader(const std::string& header_line) = 0;
|
| +
|
| virtual void GetExtraRequestHeaders(net::HttpRequestHeaders* headers) = 0;
|
|
|
| // Set the net::URLRequestContext on the request. Must be called before the
|
|
|