Chromium Code Reviews| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/time.h" | |
|
erikwright (departed)
2012/07/17 15:59:20
No longer needed.
battre
2012/07/18 08:48:43
Done.
| |
| 12 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 | 16 |
| 16 class NET_EXPORT ParsedCookie { | 17 class NET_EXPORT ParsedCookie { |
| 17 public: | 18 public: |
| 18 typedef std::pair<std::string, std::string> TokenValuePair; | 19 typedef std::pair<std::string, std::string> TokenValuePair; |
| 19 typedef std::vector<TokenValuePair> PairList; | 20 typedef std::vector<TokenValuePair> PairList; |
| 20 | 21 |
| 21 // The maximum length of a cookie string we will try to parse | 22 // The maximum length of a cookie string we will try to parse |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 size_t maxage_index_; | 111 size_t maxage_index_; |
| 111 size_t secure_index_; | 112 size_t secure_index_; |
| 112 size_t httponly_index_; | 113 size_t httponly_index_; |
| 113 | 114 |
| 114 DISALLOW_COPY_AND_ASSIGN(ParsedCookie); | 115 DISALLOW_COPY_AND_ASSIGN(ParsedCookie); |
| 115 }; | 116 }; |
| 116 | 117 |
| 117 } // namespace net | 118 } // namespace net |
| 118 | 119 |
| 119 #endif // NET_COOKIES_COOKIE_MONSTER_H_ | 120 #endif // NET_COOKIES_COOKIE_MONSTER_H_ |
| OLD | NEW |