From aabb6bb2d97f00293160e38902f41b19dac41ff9 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 17 Aug 2008 12:56:23 +0000 Subject: [PATCH] 2008-08-17 Tatsuhiro Tsujikawa Made parse() const * src/Sqlite3MozCookieParser.cc * src/Sqlite3MozCookieParser.h --- ChangeLog | 6 ++++++ src/Sqlite3MozCookieParser.cc | 3 ++- src/Sqlite3MozCookieParser.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 88745b1f..6f61ad35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-17 Tatsuhiro Tsujikawa + + Made parse() const + * src/Sqlite3MozCookieParser.cc + * src/Sqlite3MozCookieParser.h + 2008-08-17 Tatsuhiro Tsujikawa Added firefox3 cookie support based on the patch submitted by diff --git a/src/Sqlite3MozCookieParser.cc b/src/Sqlite3MozCookieParser.cc index 5a47f3c4..c02eecaf 100644 --- a/src/Sqlite3MozCookieParser.cc +++ b/src/Sqlite3MozCookieParser.cc @@ -82,7 +82,8 @@ static int cookieRowMapper(void* data, int rowIndex, return 0; } -std::deque Sqlite3MozCookieParser::parse(const std::string& filename) +std::deque +Sqlite3MozCookieParser::parse(const std::string& filename) const { sqlite3* db = 0; diff --git a/src/Sqlite3MozCookieParser.h b/src/Sqlite3MozCookieParser.h index 3a502cb7..103ce279 100644 --- a/src/Sqlite3MozCookieParser.h +++ b/src/Sqlite3MozCookieParser.h @@ -48,7 +48,7 @@ public: ~Sqlite3MozCookieParser(); - std::deque parse(const std::string& filename); + std::deque parse(const std::string& filename) const; }; } // namespace aria2