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_COOKIES_PARSED_COOKIE_H_ | 5 #ifndef NET_COOKIES_PARSED_COOKIE_H_ |
6 #define NET_COOKIES_PARSED_COOKIE_H_ | 6 #define NET_COOKIES_PARSED_COOKIE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
12 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
13 #include "net/cookies/cookie_constants.h" | 15 #include "net/cookies/cookie_constants.h" |
14 | 16 |
15 namespace net { | 17 namespace net { |
16 | 18 |
17 class NET_EXPORT ParsedCookie { | 19 class NET_EXPORT ParsedCookie { |
18 public: | 20 public: |
19 typedef std::pair<std::string, std::string> TokenValuePair; | 21 typedef std::pair<std::string, std::string> TokenValuePair; |
20 typedef std::vector<TokenValuePair> PairList; | 22 typedef std::vector<TokenValuePair> PairList; |
21 | 23 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 size_t httponly_index_; | 142 size_t httponly_index_; |
141 size_t firstpartyonly_index_; | 143 size_t firstpartyonly_index_; |
142 size_t priority_index_; | 144 size_t priority_index_; |
143 | 145 |
144 DISALLOW_COPY_AND_ASSIGN(ParsedCookie); | 146 DISALLOW_COPY_AND_ASSIGN(ParsedCookie); |
145 }; | 147 }; |
146 | 148 |
147 } // namespace net | 149 } // namespace net |
148 | 150 |
149 #endif // NET_COOKIES_COOKIE_MONSTER_H_ | 151 #endif // NET_COOKIES_COOKIE_MONSTER_H_ |
OLD | NEW |