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

Unified Diff: Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp

Issue 1311913002: [sqlite] Remove WebDatabase externs and depend on what you use. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Doc the #define Created 5 years, 4 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 | « Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
diff --git a/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp b/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
index b512ece3bf76e478213c71d2cbfbf8826efe8123..b3eace49fc6f3e8449ae66064205af3260d0afdf 100644
--- a/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
+++ b/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
@@ -28,6 +28,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// Expose chromium_sqlite3_* functions from Chromium's patched SQLite.
+#define CHROMIUM_SQLITE_INTERNALS
+
#include "config.h"
#include "modules/webdatabase/sqlite/SQLiteFileSystem.h"
@@ -35,11 +38,6 @@
#include <sqlite3.h>
#include "public/platform/Platform.h"
-// Defined in Chromium's codebase in third_party/sqlite/src/os_win.c
-extern "C" {
-int chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle);
-}
-
namespace blink {
// Chromium's Windows implementation of SQLite VFS
« no previous file with comments | « Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698