summaryrefslogtreecommitdiffstats
path: root/app/sql/transaction.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 22:15:44 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 22:15:44 +0000
commita5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8 (patch)
tree8c17b41a706b9fab9960e947a52860bf0efc9712 /app/sql/transaction.h
parenta3aaf3d6b857cdc73f837b36b05bf75bbd76b3b1 (diff)
downloadchromium_src-a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8.zip
chromium_src-a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8.tar.gz
chromium_src-a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8.tar.bz2
Fix lint errors in app/ and turn on presubmit check.
Review URL: http://codereview.chromium.org/400016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/sql/transaction.h')
-rw-r--r--app/sql/transaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sql/transaction.h b/app/sql/transaction.h
index 1e00c6f..70741d1 100644
--- a/app/sql/transaction.h
+++ b/app/sql/transaction.h
@@ -17,7 +17,7 @@ class Transaction {
// transaction. If you have begun a transaction and not committed it, the
// constructor will roll back the transaction. If you want to commit, you
// need to manually call Commit before this goes out of scope.
- Transaction(Connection* connection);
+ explicit Transaction(Connection* connection);
~Transaction();
// Returns true when there is a transaction that has been successfully begun.