diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 19:21:41 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 19:21:41 +0000 |
commit | fd401e556429b2cef6aaab95d9033069ddd790ac (patch) | |
tree | 457d63965d5a5e06691bb01ed436566aa99be76f /chrome/common/sqlite_utils.h | |
parent | 448e475185329b14721e500152e6f4d64bff911e (diff) | |
download | chromium_src-fd401e556429b2cef6aaab95d9033069ddd790ac.zip chromium_src-fd401e556429b2cef6aaab95d9033069ddd790ac.tar.gz chromium_src-fd401e556429b2cef6aaab95d9033069ddd790ac.tar.bz2 |
Ports TextDatabase and ExpireHistoryTest to use FilePath.
Patch by rohitrao@google.com
http://codereview.chromium.org/40001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/sqlite_utils.h')
-rw-r--r-- | chrome/common/sqlite_utils.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/sqlite_utils.h b/chrome/common/sqlite_utils.h index b7325af..836ad15 100644 --- a/chrome/common/sqlite_utils.h +++ b/chrome/common/sqlite_utils.h @@ -309,9 +309,10 @@ class SQLStatement : public scoped_sqlite3_stmt_ptr { // TODO(estade): wrap the following static functions in a namespace. -// Opens the DB in the file pointed to by |filepath|. -// See http://www.sqlite.org/capi3ref.html#sqlite3_open for an explanation -// of the return value. +// Opens the DB in the file pointed to by |filepath|. This method forces the +// database to be in UTF-8 mode on all platforms. See +// http://www.sqlite.org/capi3ref.html#sqlite3_open for an explanation of the +// return value. int OpenSqliteDb(const FilePath& filepath, sqlite3** database); // Returns true if there is a table with the given name in the database. |