summaryrefslogtreecommitdiffstats
path: root/sql/connection.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-01 20:18:16 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-01 20:18:16 +0000
commit4ab952fe9107033ac12a973cd599a7bdb9bcb57a (patch)
treefa1ecc86d007ba6a3a7f2ec8259ed69fb5ea4521 /sql/connection.h
parent9a1d0d7f92dd754a4b29f8bd507a7cbeabce1c71 (diff)
downloadchromium_src-4ab952fe9107033ac12a973cd599a7bdb9bcb57a.zip
chromium_src-4ab952fe9107033ac12a973cd599a7bdb9bcb57a.tar.gz
chromium_src-4ab952fe9107033ac12a973cd599a7bdb9bcb57a.tar.bz2
Misc. cleanup found while mucking with search engines code:
* Don't handle DCHECK failure * Remove NOTREACHED()/LOG(ERROR) from cases that look like they could legitimately happen * All lines of args should begin at the same position * WebDataService::SetDefaultSearchProvider() doesn't actually need a full TemplateURL, just an ID * Use GetCachedStatement correctly, and in more places * Make KeywordTableTest a friend of KeywordTable to reduce FRIEND_TEST declarations and in preparation for making Add/Update/RemoveKeyword private * Data members should be private, not protected * Function declarations: all args on first line or one arg per line * Fix misspelling BUG=none TEST=none R=shess@chromium.org Review URL: https://codereview.chromium.org/217613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/connection.h')
-rw-r--r--sql/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/connection.h b/sql/connection.h
index 5f11e44..5bbdb97 100644
--- a/sql/connection.h
+++ b/sql/connection.h
@@ -107,7 +107,7 @@ class SQL_EXPORT Connection {
// Call to put the database in exclusive locking mode. There is no "back to
// normal" flag because of some additional requirements sqlite puts on this
- // transaition (requires another access to the DB) and because we don't
+ // transaction (requires another access to the DB) and because we don't
// actually need it.
//
// Exclusive mode means that the database is not unlocked at the end of each