diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-28 00:25:06 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-29 23:09:09 +0900 |
| commit | 5a223115e09cd568169fe2efd71d09689a980335 (patch) | |
| tree | 61250fc5f89229e4ecc63d70ae2069207388fea0 /src/cookie_helper.h | |
| parent | 0b1e05b13bfd7cfbf75b299c1f32cdd6e6aed953 (diff) | |
Rewrite CookieStorage
Diffstat (limited to 'src/cookie_helper.h')
| -rw-r--r-- | src/cookie_helper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cookie_helper.h b/src/cookie_helper.h index 7e481f53..79264b09 100644 --- a/src/cookie_helper.h +++ b/src/cookie_helper.h @@ -38,6 +38,7 @@ #include "common.h" #include <string> +#include <memory> #include "a2time.h" @@ -52,9 +53,8 @@ bool parseDate std::string::const_iterator first, std::string::const_iterator last); -bool parse -(Cookie& cookie, - const std::string& cookieStr, +std::unique_ptr<Cookie> parse +(const std::string& cookieStr, const std::string& requestHost, const std::string& defaultPath, time_t creationTime); |
