summaryrefslogtreecommitdiffstats
path: root/chrome/common/sqlite_utils.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-19 01:59:48 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-19 01:59:48 +0000
commit7894ae2ad4702e20bdfcea0bc5ba12adad1a02cd (patch)
treebb0d537436cd455f552eb95e8982c891c36e35ef /chrome/common/sqlite_utils.h
parent87f59d48a8c90999ce33ba414435fae0e32e2f0c (diff)
downloadchromium_src-7894ae2ad4702e20bdfcea0bc5ba12adad1a02cd.zip
chromium_src-7894ae2ad4702e20bdfcea0bc5ba12adad1a02cd.tar.gz
chromium_src-7894ae2ad4702e20bdfcea0bc5ba12adad1a02cd.tar.bz2
Remove incorrect usages of USE_SYSTEM_SQLITE.
Currently we don't provide any support to the system sqlite. BUG=None TEST=trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3049001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52879 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/sqlite_utils.h')
-rw-r--r--chrome/common/sqlite_utils.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/chrome/common/sqlite_utils.h b/chrome/common/sqlite_utils.h
index 7ae6572..f7351a2 100644
--- a/chrome/common/sqlite_utils.h
+++ b/chrome/common/sqlite_utils.h
@@ -8,16 +8,11 @@
#include <string>
#include <vector>
-#if defined(USE_SYSTEM_SQLITE)
-#include <sqlite3.h>
-#else
-#include "third_party/sqlite/preprocessed/sqlite3.h"
-#endif
-
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
#include "base/string16.h"
#include "base/utf_string_conversions.h"
+#include "third_party/sqlite/preprocessed/sqlite3.h"
// forward declarations of classes defined here
class FilePath;
@@ -401,10 +396,4 @@ bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name);
} // namespace sqlite_utils
-#if defined(USE_SYSTEM_SQLITE)
-// This function is a local change to sqlite3 which doesn't exist when one is
-// using the system sqlite library. Thus, we stub it out here.
-int sqlite3Preload(sqlite3* db);
-#endif
-
#endif // CHROME_COMMON_SQLITE_UTILS_H_