summaryrefslogtreecommitdiffstats
path: root/sql/meta_table.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-03 02:07:46 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-03 02:07:46 +0000
commitc3ebc3261f1de891dd4b791084743590f7dc3b78 (patch)
treeb054fd68a62181549b7d2c58dd17bece2b172757 /sql/meta_table.h
parentfbfb789cf1da8d216c4862aafbbb5df0059f1c4a (diff)
downloadchromium_src-c3ebc3261f1de891dd4b791084743590f7dc3b78.zip
chromium_src-c3ebc3261f1de891dd4b791084743590f7dc3b78.tar.gz
chromium_src-c3ebc3261f1de891dd4b791084743590f7dc3b78.tar.bz2
Add a DeleteKey() method to delete a key from the meta table. This will be used in the TemplateURL refactoring changes.
Reorder function definitions to match declaration order. Shorten a few bits. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9584031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/meta_table.h')
-rw-r--r--sql/meta_table.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/meta_table.h b/sql/meta_table.h
index 214ba27..497d918 100644
--- a/sql/meta_table.h
+++ b/sql/meta_table.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -68,6 +68,9 @@ class SQL_EXPORT MetaTable {
bool GetValue(const char* key, int* value);
bool GetValue(const char* key, int64* value);
+ // Deletes the key from the table.
+ bool DeleteKey(const char* key);
+
private:
// Conveniences to prepare the two types of statements used by
// MetaTableHelper.