Commit b35cbbd9 authored by shess@chromium.org's avatar shess@chromium.org

Include third_party/sqlite/sqlite3.h directly.

Chromium's third_party/sqlite build config arranges for
third_party/sqlite to be part of the include path so that <sqlite3.h>
works in these files.  The system version of sqlite3.h can still be used
with the use_system_sqlite build override.

BUG=526828

Review URL: https://codereview.chromium.org/1317683008

git-svn-id: svn://svn.chromium.org/blink/trunk@201600 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 05cdea84
include_rules = [
"+third_party/sqlite/sqlite3.h",
]
......@@ -29,7 +29,7 @@
#include "config.h"
#include "modules/webdatabase/DatabaseAuthorizer.h"
#include <sqlite3.h>
#include "third_party/sqlite/sqlite3.h"
namespace blink {
......
......@@ -27,11 +27,11 @@
#include "config.h"
#include "modules/webdatabase/sqlite/SQLiteDatabase.h"
#include <sqlite3.h>
#include "platform/Logging.h"
#include "modules/webdatabase/sqlite/SQLiteFileSystem.h"
#include "modules/webdatabase/sqlite/SQLiteStatement.h"
#include "modules/webdatabase/DatabaseAuthorizer.h"
#include "third_party/sqlite/sqlite3.h"
namespace blink {
......
......@@ -33,7 +33,7 @@
#include "platform/heap/Handle.h"
#include "platform/heap/SafePoint.h"
#include <sqlite3.h>
#include "third_party/sqlite/sqlite3.h"
#include "wtf/text/CString.h"
// SQLiteFileSystem::registerSQLiteVFS() is implemented in the
......
......@@ -34,8 +34,8 @@
#include "config.h"
#include "modules/webdatabase/sqlite/SQLiteFileSystem.h"
#include <sqlite3.h>
#include "public/platform/Platform.h"
#include "third_party/sqlite/sqlite3.h"
#include <fcntl.h>
#include <string.h>
......
......@@ -35,8 +35,8 @@
#include "modules/webdatabase/sqlite/SQLiteFileSystem.h"
#include <windows.h>
#include <sqlite3.h>
#include "public/platform/Platform.h"
#include "third_party/sqlite/sqlite3.h"
namespace blink {
......
......@@ -29,9 +29,9 @@
#include "modules/webdatabase/sqlite/SQLValue.h"
#include "platform/Logging.h"
#include "platform/heap/SafePoint.h"
#include "third_party/sqlite/sqlite3.h"
#include "wtf/Assertions.h"
#include "wtf/text/CString.h"
#include <sqlite3.h>
// SQLite 3.6.16 makes sqlite3_prepare_v2 automatically retry preparing the statement
// once if the database scheme has changed. We rely on this behavior.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment