| 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 f8bfa0a6da23ff17f50bdf85ef4dd08e32bcd6f2..a8e32586f155e8300eb1b6cdb6278ff597bc04b5 100644
|
| --- a/content/public/browser/download_url_parameters.h
|
| +++ b/content/public/browser/download_url_parameters.h
|
| @@ -67,6 +67,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;
|
| }
|
| @@ -98,6 +104,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_; }
|
| @@ -138,6 +146,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_;
|
|
|