Index: third_party/sqlite/src/src/recover.h |
diff --git a/third_party/sqlite/src/src/recover.h b/third_party/sqlite/src/src/recover.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..691f2fdbab2204d79c1ff37c393cf5d61cce58b5 |
--- /dev/null |
+++ b/third_party/sqlite/src/src/recover.h |
@@ -0,0 +1,23 @@ |
+/* TODO(shess): sqliteicu.h is able to make this include without |
+** trouble. It doesn't work when used with Chromium's SQLite. For |
+** now the including code must include sqlite3.h first. |
+*/ |
+/* #include "sqlite3.h" */ |
+ |
+#ifdef __cplusplus |
+extern "C" { |
+#endif |
+ |
+/* |
+** Call to initialize the recover virtual-table modules (see recover.c). |
+** |
+** This could be loaded by default in main.c, but that would make the |
+** virtual table available to Web SQL. Breaking it out allows only |
+** selected users to enable it (currently sql/recovery.cc). |
+*/ |
+SQLITE_API |
Scott Hess - ex-Googler
2016/03/02 01:17:37
CHROMIUM_SQLITE_API was a hack because of how SQLi
|
+int recoverVtableInit(sqlite3 *db); |
+ |
+#ifdef __cplusplus |
+} /* End of the 'extern "C"' block */ |
+#endif |