Convert the sqlite cookie database and web database to use the new sqlite
wrapper. This also moves and renamed the old cookie_monster_sqlite file to
match the class name.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/201099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26260 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/app/sql/statement.h b/app/sql/statement.h
index 371bc4e..a711ae5 100644
--- a/app/sql/statement.h
+++ b/app/sql/statement.h
@@ -105,9 +105,10 @@
// When reading a blob, you can get a raw pointer to the underlying data,
// along with the length, or you can just ask us to copy the blob into a
// vector. Danger! ColumnBlob may return NULL if there is no data!
- int ColumnByteLength(int col);
- const void* ColumnBlob(int col);
- void ColumnBlobAsVector(int col, std::vector<char>* val);
+ int ColumnByteLength(int col) const;
+ const void* ColumnBlob(int col) const;
+ void ColumnBlobAsVector(int col, std::vector<char>* val) const;
+ void ColumnBlobAsVector(int col, std::vector<unsigned char>* val) const;
private:
// This is intended to check for serious errors and report them to the