| Index: content/public/browser/download_url_parameters.h
|
| diff --git a/content/public/browser/download_url_parameters.h b/content/public/browser/download_url_parameters.h
|
| index 6a319487deda2f422f647f0eb5247577944b5bcd..f76a55cc3f08c70aa09c357f00008d1b1254253e 100644
|
| --- a/content/public/browser/download_url_parameters.h
|
| +++ b/content/public/browser/download_url_parameters.h
|
| @@ -69,6 +69,12 @@ class CONTENT_EXPORT DownloadUrlParameters {
|
| referrer_encoding_ = referrer_encoding;
|
| }
|
| void set_load_flags(int load_flags) { load_flags_ |= load_flags; }
|
| + void set_last_modified(const std::string& last_modified) {
|
| + last_modified_ = last_modified;
|
| + }
|
| + void set_etag(const std::string& etag) {
|
| + etag_ = etag;
|
| + }
|
| void set_method(const std::string& method) {
|
| method_ = method;
|
| }
|
| @@ -86,6 +92,8 @@ class CONTENT_EXPORT DownloadUrlParameters {
|
| const OnStartedCallback& callback() const { return callback_; }
|
| bool content_initiated() const { return content_initiated_; }
|
| int load_flags() const { return load_flags_; }
|
| + const std::string& last_modified() { return last_modified_; }
|
| + const std::string& etag() { return etag_; }
|
| const std::string& method() const { return method_; }
|
| const std::string& post_body() const { return post_body_; }
|
| int64 post_id() const { return post_id_; }
|
| @@ -116,6 +124,8 @@ class CONTENT_EXPORT DownloadUrlParameters {
|
| bool content_initiated_;
|
| RequestHeadersType request_headers_;
|
| int load_flags_;
|
| + std::string last_modified_;
|
| + std::string etag_;
|
| std::string method_;
|
| std::string post_body_;
|
| int64 post_id_;
|
|
|