app/sql/connection hygiene enforcement.

For awhile we had an error where an invalid page_size was being passed in, and SQLite silently ignored it.  No more!  Fix cache_size logging line.  Pull the exclusive locking up to fail more obviously in case someone else has the exclusive lock.

Also, I don't think our code is likely handling the SQLITE_BUSY case correctly.  Added some initial code to execute some sql with a timeout.

BUG=56559
TEST=unit tests

Review URL: http://codereview.chromium.org/3413028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60799 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed