summaryrefslogtreecommitdiffstats
path: root/app/sql
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-22 16:19:13 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-22 16:19:13 +0000
commite7afe2458ed03e907601cd3c05dc5f253f824d88 (patch)
tree1cf245de79837f358de6939d44df9f2a2d54fd01 /app/sql
parentac1894aec051033fc13bc41e1399ac05f5df3cc6 (diff)
downloadchromium_src-e7afe2458ed03e907601cd3c05dc5f253f824d88.zip
chromium_src-e7afe2458ed03e907601cd3c05dc5f253f824d88.tar.gz
chromium_src-e7afe2458ed03e907601cd3c05dc5f253f824d88.tar.bz2
Spelling correction: "nonexistant" -> "nonexistent".
BUG=none TEST=good spellers are slightly happier Review URL: http://codereview.chromium.org/3143037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/sql')
-rw-r--r--app/sql/connection.cc6
-rw-r--r--app/sql/connection_unittest.cc4
-rw-r--r--app/sql/transaction.cc6
3 files changed, 8 insertions, 8 deletions
diff --git a/app/sql/connection.cc b/app/sql/connection.cc
index 62ebfaf..c5f991f 100644
--- a/app/sql/connection.cc
+++ b/app/sql/connection.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -122,7 +122,7 @@ bool Connection::BeginTransaction() {
void Connection::RollbackTransaction() {
if (!transaction_nesting_) {
- NOTREACHED() << "Rolling back a nonexistant transaction";
+ NOTREACHED() << "Rolling back a nonexistent transaction";
return;
}
@@ -139,7 +139,7 @@ void Connection::RollbackTransaction() {
bool Connection::CommitTransaction() {
if (!transaction_nesting_) {
- NOTREACHED() << "Rolling back a nonexistant transaction";
+ NOTREACHED() << "Rolling back a nonexistent transaction";
return false;
}
transaction_nesting_--;
diff --git a/app/sql/connection_unittest.cc b/app/sql/connection_unittest.cc
index 5cd55a7..0a14a9a 100644
--- a/app/sql/connection_unittest.cc
+++ b/app/sql/connection_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -91,7 +91,7 @@ TEST_F(SQLConnectionTest, DoesStuffExist) {
EXPECT_FALSE(db().DoesColumnExist("foo", "bar"));
EXPECT_TRUE(db().DoesColumnExist("foo", "a"));
- // Testing for a column on a nonexistant table.
+ // Testing for a column on a nonexistent table.
EXPECT_FALSE(db().DoesColumnExist("bar", "b"));
}
diff --git a/app/sql/transaction.cc b/app/sql/transaction.cc
index 79a198b..10bcfb0 100644
--- a/app/sql/transaction.cc
+++ b/app/sql/transaction.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -30,7 +30,7 @@ bool Transaction::Begin() {
void Transaction::Rollback() {
if (!is_open_) {
- NOTREACHED() << "Attempting to roll back a nonexistant transaction. "
+ NOTREACHED() << "Attempting to roll back a nonexistent transaction. "
<< "Did you remember to call Begin() and check its return?";
return;
}
@@ -40,7 +40,7 @@ void Transaction::Rollback() {
bool Transaction::Commit() {
if (!is_open_) {
- NOTREACHED() << "Attempting to commit a nonexistant transaction. "
+ NOTREACHED() << "Attempting to commit a nonexistent transaction. "
<< "Did you remember to call Begin() and check its return?";
return false;
}