From 1ed78a31b405c4b85a3747d697e464508e7c4399 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 15 Sep 2009 20:24:17 +0000 Subject: 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 --- app/sql/statement.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/sql/statement.h') 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 @@ class Statement { // 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* val); + int ColumnByteLength(int col) const; + const void* ColumnBlob(int col) const; + void ColumnBlobAsVector(int col, std::vector* val) const; + void ColumnBlobAsVector(int col, std::vector* val) const; private: // This is intended to check for serious errors and report them to the -- cgit v1.1