Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: chrome/common/sqlite_utils.h

Issue 3049001: Remove incorrect usages of USE_SYSTEM_SQLITE. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: brettw comments Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/sqlite_compiled_statement.cc ('k') | chrome/common/sqlite_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/sqlite_utils.h
diff --git a/chrome/common/sqlite_utils.h b/chrome/common/sqlite_utils.h
index 7ae6572ac4b1090dd8d0e33f92987fa72c1216d2..f7351a2a3a5d9def2223936b19c1995dd3f26fc0 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_
« no previous file with comments | « chrome/common/sqlite_compiled_statement.cc ('k') | chrome/common/sqlite_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698