summaryrefslogtreecommitdiffstats
path: root/chrome/common/sqlite_utils.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove the CHECK() when SQLite is corrupt.cpu@chromium.org2009-09-221-8/+1
| | | | | | | | | | | | | | Got plenty of crashes in 4.0.211.4 BUG=11908 TEST=none TBR=bretw Review URL: http://codereview.chromium.org/217007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26767 0039d316-1c4b-4281-b951-d872f2087c98
* Crash on serious error in sqlite (release build)cpu@chromium.org2009-09-081-3/+10
| | | | | | | | | | | | | | | | | How do you guys feel about trying this pach for a few days? The idea is to have devs that run their own build to help us test wether or not we are having serious errors. I'll monitor the crash server to see if we get crashes here BUG=11908 TEST=none Review URL: http://codereview.chromium.org/195020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25633 0039d316-1c4b-4281-b951-d872f2087c98
* Detect error codes in sqlite calls (one)cpu@chromium.org2009-08-251-1/+82
| | | | | | | | | | | | | - This CL is the skeleton of the approach, does not change current behavior - Right now only detects errors for the SQLStatement::step calls TEST=none BUG=11908 Review URL: http://codereview.chromium.org/174090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24321 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out sqlite3Preload when using system library.agl@chromium.org2009-08-191-0/+8
| | | | | | | | | | | | | We have a local patch to sqlite which adds a sqlite3Preload function. In the interim before this patch is upstreamed, we add this stub function to allow us to compile with a system sqlite. (Reported by fta) http://codereview.chromium.org/173033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23682 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Add and Update for PasswordStoreMac.stuartmorgan@chromium.org2009-07-021-0/+5
| | | | | | | | | | | Modify LoginDatabase slightly to give PasswordStoreMac enough information to do the right thing. Add creator code for keychain items we create, and unit tests to make sure. BUG=11745 TEST=Visit a site for which you have a password in the Keychain. Type your username, unfocus the field, and then log in with the filled password. Log out, return to the login page, and the username and password should now autofill without user interaction. Review URL: http://codereview.chromium.org/151176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19822 0039d316-1c4b-4281-b951-d872f2087c98
* Ports TextDatabase and ExpireHistoryTest to use FilePath.brettw@chromium.org2009-03-131-1/+3
| | | | | | | 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
* NO CODE CHANGEdeanm@chromium.org2009-03-101-1/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* Correct sqlite wrapper behavior on systems where wchar_t is UTF-32,phajdan.jr@chromium.org2009-01-301-25/+11
| | | | | | | | | | | | for example Linux. The problem was that old code assumed wstring is UTF-16, which resulted in string corruption on Linux. I actually tested it on browser/history unit tests, see http://codereview.chromium.org/18758. Review URL: http://codereview.chromium.org/18805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8977 0039d316-1c4b-4281-b951-d872f2087c98
* Safe browsing cleanup:estade@chromium.org2009-01-281-1/+9
| | | | | | | | | * wstring -> FilePath * create versions of WriteFile/ReadFile with FilePath signatures Review URL: http://codereview.chromium.org/19610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8797 0039d316-1c4b-4281-b951-d872f2087c98
* Don't crash when getting strings out of the database. column_text is a ↵brettw@google.com2008-11-051-2/+2
| | | | | | | | | little dangerous because it can return NULL. Most STL string stuff can't handle this. I changed the uses to column_string() which handles NULL properly and generates STL strings for us. BUG=3770 Review URL: http://codereview.chromium.org/9189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4811 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup a few files, reduce the number of includes.maruel@google.com2008-08-121-0/+338
| | | | | | | | Applied glint. No code change, just moving around. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@713 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome to the repository.initial.commit2008-07-261-0/+95
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15 0039d316-1c4b-4281-b951-d872f2087c98