OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_HTTP_HTTP_CONTENT_DISPOSITION_H_ | 5 #ifndef NET_HTTP_HTTP_CONTENT_DISPOSITION_H_ |
6 #define NET_HTTP_HTTP_CONTENT_DISPOSITION_H_ | 6 #define NET_HTTP_HTTP_CONTENT_DISPOSITION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 class NET_EXPORT HttpContentDisposition { | 15 class NET_EXPORT HttpContentDisposition { |
16 public: | 16 public: |
17 enum Type { | 17 enum Type { |
18 INLINE, | 18 INLINE, |
19 ATTACHMENT, | 19 ATTACHMENT, |
20 }; | 20 }; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 Type type_; | 69 Type type_; |
70 std::string filename_; | 70 std::string filename_; |
71 int parse_result_flags_; | 71 int parse_result_flags_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(HttpContentDisposition); | 73 DISALLOW_COPY_AND_ASSIGN(HttpContentDisposition); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace net | 76 } // namespace net |
77 | 77 |
78 #endif // NET_HTTP_HTTP_CONTENT_DISPOSITION_H_ | 78 #endif // NET_HTTP_HTTP_CONTENT_DISPOSITION_H_ |
OLD | NEW |