| Index: net/http/http_content_disposition.h
|
| diff --git a/net/http/http_content_disposition.h b/net/http/http_content_disposition.h
|
| index 2b4ca709eb3cbb581bab6c9101eda889fc0a3141..2356509d2796af442954387a37d1f9b7203bcafa 100644
|
| --- a/net/http/http_content_disposition.h
|
| +++ b/net/http/http_content_disposition.h
|
| @@ -21,33 +21,33 @@ class NET_EXPORT HttpContentDisposition {
|
|
|
| // Properties of the Content-Disposition header. Used for UMA.
|
| enum ParseResultFlags {
|
| - INVALID = 0,
|
| + INVALID = 0,
|
|
|
| // A valid disposition-type is present.
|
| - HAS_DISPOSITION_TYPE = 1 << 0,
|
| + HAS_DISPOSITION_TYPE = 1 << 0,
|
|
|
| // The disposition-type is not 'inline' or 'attachment'.
|
| HAS_UNKNOWN_DISPOSITION_TYPE = 1 << 1,
|
|
|
| // Has a valid non-empty 'name' attribute.
|
| - HAS_NAME = 1 << 2,
|
| + HAS_NAME = 1 << 2,
|
|
|
| // Has a valid non-empty 'filename' attribute.
|
| - HAS_FILENAME = 1 << 3,
|
| + HAS_FILENAME = 1 << 3,
|
|
|
| // Has a valid non-empty 'filename*' attribute.
|
| - HAS_EXT_FILENAME = 1 << 4,
|
| + HAS_EXT_FILENAME = 1 << 4,
|
|
|
| // The following fields are properties of the 'filename' attribute:
|
|
|
| // Quoted-string contains non-ASCII characters.
|
| - HAS_NON_ASCII_STRINGS = 1 << 5,
|
| + HAS_NON_ASCII_STRINGS = 1 << 5,
|
|
|
| // Quoted-string contains percent-encoding.
|
| - HAS_PERCENT_ENCODED_STRINGS = 1 << 6,
|
| + HAS_PERCENT_ENCODED_STRINGS = 1 << 6,
|
|
|
| // Quoted-string contains RFC 2047 encoded words.
|
| - HAS_RFC2047_ENCODED_STRINGS = 1 << 7
|
| + HAS_RFC2047_ENCODED_STRINGS = 1 << 7
|
| };
|
|
|
| HttpContentDisposition(const std::string& header,
|
| @@ -65,7 +65,8 @@ class NET_EXPORT HttpContentDisposition {
|
| private:
|
| void Parse(const std::string& header, const std::string& referrer_charset);
|
| std::string::const_iterator ConsumeDispositionType(
|
| - std::string::const_iterator begin, std::string::const_iterator end);
|
| + std::string::const_iterator begin,
|
| + std::string::const_iterator end);
|
|
|
| Type type_;
|
| std::string filename_;
|
|
|