Remove ENABLE(SQL_DATABASE) guards
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jan 2015 08:05:12 +0000 (08:05 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jan 2015 08:05:12 +0000 (08:05 +0000)
https://bugs.webkit.org/show_bug.cgi?id=140434

Reviewed by Darin Adler.

.:

* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* DerivedSources.make:
* inspector/protocol/Database.json:

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:
* Modules/webdatabase/AbstractDatabaseServer.h:
* Modules/webdatabase/ChangeVersionData.h:
* Modules/webdatabase/ChangeVersionWrapper.cpp:
* Modules/webdatabase/ChangeVersionWrapper.h:
* Modules/webdatabase/DOMWindowWebDatabase.cpp:
* Modules/webdatabase/DOMWindowWebDatabase.h:
* Modules/webdatabase/DOMWindowWebDatabase.idl:
* Modules/webdatabase/Database.cpp:
* Modules/webdatabase/Database.h:
* Modules/webdatabase/Database.idl:
* Modules/webdatabase/DatabaseBackend.cpp:
* Modules/webdatabase/DatabaseBackend.h:
* Modules/webdatabase/DatabaseBackendBase.cpp:
* Modules/webdatabase/DatabaseBackendBase.h:
* Modules/webdatabase/DatabaseBasicTypes.h:
* Modules/webdatabase/DatabaseCallback.h:
* Modules/webdatabase/DatabaseCallback.idl:
* Modules/webdatabase/DatabaseContext.cpp:
* Modules/webdatabase/DatabaseContext.h:
* Modules/webdatabase/DatabaseDetails.h:
* Modules/webdatabase/DatabaseError.h:
* Modules/webdatabase/DatabaseManager.cpp:
* Modules/webdatabase/DatabaseManager.h:
* Modules/webdatabase/DatabaseManagerClient.h:
* Modules/webdatabase/DatabaseServer.cpp:
* Modules/webdatabase/DatabaseServer.h:
* Modules/webdatabase/DatabaseTask.cpp:
* Modules/webdatabase/DatabaseTask.h:
* Modules/webdatabase/DatabaseThread.cpp:
* Modules/webdatabase/DatabaseThread.h:
* Modules/webdatabase/DatabaseTracker.cpp:
* Modules/webdatabase/DatabaseTracker.h:
* Modules/webdatabase/OriginLock.cpp:
* Modules/webdatabase/OriginLock.h:
* Modules/webdatabase/SQLCallbackWrapper.h:
* Modules/webdatabase/SQLError.h:
* Modules/webdatabase/SQLError.idl:
* Modules/webdatabase/SQLException.cpp:
* Modules/webdatabase/SQLException.h:
* Modules/webdatabase/SQLException.idl:
* Modules/webdatabase/SQLResultSet.cpp:
* Modules/webdatabase/SQLResultSet.h:
* Modules/webdatabase/SQLResultSet.idl:
* Modules/webdatabase/SQLResultSetRowList.cpp:
* Modules/webdatabase/SQLResultSetRowList.h:
* Modules/webdatabase/SQLResultSetRowList.idl:
* Modules/webdatabase/SQLStatement.cpp:
* Modules/webdatabase/SQLStatement.h:
* Modules/webdatabase/SQLStatementBackend.cpp:
* Modules/webdatabase/SQLStatementBackend.h:
* Modules/webdatabase/SQLStatementCallback.h:
* Modules/webdatabase/SQLStatementCallback.idl:
* Modules/webdatabase/SQLStatementErrorCallback.h:
* Modules/webdatabase/SQLStatementErrorCallback.idl:
* Modules/webdatabase/SQLTransaction.cpp:
* Modules/webdatabase/SQLTransaction.h:
* Modules/webdatabase/SQLTransaction.idl:
* Modules/webdatabase/SQLTransactionBackend.cpp:
* Modules/webdatabase/SQLTransactionBackend.h:
* Modules/webdatabase/SQLTransactionCallback.h:
* Modules/webdatabase/SQLTransactionCallback.idl:
* Modules/webdatabase/SQLTransactionClient.cpp:
* Modules/webdatabase/SQLTransactionClient.h:
* Modules/webdatabase/SQLTransactionCoordinator.cpp:
* Modules/webdatabase/SQLTransactionCoordinator.h:
* Modules/webdatabase/SQLTransactionErrorCallback.h:
* Modules/webdatabase/SQLTransactionErrorCallback.idl:
* Modules/webdatabase/SQLTransactionState.h:
* Modules/webdatabase/SQLTransactionStateMachine.cpp:
* Modules/webdatabase/SQLTransactionStateMachine.h:
* bindings/js/JSCommandLineAPIHostCustom.cpp:
(WebCore::JSCommandLineAPIHost::databaseId):
* bindings/js/JSCustomSQLStatementErrorCallback.cpp:
* bindings/js/JSExceptionBase.cpp:
(WebCore::toExceptionBase):
* bindings/js/JSSQLResultSetRowListCustom.cpp:
* bindings/js/JSSQLTransactionCustom.cpp:
* bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
(webkit_dom_test_callback_finalize):
(webkit_dom_test_callback_constructor):
(webkit_dom_test_callback_callback_with_no_param):
(webkit_dom_test_callback_callback_with_array_param):
(webkit_dom_test_callback_callback_with_serialized_script_value_param):
(webkit_dom_test_callback_callback_with_non_bool_return_type):
(webkit_dom_test_callback_callback_with_string_list):
(webkit_dom_test_callback_callback_with_boolean):
(webkit_dom_test_callback_callback_requires_this_to_pass):
* bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
* bindings/scripts/test/JS/JSTestCallback.cpp:
* bindings/scripts/test/JS/JSTestCallback.h:
* bindings/scripts/test/ObjC/DOMTestCallback.mm:
* bindings/scripts/test/TestCallback.idl:
* dom/DOMExceptions.in:
* dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::setDatabaseContext):
* dom/ScriptExecutionContext.h:
* history/PageCache.cpp:
(WebCore::logCanCacheFrameDecision):
(WebCore::PageCache::canCachePageContainingThisFrame):
* inspector/CommandLineAPIHost.cpp:
(WebCore::CommandLineAPIHost::CommandLineAPIHost):
(WebCore::CommandLineAPIHost::disconnect):
(WebCore::CommandLineAPIHost::databaseIdImpl):
* inspector/CommandLineAPIHost.h:
(WebCore::CommandLineAPIHost::init):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorDatabaseAgent.cpp:
* inspector/InspectorDatabaseAgent.h:
* inspector/InspectorDatabaseInstrumentation.h:
(WebCore::InspectorInstrumentation::didOpenDatabase):
* inspector/InspectorDatabaseResource.cpp:
* inspector/InspectorDatabaseResource.h:
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::didCommitLoadImpl):
(WebCore::InspectorInstrumentation::didOpenDatabaseImpl):
* inspector/InspectorInstrumentation.h:
* inspector/InstrumentingAgents.cpp:
(WebCore::InstrumentingAgents::InstrumentingAgents):
(WebCore::InstrumentingAgents::reset):
* inspector/InstrumentingAgents.h:
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
* loader/EmptyClients.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::stopLoading):
* page/ChromeClient.h:
* platform/FeatureCounterKeys.h:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:
* Storage/WebDatabaseManager.mm:
(databasesDirectoryPath):
* Storage/WebDatabaseManagerClient.h:
* Storage/WebDatabaseManagerClient.mm:
* Storage/WebDatabaseManagerInternal.h:
* Storage/WebDatabaseManagerPrivate.h:
* Storage/WebDatabaseQuotaManager.mm:
(-[WebDatabaseQuotaManager usage]):
(-[WebDatabaseQuotaManager quota]):
(-[WebDatabaseQuotaManager setQuota:]):
* WebCoreSupport/WebChromeClient.h:
* WebCoreSupport/WebChromeClient.mm:
* WebCoreSupport/WebSecurityOrigin.mm:
(-[WebSecurityOrigin usage]):
(-[WebSecurityOrigin quota]):
(-[WebSecurityOrigin setQuota:]):
* WebView/WebFrame.mm:
(-[WebFrame _cacheabilityDictionary]):
* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
(-[WebView _preferencesChanged:]):

Source/WebKit/win:

* ForEachCoClass.h:
* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::exceededDatabaseQuota):
* WebCoreSupport/WebChromeClient.h:
* WebDatabaseManager.cpp:
(WebKitInitializeWebDatabasesIfNecessary):
* WebDatabaseManager.h:
* WebSecurityOrigin.cpp:
(WebSecurityOrigin::usage):
(WebSecurityOrigin::quota):
(WebSecurityOrigin::setQuota):
* WebView.cpp:
(WebView::initWithFrame):
(WebView::notifyPreferencesChanged):

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
* Shared/OriginAndDatabases.cpp:
* Shared/OriginAndDatabases.h:
* Shared/WebCoreArgumentCoders.cpp:
* UIProcess/API/C/WKContext.cpp:
(WKContextGetDatabaseManager):
* UIProcess/API/C/WKDatabaseManager.cpp:
(WKDatabaseManagerGetTypeID):
(WKDatabaseManagerGetOriginKey):
(WKDatabaseManagerGetOriginQuotaKey):
(WKDatabaseManagerGetOriginUsageKey):
(WKDatabaseManagerGetDatabaseDetailsKey):
(WKDatabaseManagerGetDatabaseDetailsNameKey):
(WKDatabaseManagerGetDatabaseDetailsDisplayNameKey):
(WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey):
(WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey):
(WKDatabaseManagerGetDatabaseDetailsCreationTimeKey):
(WKDatabaseManagerGetDatabaseDetailsModificationTimeKey):
(WKDatabaseManagerSetClient):
(WKDatabaseManagerGetDatabasesByOrigin):
(WKDatabaseManagerGetDatabaseOrigins):
(WKDatabaseManagerDeleteDatabasesWithNameForOrigin):
(WKDatabaseManagerDeleteDatabasesForOrigin):
(WKDatabaseManagerDeleteAllDatabases):
(WKDatabaseManagerSetQuotaForOrigin):
* UIProcess/API/efl/EwkView.cpp:
(EwkView::informDatabaseQuotaReached):
* UIProcess/WebDatabaseManagerProxy.cpp:
* UIProcess/WebDatabaseManagerProxy.h:
* UIProcess/WebDatabaseManagerProxy.messages.in:
* UIProcess/WebProcessPool.cpp:
* UIProcess/efl/PageUIClientEfl.cpp:
(WebKit::PageUIClientEfl::PageUIClientEfl):
(WebKit::PageUIClientEfl::exceededDatabaseQuota):
* UIProcess/efl/PageUIClientEfl.h:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::clearAllDatabases):
(WebKit::InjectedBundle::setDatabaseQuota):
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::exceededDatabaseQuota):
* WebProcess/WebCoreSupport/WebChromeClient.h:
* WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
* WebProcess/WebCoreSupport/WebDatabaseManager.h:
* WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
* WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.cpp:
* WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* Scripts/webkitperl/FeatureList.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178575 268f45cc-cd09-0410-ab3c-d52691b4dbfc

162 files changed:
ChangeLog
Source/JavaScriptCore/CMakeLists.txt
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/JavaScriptCore/DerivedSources.make
Source/JavaScriptCore/inspector/protocol/Database.json
Source/WTF/ChangeLog
Source/WTF/wtf/FeatureDefines.h
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h
Source/WebCore/Modules/webdatabase/ChangeVersionData.h
Source/WebCore/Modules/webdatabase/ChangeVersionWrapper.cpp
Source/WebCore/Modules/webdatabase/ChangeVersionWrapper.h
Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.cpp
Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.h
Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.idl
Source/WebCore/Modules/webdatabase/Database.cpp
Source/WebCore/Modules/webdatabase/Database.h
Source/WebCore/Modules/webdatabase/Database.idl
Source/WebCore/Modules/webdatabase/DatabaseBackend.cpp
Source/WebCore/Modules/webdatabase/DatabaseBackend.h
Source/WebCore/Modules/webdatabase/DatabaseBackendBase.cpp
Source/WebCore/Modules/webdatabase/DatabaseBackendBase.h
Source/WebCore/Modules/webdatabase/DatabaseBasicTypes.h
Source/WebCore/Modules/webdatabase/DatabaseCallback.h
Source/WebCore/Modules/webdatabase/DatabaseCallback.idl
Source/WebCore/Modules/webdatabase/DatabaseContext.cpp
Source/WebCore/Modules/webdatabase/DatabaseContext.h
Source/WebCore/Modules/webdatabase/DatabaseDetails.h
Source/WebCore/Modules/webdatabase/DatabaseError.h
Source/WebCore/Modules/webdatabase/DatabaseManager.cpp
Source/WebCore/Modules/webdatabase/DatabaseManager.h
Source/WebCore/Modules/webdatabase/DatabaseManagerClient.h
Source/WebCore/Modules/webdatabase/DatabaseServer.cpp
Source/WebCore/Modules/webdatabase/DatabaseServer.h
Source/WebCore/Modules/webdatabase/DatabaseTask.cpp
Source/WebCore/Modules/webdatabase/DatabaseTask.h
Source/WebCore/Modules/webdatabase/DatabaseThread.cpp
Source/WebCore/Modules/webdatabase/DatabaseThread.h
Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp
Source/WebCore/Modules/webdatabase/DatabaseTracker.h
Source/WebCore/Modules/webdatabase/OriginLock.cpp
Source/WebCore/Modules/webdatabase/OriginLock.h
Source/WebCore/Modules/webdatabase/SQLCallbackWrapper.h
Source/WebCore/Modules/webdatabase/SQLError.h
Source/WebCore/Modules/webdatabase/SQLError.idl
Source/WebCore/Modules/webdatabase/SQLException.cpp
Source/WebCore/Modules/webdatabase/SQLException.h
Source/WebCore/Modules/webdatabase/SQLException.idl
Source/WebCore/Modules/webdatabase/SQLResultSet.cpp
Source/WebCore/Modules/webdatabase/SQLResultSet.h
Source/WebCore/Modules/webdatabase/SQLResultSet.idl
Source/WebCore/Modules/webdatabase/SQLResultSetRowList.cpp
Source/WebCore/Modules/webdatabase/SQLResultSetRowList.h
Source/WebCore/Modules/webdatabase/SQLResultSetRowList.idl
Source/WebCore/Modules/webdatabase/SQLStatement.cpp
Source/WebCore/Modules/webdatabase/SQLStatement.h
Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
Source/WebCore/Modules/webdatabase/SQLStatementBackend.h
Source/WebCore/Modules/webdatabase/SQLStatementCallback.h
Source/WebCore/Modules/webdatabase/SQLStatementCallback.idl
Source/WebCore/Modules/webdatabase/SQLStatementErrorCallback.h
Source/WebCore/Modules/webdatabase/SQLStatementErrorCallback.idl
Source/WebCore/Modules/webdatabase/SQLTransaction.cpp
Source/WebCore/Modules/webdatabase/SQLTransaction.h
Source/WebCore/Modules/webdatabase/SQLTransaction.idl
Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
Source/WebCore/Modules/webdatabase/SQLTransactionBackend.h
Source/WebCore/Modules/webdatabase/SQLTransactionCallback.h
Source/WebCore/Modules/webdatabase/SQLTransactionCallback.idl
Source/WebCore/Modules/webdatabase/SQLTransactionClient.cpp
Source/WebCore/Modules/webdatabase/SQLTransactionClient.h
Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.cpp
Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.h
Source/WebCore/Modules/webdatabase/SQLTransactionErrorCallback.h
Source/WebCore/Modules/webdatabase/SQLTransactionErrorCallback.idl
Source/WebCore/Modules/webdatabase/SQLTransactionState.h
Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.cpp
Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.h
Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp
Source/WebCore/bindings/js/JSCustomSQLStatementErrorCallback.cpp
Source/WebCore/bindings/js/JSExceptionBase.cpp
Source/WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp
Source/WebCore/bindings/js/JSSQLTransactionCustom.cpp
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h
Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp
Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h
Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallback.mm
Source/WebCore/bindings/scripts/test/TestCallback.idl
Source/WebCore/dom/DOMExceptions.in
Source/WebCore/dom/ScriptExecutionContext.cpp
Source/WebCore/dom/ScriptExecutionContext.h
Source/WebCore/history/PageCache.cpp
Source/WebCore/inspector/CommandLineAPIHost.cpp
Source/WebCore/inspector/CommandLineAPIHost.h
Source/WebCore/inspector/InspectorController.cpp
Source/WebCore/inspector/InspectorDatabaseAgent.cpp
Source/WebCore/inspector/InspectorDatabaseAgent.h
Source/WebCore/inspector/InspectorDatabaseInstrumentation.h
Source/WebCore/inspector/InspectorDatabaseResource.cpp
Source/WebCore/inspector/InspectorDatabaseResource.h
Source/WebCore/inspector/InspectorInstrumentation.cpp
Source/WebCore/inspector/InspectorInstrumentation.h
Source/WebCore/inspector/InstrumentingAgents.cpp
Source/WebCore/inspector/InstrumentingAgents.h
Source/WebCore/inspector/WorkerInspectorController.cpp
Source/WebCore/loader/EmptyClients.h
Source/WebCore/loader/FrameLoader.cpp
Source/WebCore/page/ChromeClient.h
Source/WebCore/platform/FeatureCounterKeys.h
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/Configurations/FeatureDefines.xcconfig
Source/WebKit/mac/Storage/WebDatabaseManager.mm
Source/WebKit/mac/Storage/WebDatabaseManagerClient.h
Source/WebKit/mac/Storage/WebDatabaseManagerClient.mm
Source/WebKit/mac/Storage/WebDatabaseManagerInternal.h
Source/WebKit/mac/Storage/WebDatabaseManagerPrivate.h
Source/WebKit/mac/Storage/WebDatabaseQuotaManager.mm
Source/WebKit/mac/WebCoreSupport/WebChromeClient.h
Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm
Source/WebKit/mac/WebCoreSupport/WebSecurityOrigin.mm
Source/WebKit/mac/WebView/WebFrame.mm
Source/WebKit/mac/WebView/WebView.mm
Source/WebKit/win/ChangeLog
Source/WebKit/win/ForEachCoClass.h
Source/WebKit/win/WebCoreSupport/WebChromeClient.cpp
Source/WebKit/win/WebCoreSupport/WebChromeClient.h
Source/WebKit/win/WebDatabaseManager.cpp
Source/WebKit/win/WebDatabaseManager.h
Source/WebKit/win/WebSecurityOrigin.cpp
Source/WebKit/win/WebView.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/FeatureDefines.xcconfig
Source/WebKit2/Shared/OriginAndDatabases.cpp
Source/WebKit2/Shared/OriginAndDatabases.h
Source/WebKit2/Shared/WebCoreArgumentCoders.cpp
Source/WebKit2/UIProcess/API/C/WKContext.cpp
Source/WebKit2/UIProcess/API/C/WKDatabaseManager.cpp
Source/WebKit2/UIProcess/API/efl/EwkView.cpp
Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp
Source/WebKit2/UIProcess/WebDatabaseManagerProxy.h
Source/WebKit2/UIProcess/WebDatabaseManagerProxy.messages.in
Source/WebKit2/UIProcess/WebProcessPool.cpp
Source/WebKit2/UIProcess/efl/PageUIClientEfl.cpp
Source/WebKit2/UIProcess/efl/PageUIClientEfl.h
Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h
Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h
Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
Source/WebKit2/WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.h
Source/WebKit2/WebProcess/WebPage/WebPage.cpp
Source/WebKit2/WebProcess/WebProcess.cpp
Source/cmake/OptionsMac.cmake
Source/cmake/WebKitFeatures.cmake
Source/cmakeconfig.h.cmake
Tools/ChangeLog
Tools/Scripts/webkitperl/FeatureList.pm

index be09c2e3be34a60617c64a196ac431e184dd44c7..edf036e6d2706a99e27b6aeb38f1166686c99cb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * Source/cmake/OptionsMac.cmake:
+        * Source/cmake/WebKitFeatures.cmake:
+        * Source/cmakeconfig.h.cmake:
+
 2015-01-11  Sam Weinig  <sam@webkit.org>
 
         Remove support for SharedWorkers
index bb43f7ceb141ab3f1f4344c6c570df815c0b94be..6b21520ff2ac8bf5265eb35800162f6f912c97c0 100644 (file)
@@ -1018,6 +1018,7 @@ set(JavaScriptCore_INSPECTOR_DOMAINS
     ${JAVASCRIPTCORE_DIR}/inspector/protocol/DOM.json
     ${JAVASCRIPTCORE_DIR}/inspector/protocol/DOMDebugger.json
     ${JAVASCRIPTCORE_DIR}/inspector/protocol/DOMStorage.json
+    ${JAVASCRIPTCORE_DIR}/inspector/protocol/Database.json
     ${JAVASCRIPTCORE_DIR}/inspector/protocol/Debugger.json
     ${JAVASCRIPTCORE_DIR}/inspector/protocol/GenericTypes.json
     ${JAVASCRIPTCORE_DIR}/inspector/protocol/Inspector.json
@@ -1029,12 +1030,6 @@ set(JavaScriptCore_INSPECTOR_DOMAINS
     ${JAVASCRIPTCORE_DIR}/inspector/protocol/Worker.json
 )
 
-if (ENABLE_SQL_DATABASE)
-    list(APPEND JavaScriptCore_INSPECTOR_DOMAINS
-        ${JAVASCRIPTCORE_DIR}/inspector/protocol/Database.json
-    )
-endif ()
-
 if (ENABLE_INDEXED_DATABASE)
     list(APPEND JavaScriptCore_INSPECTOR_DOMAINS
         ${JAVASCRIPTCORE_DIR}/inspector/protocol/IndexedDB.json
index 72828e1898397c7f7456bc4480120b48bda49320..0151b8de6583fb0514897567c4d1687983bea6c0 100644 (file)
@@ -1,3 +1,15 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * CMakeLists.txt:
+        * Configurations/FeatureDefines.xcconfig:
+        * DerivedSources.make:
+        * inspector/protocol/Database.json:
+
 2015-01-14  Alexey Proskuryakov  <ap@apple.com>
 
         Web Inspector and regular console use different source code locations for messages
index db75115ffd55224c631cd4dc0e4fde88388607fc..d50a3550ad8d1d0d36155ff76a4c68c672f84157 100644 (file)
@@ -165,7 +165,6 @@ ENABLE_RESOLUTION_MEDIA_QUERY = ;
 ENABLE_RUBBER_BANDING[sdk=macosx*] = ENABLE_RUBBER_BANDING;
 ENABLE_CSS_SCROLL_SNAP = ENABLE_CSS_SCROLL_SNAP;
 ENABLE_SPEECH_SYNTHESIS = ENABLE_SPEECH_SYNTHESIS;
-ENABLE_SQL_DATABASE = ENABLE_SQL_DATABASE;
 ENABLE_SUBTLE_CRYPTO[sdk=iphone*] = ENABLE_SUBTLE_CRYPTO;
 ENABLE_SUBTLE_CRYPTO[sdk=macosx*] = $(ENABLE_SUBTLE_CRYPTO_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
 ENABLE_SUBTLE_CRYPTO_macosx_1080 = ;
@@ -227,4 +226,4 @@ ENABLE_LLINT_C_LOOP = ;
 
 ENABLE_SATURATED_LAYOUT_ARITHMETIC = ENABLE_SATURATED_LAYOUT_ARITHMETIC;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
index dc8096c04781a6c0ffa3adf04888279a62571ffd..52421ec881151b16a93d545fd9c5449ac1987097 100644 (file)
@@ -119,6 +119,7 @@ INSPECTOR_DOMAINS = \
     $(JavaScriptCore)/inspector/protocol/DOM.json \
     $(JavaScriptCore)/inspector/protocol/DOMDebugger.json \
     $(JavaScriptCore)/inspector/protocol/DOMStorage.json \
+    $(JavaScriptCore)/inspector/protocol/Database.json \
     $(JavaScriptCore)/inspector/protocol/Debugger.json \
     $(JavaScriptCore)/inspector/protocol/GenericTypes.json \
     $(JavaScriptCore)/inspector/protocol/Inspector.json \
@@ -130,10 +131,6 @@ INSPECTOR_DOMAINS = \
     $(JavaScriptCore)/inspector/protocol/Worker.json \
 #
 
-ifeq ($(findstring ENABLE_SQL_DATABASE,$(FEATURE_DEFINES)), ENABLE_SQL_DATABASE)
-    INSPECTOR_DOMAINS := $(INSPECTOR_DOMAINS) $(JavaScriptCore)/inspector/protocol/Database.json
-endif
-
 ifeq ($(findstring ENABLE_INDEXED_DATABASE,$(FEATURE_DEFINES)), ENABLE_INDEXED_DATABASE)
     INSPECTOR_DOMAINS := $(INSPECTOR_DOMAINS) $(JavaScriptCore)/inspector/protocol/IndexedDB.json
 endif
index 01c6083050cca17935dbbd25dca99415de14953b..b959e0f2d2d9492f32a3a4abbabe9fad5c3003fa 100644 (file)
@@ -1,6 +1,5 @@
 {
     "domain": "Database",
-    "featureGuard": "ENABLE(SQL_DATABASE)",
     "availability": "web",
     "types": [
         {
index 735097c62e5d2a50be5e99c485a08f7f03d7b482..858f3dc2e82ecb55390a133ebad79ba4a5886dcb 100644 (file)
@@ -1,3 +1,12 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * wtf/FeatureDefines.h:
+
 2015-01-14  Csaba Osztrogonác  <ossy@webkit.org>
 
         Unreviewed fix after r163330.
index a0ad9e6daf44af67454bedd8370d7432e8618539..4b05a40c58fe46b7815122a3c6df73a1895b167f 100644 (file)
@@ -665,10 +665,6 @@ the public iOS SDK. We will also need to update the FeatureDefines.xcconfig file
 #define ENABLE_SPELLCHECK 0
 #endif
 
-#if !defined(ENABLE_SQL_DATABASE)
-#define ENABLE_SQL_DATABASE 1
-#endif
-
 #if !defined(ENABLE_SVG_FONTS)
 #define ENABLE_SVG_FONTS 1
 #endif
index 4c6e6f36d338ead8a66494238b154cf6a0b54ad8..0fc73f3429dedbb7cad0f32e669ba62646226dd3 100644 (file)
@@ -1,3 +1,140 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Modules/webdatabase/AbstractDatabaseServer.h:
+        * Modules/webdatabase/ChangeVersionData.h:
+        * Modules/webdatabase/ChangeVersionWrapper.cpp:
+        * Modules/webdatabase/ChangeVersionWrapper.h:
+        * Modules/webdatabase/DOMWindowWebDatabase.cpp:
+        * Modules/webdatabase/DOMWindowWebDatabase.h:
+        * Modules/webdatabase/DOMWindowWebDatabase.idl:
+        * Modules/webdatabase/Database.cpp:
+        * Modules/webdatabase/Database.h:
+        * Modules/webdatabase/Database.idl:
+        * Modules/webdatabase/DatabaseBackend.cpp:
+        * Modules/webdatabase/DatabaseBackend.h:
+        * Modules/webdatabase/DatabaseBackendBase.cpp:
+        * Modules/webdatabase/DatabaseBackendBase.h:
+        * Modules/webdatabase/DatabaseBasicTypes.h:
+        * Modules/webdatabase/DatabaseCallback.h:
+        * Modules/webdatabase/DatabaseCallback.idl:
+        * Modules/webdatabase/DatabaseContext.cpp:
+        * Modules/webdatabase/DatabaseContext.h:
+        * Modules/webdatabase/DatabaseDetails.h:
+        * Modules/webdatabase/DatabaseError.h:
+        * Modules/webdatabase/DatabaseManager.cpp:
+        * Modules/webdatabase/DatabaseManager.h:
+        * Modules/webdatabase/DatabaseManagerClient.h:
+        * Modules/webdatabase/DatabaseServer.cpp:
+        * Modules/webdatabase/DatabaseServer.h:
+        * Modules/webdatabase/DatabaseTask.cpp:
+        * Modules/webdatabase/DatabaseTask.h:
+        * Modules/webdatabase/DatabaseThread.cpp:
+        * Modules/webdatabase/DatabaseThread.h:
+        * Modules/webdatabase/DatabaseTracker.cpp:
+        * Modules/webdatabase/DatabaseTracker.h:
+        * Modules/webdatabase/OriginLock.cpp:
+        * Modules/webdatabase/OriginLock.h:
+        * Modules/webdatabase/SQLCallbackWrapper.h:
+        * Modules/webdatabase/SQLError.h:
+        * Modules/webdatabase/SQLError.idl:
+        * Modules/webdatabase/SQLException.cpp:
+        * Modules/webdatabase/SQLException.h:
+        * Modules/webdatabase/SQLException.idl:
+        * Modules/webdatabase/SQLResultSet.cpp:
+        * Modules/webdatabase/SQLResultSet.h:
+        * Modules/webdatabase/SQLResultSet.idl:
+        * Modules/webdatabase/SQLResultSetRowList.cpp:
+        * Modules/webdatabase/SQLResultSetRowList.h:
+        * Modules/webdatabase/SQLResultSetRowList.idl:
+        * Modules/webdatabase/SQLStatement.cpp:
+        * Modules/webdatabase/SQLStatement.h:
+        * Modules/webdatabase/SQLStatementBackend.cpp:
+        * Modules/webdatabase/SQLStatementBackend.h:
+        * Modules/webdatabase/SQLStatementCallback.h:
+        * Modules/webdatabase/SQLStatementCallback.idl:
+        * Modules/webdatabase/SQLStatementErrorCallback.h:
+        * Modules/webdatabase/SQLStatementErrorCallback.idl:
+        * Modules/webdatabase/SQLTransaction.cpp:
+        * Modules/webdatabase/SQLTransaction.h:
+        * Modules/webdatabase/SQLTransaction.idl:
+        * Modules/webdatabase/SQLTransactionBackend.cpp:
+        * Modules/webdatabase/SQLTransactionBackend.h:
+        * Modules/webdatabase/SQLTransactionCallback.h:
+        * Modules/webdatabase/SQLTransactionCallback.idl:
+        * Modules/webdatabase/SQLTransactionClient.cpp:
+        * Modules/webdatabase/SQLTransactionClient.h:
+        * Modules/webdatabase/SQLTransactionCoordinator.cpp:
+        * Modules/webdatabase/SQLTransactionCoordinator.h:
+        * Modules/webdatabase/SQLTransactionErrorCallback.h:
+        * Modules/webdatabase/SQLTransactionErrorCallback.idl:
+        * Modules/webdatabase/SQLTransactionState.h:
+        * Modules/webdatabase/SQLTransactionStateMachine.cpp:
+        * Modules/webdatabase/SQLTransactionStateMachine.h:
+        * bindings/js/JSCommandLineAPIHostCustom.cpp:
+        (WebCore::JSCommandLineAPIHost::databaseId):
+        * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
+        * bindings/js/JSExceptionBase.cpp:
+        (WebCore::toExceptionBase):
+        * bindings/js/JSSQLResultSetRowListCustom.cpp:
+        * bindings/js/JSSQLTransactionCustom.cpp:
+        * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
+        (webkit_dom_test_callback_finalize):
+        (webkit_dom_test_callback_constructor):
+        (webkit_dom_test_callback_callback_with_no_param):
+        (webkit_dom_test_callback_callback_with_array_param):
+        (webkit_dom_test_callback_callback_with_serialized_script_value_param):
+        (webkit_dom_test_callback_callback_with_non_bool_return_type):
+        (webkit_dom_test_callback_callback_with_string_list):
+        (webkit_dom_test_callback_callback_with_boolean):
+        (webkit_dom_test_callback_callback_requires_this_to_pass):
+        * bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
+        * bindings/scripts/test/JS/JSTestCallback.cpp:
+        * bindings/scripts/test/JS/JSTestCallback.h:
+        * bindings/scripts/test/ObjC/DOMTestCallback.mm:
+        * bindings/scripts/test/TestCallback.idl:
+        * dom/DOMExceptions.in:
+        * dom/ScriptExecutionContext.cpp:
+        (WebCore::ScriptExecutionContext::setDatabaseContext):
+        * dom/ScriptExecutionContext.h:
+        * history/PageCache.cpp:
+        (WebCore::logCanCacheFrameDecision):
+        (WebCore::PageCache::canCachePageContainingThisFrame):
+        * inspector/CommandLineAPIHost.cpp:
+        (WebCore::CommandLineAPIHost::CommandLineAPIHost):
+        (WebCore::CommandLineAPIHost::disconnect):
+        (WebCore::CommandLineAPIHost::databaseIdImpl):
+        * inspector/CommandLineAPIHost.h:
+        (WebCore::CommandLineAPIHost::init):
+        * inspector/InspectorController.cpp:
+        (WebCore::InspectorController::InspectorController):
+        * inspector/InspectorDatabaseAgent.cpp:
+        * inspector/InspectorDatabaseAgent.h:
+        * inspector/InspectorDatabaseInstrumentation.h:
+        (WebCore::InspectorInstrumentation::didOpenDatabase):
+        * inspector/InspectorDatabaseResource.cpp:
+        * inspector/InspectorDatabaseResource.h:
+        * inspector/InspectorInstrumentation.cpp:
+        (WebCore::InspectorInstrumentation::didCommitLoadImpl):
+        (WebCore::InspectorInstrumentation::didOpenDatabaseImpl):
+        * inspector/InspectorInstrumentation.h:
+        * inspector/InstrumentingAgents.cpp:
+        (WebCore::InstrumentingAgents::InstrumentingAgents):
+        (WebCore::InstrumentingAgents::reset):
+        * inspector/InstrumentingAgents.h:
+        * inspector/WorkerInspectorController.cpp:
+        (WebCore::WorkerInspectorController::WorkerInspectorController):
+        * loader/EmptyClients.h:
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::stopLoading):
+        * page/ChromeClient.h:
+        * platform/FeatureCounterKeys.h:
+
 2015-01-15  Zalan Bujtas  <zalan@apple.com>
 
         Element appears correctly but does not receive event with a large translation.
index db75115ffd55224c631cd4dc0e4fde88388607fc..d50a3550ad8d1d0d36155ff76a4c68c672f84157 100644 (file)
@@ -165,7 +165,6 @@ ENABLE_RESOLUTION_MEDIA_QUERY = ;
 ENABLE_RUBBER_BANDING[sdk=macosx*] = ENABLE_RUBBER_BANDING;
 ENABLE_CSS_SCROLL_SNAP = ENABLE_CSS_SCROLL_SNAP;
 ENABLE_SPEECH_SYNTHESIS = ENABLE_SPEECH_SYNTHESIS;
-ENABLE_SQL_DATABASE = ENABLE_SQL_DATABASE;
 ENABLE_SUBTLE_CRYPTO[sdk=iphone*] = ENABLE_SUBTLE_CRYPTO;
 ENABLE_SUBTLE_CRYPTO[sdk=macosx*] = $(ENABLE_SUBTLE_CRYPTO_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
 ENABLE_SUBTLE_CRYPTO_macosx_1080 = ;
@@ -227,4 +226,4 @@ ENABLE_LLINT_C_LOOP = ;
 
 ENABLE_SATURATED_LAYOUT_ARITHMETIC = ENABLE_SATURATED_LAYOUT_ARITHMETIC;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
index 352d830615a142b6c490ab625f1dcea28c3ac32b..60ed8bf82816108b167033b8de6a708ab5aaed98 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef AbstractDatabaseServer_h
 #define AbstractDatabaseServer_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBasicTypes.h"
 #include "DatabaseDetails.h"
 #include "DatabaseError.h"
@@ -82,6 +80,4 @@ protected:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // AbstractDatabaseServer_h
index 2ab1960450c63d323b03d460abde10693e65d2b2..a836e37caef1d5055667c377d3feecdd27a7ec2a 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef ChangeVersionData_h
 #define ChangeVersionData_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
@@ -47,6 +45,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // ChangeVersionData_h
index 5c0e1475c52fac614129fbf75deff1b6d2dc775a..24974df8102efc7760eca5b883e371e11eecd12a 100644 (file)
@@ -28,8 +28,6 @@
 #include "config.h"
 #include "ChangeVersionWrapper.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h"
 #include "SQLError.h"
 #include <wtf/PassRefPtr.h>
@@ -88,5 +86,3 @@ void ChangeVersionWrapper::handleCommitFailedAfterPostflight(SQLTransactionBacke
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 8770e38dc49c25b83533b2c6d230a97ffdc630a2..eec31f25cfb84252a644f6fbdcb92367005b3124 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef ChangeVersionWrapper_h
 #define ChangeVersionWrapper_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "SQLTransactionBackend.h"
 #include <wtf/Forward.h>
 
@@ -56,6 +54,4 @@ private:
 
 } // namespace WebCore
 
-#endif
-
 #endif // ChangeVersionWrapper_h
index 7eaaaa750e552935aee90d63bf96ccca305b60ea..50cd393fffda7f094785bde84bca82c49ae41223 100644 (file)
@@ -25,9 +25,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(SQL_DATABASE)
-
 #include "DOMWindowWebDatabase.h"
 
 #include "DOMWindow.h"
@@ -59,5 +56,3 @@ PassRefPtr<Database> DOMWindowWebDatabase::openDatabase(DOMWindow* window, const
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index a6a6afb6b467f51fabfcf5082c7cfd2518b15fdc..fd75534b51dda7e722e0ccc5ed0d78e258c912bb 100644 (file)
@@ -27,7 +27,6 @@
 #ifndef DOMWindowWebDatabase_h
 #define DOMWindowWebDatabase_h
 
-#if ENABLE(SQL_DATABASE)
 #include "ExceptionCode.h"
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
@@ -52,6 +51,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DOMWindowWebDatabase_h
index 5c5ef969d15412e72918a6eb18fbcfafa7eaf768..15eb43515afbb2c0650caff29657237406327585 100644 (file)
@@ -25,7 +25,6 @@
  */
 
 [
-    Conditional=SQL_DATABASE,
 ] partial interface DOMWindow {
     [RaisesException] Database openDatabase(DOMString name, DOMString version, DOMString displayName, unsigned long estimatedSize, optional DatabaseCallback creationCallback);
 };
index b5b9b13903450bbc78e7ce02fe61b454e2c74830..24dbb397356996aa21e25e0264de1e3bea192bcc 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "Database.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "ChangeVersionData.h"
 #include "ChangeVersionWrapper.h"
 #include "DatabaseCallback.h"
@@ -364,5 +362,3 @@ SecurityOrigin* Database::securityOrigin() const
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 2f17c80ba0868b57d1f224615485b198a808865e..8ce604988aa3634359364c6b43e97e03563df3fd 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef Database_h
 #define Database_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBackend.h"
 #include "DatabaseBasicTypes.h"
 #include "DatabaseError.h"
@@ -117,6 +115,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // Database_h
index 68c982a6490a6e9fbf60a386b39cc2e9bd70ddef..eae2b0225d08702cc68a200788b82b01afa43a34 100644 (file)
@@ -28,7 +28,6 @@
 
 [
     NoInterfaceObject,
-    Conditional=SQL_DATABASE,
 ] interface Database {
     readonly attribute DOMString version;
     void changeVersion(DOMString oldVersion, DOMString newVersion, optional SQLTransactionCallback callback, optional SQLTransactionErrorCallback errorCallback, optional VoidCallback successCallback);
index cc927e7402f7f7aa79dd9bbe22bd21d90b0b14cd..aafa9d4ca736576d2752e1ff3464351b51577dbe 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "DatabaseBackend.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "ChangeVersionData.h"
 #include "ChangeVersionWrapper.h"
 #include "Database.h"
@@ -55,5 +53,3 @@ DatabaseBackend::DatabaseBackend(PassRefPtr<DatabaseContext> databaseContext, co
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 90fded34da8b7628732410a9ddaaacd0df2fd537..5afdfd8066a74e8fe83e2a3bc9101388c6d47e27 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef DatabaseBackend_h
 #define DatabaseBackend_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBackendBase.h"
 #include <wtf/Deque.h>
 #include <wtf/text/WTFString.h>
@@ -68,6 +66,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseBackend_h
index 4893809bff3a0ac3cf3e6346a604e1e756c49174..a67e7066425409d11964f9ad6f73ede1e48caa14 100644 (file)
@@ -30,8 +30,6 @@
 #include "config.h"
 #include "DatabaseBackendBase.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h"
 #include "DatabaseAuthorizer.h"
 #include "DatabaseContext.h"
@@ -587,5 +585,3 @@ bool DatabaseBackendBase::isInterrupted()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 3662f0b9872d19f2d1075279b997b7a4c5413de1..b7ede0010413d4fb732dbb52129d2a33a1dd81b6 100644 (file)
@@ -30,8 +30,6 @@
 #ifndef DatabaseBackendBase_h
 #define DatabaseBackendBase_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBasicTypes.h"
 #include "DatabaseDetails.h"
 #include "DatabaseError.h"
@@ -134,6 +132,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseBackendBase_h
index b5454b1d292f72c90619b189e1be548134f028b1..924c103f2c0f2ffb235f8869ac8e9cba3c5fe03a 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef DatabaseBasicTypes_h
 #define DatabaseBasicTypes_h
 
-#if ENABLE(SQL_DATABASE)
-
 namespace WebCore {
 
 typedef int DatabaseGuid;
@@ -35,6 +33,4 @@ typedef int ExceptionCode;
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseBasicTypes_h
index 4ced70cf4910f5065ea278d5b89c99d9fa13967f..31020dc775c545fe7bcffbccdf7c1d1d6b4fc034 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef DatabaseCallback_h
 #define DatabaseCallback_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/ThreadSafeRefCounted.h>
 
 namespace WebCore {
@@ -48,6 +46,4 @@ public:
 
 }
 
-#endif
-
 #endif // DatabaseCallback_h
index ff6ea89d71792b128657e76cba28334cd14a407c..f6d1100002324f05f8c8129e4a389629477d8c80 100644 (file)
@@ -26,8 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-[
-    Conditional=SQL_DATABASE,
-] callback interface DatabaseCallback {
+callback interface DatabaseCallback {
     boolean handleEvent(Database database);
 };
index 88549a5ea438e21fe37bb6533f96dd05aa5d3205..e5d9ef9b681235c0bdd826630f4cb47e4a8b6f7d 100644 (file)
@@ -28,8 +28,6 @@
 #include "config.h"
 #include "DatabaseContext.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Chrome.h"
 #include "ChromeClient.h"
 #include "Database.h"
@@ -247,5 +245,3 @@ bool DatabaseContext::isContextThread() const
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index ee42bd96440bd2a81b4dddc6d6fa9976ce27a5f3..472c4e2c221bf37f83bb9a24176917e47e9bc7c3 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef DatabaseContext_h
 #define DatabaseContext_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "ActiveDOMObject.h"
 #include <wtf/RefPtr.h>
 #include <wtf/ThreadSafeRefCounted.h>
@@ -94,6 +92,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseContext_h
index a07cecb9a71ddb610dc9f1983fb87af70922e969..f90aa5e56506b68e2a126d0057b7e9b587c5f40d 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef DatabaseDetails_h
 #define DatabaseDetails_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <thread>
 #include <wtf/text/WTFString.h>
 
@@ -86,6 +84,4 @@ private:
 
 } // namespace WebCore
 
-#endif
-
 #endif // DatabaseDetails_h
index 3611c9470c87ecf003bf0bdb424fa21664c48060..fec2bea62e89f247b2dd6f9a26bc288e03b14c92 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef DatabaseError_h
 #define DatabaseError_h
 
-#if ENABLE(SQL_DATABASE)
-
 namespace WebCore {
 
 enum class DatabaseError {
@@ -41,6 +39,4 @@ enum class DatabaseError {
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseError_h
index f403c0dd992b80a1d234d2de8221404e9bf86aee..98a79ed8d0a49dbc8484f96da2eca31088df0df4 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "DatabaseManager.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "AbstractDatabaseServer.h"
 #include "Database.h"
 #include "DatabaseBackend.h"
@@ -414,5 +412,3 @@ void DatabaseManager::logErrorMessage(ScriptExecutionContext* context, const Str
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 5969f99dd55aedbbf077a2bf411a3e4e6b7f277d..6c4e8c854d1ffde7e3a62e46adc53e5290e8aa92 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef DatabaseManager_h
 #define DatabaseManager_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBasicTypes.h"
 #include "DatabaseDetails.h"
 #include "DatabaseError.h"
@@ -155,6 +153,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseManager_h
index afc69f8cb5a572f02cb139fed8eb90ad4a9e485a..45c9171ce7249af1a6526a6d38445fc6313180d9 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef DatabaseManagerClient_h
 #define DatabaseManagerClient_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/Forward.h>
 
 namespace WebCore {
@@ -48,6 +46,4 @@ public:
 
 } // namespace WebCore
 
-#endif
-
 #endif // DatabaseManagerClient_h
index b466404f0e90a1f78ff1a50d57c4ea2842c1b22f..aee70fa6831594d805d1d812ec9590b5b209d38b 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "DatabaseServer.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h"
 #include "DatabaseBackend.h"
 #include "DatabaseContext.h"
@@ -146,5 +144,3 @@ PassRefPtr<DatabaseBackendBase> DatabaseServer::createDatabase(RefPtr<DatabaseCo
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 82b0e1710e1e1dab4e0c3e374ba88e7e1fb3b75e..ec670d5ebd5d01bf5b58b843bb356b3bd22d02e0 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef DatabaseServer_h
 #define DatabaseServer_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "AbstractDatabaseServer.h"
 
 namespace WebCore {
@@ -69,6 +67,4 @@ protected:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseServer_h
index dbd1f6a9b7539f4065881b97dd36fe5618c3fe08..385ff9d46e4e70354b9ce70f4dd87f432961ae7c 100644 (file)
@@ -28,8 +28,6 @@
 #include "config.h"
 #include "DatabaseTask.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h"
 #include "DatabaseBackend.h"
 #include "Logging.h"
@@ -217,5 +215,3 @@ const char* DatabaseBackend::DatabaseTableNamesTask::debugTaskName() const
 #endif
 
 } // namespace WebCore
-
-#endif
index 88fb801af8a3a3ff0329d0d771d83680f44a5f8e..7d108507708beb6ec7fd6e0348ee595824d12858 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef DatabaseTask_h
 #define DatabaseTask_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBackend.h"
 #include "DatabaseBasicTypes.h"
 #include "DatabaseError.h"
@@ -197,6 +195,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseTask_h
index 8f2a9fe142e8c8c5cbc459a00ea1d3e9b4c77f6a..f264f08eff7a751d6bf34c74ac776a1c040ce844 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "DatabaseThread.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h"
 #include "DatabaseTask.h"
 #include "Logging.h"
@@ -271,4 +269,3 @@ void DatabaseThread::unscheduleDatabaseTasks(Database* database)
     m_queue.removeIf(predicate);
 }
 } // namespace WebCore
-#endif
index 85d3fbc1638d54beeed4cd03ed378aed33ad4811..8fa7d152e5fb8b693c4e225ec7e1aaaf460d583d 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef DatabaseThread_h
 #define DatabaseThread_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <memory>
 #include <wtf/Deque.h>
 #include <wtf/HashMap.h>
@@ -100,5 +98,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
 #endif // DatabaseThread_h
index 627bef65f9e479feb2c6528b0feb6f22331857bb..c844fd24936bbd6e3d54d81d88d9c9d2710676d2 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "DatabaseTracker.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Chrome.h"
 #include "ChromeClient.h"
 #include "Database.h"
@@ -1392,4 +1390,3 @@ void DatabaseTracker::notifyDatabasesChanged(void*)
 
 
 } // namespace WebCore
-#endif
index d62b2a62e59c57ecddc287b774e85d93cf358720..428595f7ad4a78babf39a50f96de749e61f5f5b2 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef DatabaseTracker_h
 #define DatabaseTracker_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseDetails.h"
 #include "DatabaseError.h"
 #include "SQLiteDatabase.h"
@@ -189,6 +187,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseTracker_h
index b94393ab934c51a5266b14683e9d2796434b1089..138025ac3623831f418743659acaa9b420e92518 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "OriginLock.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "FileSystem.h"
 
 namespace WebCore {
@@ -96,5 +94,3 @@ void OriginLock::deleteLockFile(String originPath)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 791a56a4abb1a52019371d6bd47c3369736f000b..52a49878a45bb8ffb184e7aa8d70ada2cbcc4dd0 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef OriginLock_h
 #define OriginLock_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "FileSystem.h"
 #include <wtf/ThreadSafeRefCounted.h>
 #include <wtf/ThreadingPrimitives.h>
@@ -58,6 +56,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // OriginLock_h
index c5b477f771fd758fdb3d01b06dbf7a9b08916489..771aef85de313ce62da96d5540acb9e44cfd69cb 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef SQLCallbackWrapper_h
 #define SQLCallbackWrapper_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "ScriptExecutionContext.h"
 #include <wtf/ThreadingPrimitives.h>
 
@@ -102,6 +100,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLCallbackWrapper_h
index 94f25616ade569aeca86d825a9d98681377920b5..22e92f550d4d7d7808b4cba2af9e4406fd0eb3ab 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef SQLError_h
 #define SQLError_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/ThreadSafeRefCounted.h>
 #include <wtf/text/WTFString.h>
 
@@ -70,6 +68,4 @@ private:
 
 }
 
-#endif
-
 #endif // SQLError_h
index e66cf26916a9ea7e9342327dc3f51081895cab13..4c30a93d5b25fb2e4ebb7fad5bbe5e5a12051d40 100644 (file)
@@ -28,7 +28,6 @@
 
 [
     NoInterfaceObject,
-    Conditional=SQL_DATABASE,
     ImplementationLacksVTable
 ] interface SQLError {
     readonly attribute unsigned long code;
index c578adacaf0d7c8a19decc3415e62c03e47aacbc..0fcb3aeed3170ba9884e4285e81b4b6e16a734c4 100644 (file)
@@ -27,8 +27,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(SQL_DATABASE)
 #include "SQLException.h"
 
 #include "ExceptionCodeDescription.h"
@@ -68,5 +66,3 @@ bool SQLException::initializeDescription(ExceptionCode ec, ExceptionCodeDescript
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 2531c8936e0df99f1be013ed7ebc7860cb2f6420..33b247726e5141c7c40f3921d0ad6c0f9101370b 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef SQLException_h
 #define SQLException_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "ExceptionBase.h"
 
 namespace WebCore {
@@ -69,6 +67,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLException_h
index 3b6a9c3c6ec5cd54dc068f6b2b2186365cc7b51e..3dc160a8fd74b3c31507d10caed1c895e2ee4a94 100644 (file)
@@ -29,7 +29,6 @@
  */
 
 [
-    Conditional=SQL_DATABASE,
     DoNotCheckConstants,
     ImplementationLacksVTable
 ] exception SQLException {
index 22828ad1484e55294e637ea947709c30e81c6a49..bafaa72a1f937d9fdc687e29bdcfbda66e5c75ed 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "SQLResultSet.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "ExceptionCode.h"
 
 namespace WebCore {
@@ -78,5 +76,3 @@ void SQLResultSet::setRowsAffected(int count)
 }
 
 }
-
-#endif
index 0b625ba79ecf55eabaf4c3128f2fd295c8a9524e..2c1f53dd2fa9888774d14ee183599faaf81f5ce3 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef SQLResultSet_h
 #define SQLResultSet_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBasicTypes.h"
 #include "SQLResultSetRowList.h"
 #include <wtf/ThreadSafeRefCounted.h>
@@ -61,6 +59,4 @@ private:
 
 } // namespace WebCore
 
-#endif
-
 #endif // SQLResultSet_h
index 8a6e892c1521f0f893e1696f0285ebfacd449fd5..8513a2498f4895b1e6531a079cc2f2ae3884f5c3 100644 (file)
@@ -28,7 +28,6 @@
 
 [
     NoInterfaceObject,
-    Conditional=SQL_DATABASE,
     ImplementationLacksVTable
 ] interface SQLResultSet {
     readonly attribute SQLResultSetRowList rows;
index f5a170b60b2e93821db965c3e67cc7d3ad514bce..657ae94cec6bdc6f63d9aad99d6ec4f7a9fd9628 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "SQLResultSetRowList.h"
 
-#if ENABLE(SQL_DATABASE)
-
 namespace WebCore {
 
 unsigned SQLResultSetRowList::length() const
@@ -44,5 +42,3 @@ unsigned SQLResultSetRowList::length() const
 }
 
 }
-
-#endif
index ca6f62790e7e26f6979f16ce95a9671d5170b9fa..af20d195c8ed8421b7c9d43d132cb24e53e7323d 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef SQLResultSetRowList_h
 #define SQLResultSetRowList_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
 #include "SQLValue.h"
@@ -59,5 +57,3 @@ private:
 }
 
 #endif
-
-#endif
index 87f8cc4e3281f4dd9b41dfab9ab61ceac1c16727..8694184f2cbb66770956626f055efa9904ce1186 100644 (file)
@@ -28,7 +28,6 @@
 
 [
     NoInterfaceObject,
-    Conditional=SQL_DATABASE,
     ImplementationLacksVTable,
 ] interface SQLResultSetRowList {
     readonly attribute unsigned long length;
index d48e623a978d42934d5972cf03652001aa9675f8..fcbc5bb21d61e9b1171c3aa8759d02d137c34823 100644 (file)
@@ -28,8 +28,6 @@
 #include "config.h"
 #include "SQLStatement.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "AbstractDatabaseServer.h"
 #include "Database.h"
 #include "DatabaseManager.h"
@@ -92,5 +90,3 @@ bool SQLStatement::performCallback(SQLTransaction* transaction)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 4bd07548f2e16e8465f1dd64f75a2d2606b2fed7..97a8f927fdfee1614b0055bf19f444ffb6b4463c 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef SQLStatement_h
 #define SQLStatement_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "SQLCallbackWrapper.h"
 #include "SQLResultSet.h"
 #include "SQLValue.h"
@@ -69,6 +67,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLStatement_h
index 89d1bbba6907a10fe157e99f5067da0998235c1a..fb001df71e4318b20b571c5b172089beda8e912a 100644 (file)
@@ -28,8 +28,6 @@
 #include "config.h"
 #include "SQLStatementBackend.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBackend.h"
 #include "Logging.h"
 #include "SQLError.h"
@@ -241,5 +239,3 @@ bool SQLStatementBackend::lastExecutionFailedDueToQuota() const
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index f3e39a3917bf9f3f076e9d675efd5b9b256ec073..d01510ddd493653e70ad479bf76738ea5d68a835 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef SQLStatementBackend_h
 #define SQLStatementBackend_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "SQLValue.h"
 #include <wtf/Forward.h>
 #include <wtf/Vector.h>
@@ -83,6 +81,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLStatementBackend_h
index 548414390a21b119d4e5c66553b0d4c659f32798..02dee423f34743c843197f3ee960802cbfc6b8b3 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef SQLStatementCallback_h
 #define SQLStatementCallback_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/ThreadSafeRefCounted.h>
 
 namespace WebCore {
@@ -45,6 +43,4 @@ public:
 
 }
 
-#endif
-
 #endif // SQLStatementErrorCallback_h
index fc28ca042d7f94f498838eb288f200cf7f9769b8..89cc53044c692b15eb0a97bbcfa973eeb4bdebf0 100644 (file)
@@ -26,8 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-[
-    Conditional=SQL_DATABASE,
-] callback interface SQLStatementCallback {
+callback interface SQLStatementCallback {
     boolean handleEvent(SQLTransaction transaction, SQLResultSet resultSet);
 };
index a316964419d1d43777aedf3ef015295fd58ba36e..e2ae8db3047209a1b56d8a6d9cf6d14158236f6d 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef SQLStatementErrorCallback_h
 #define SQLStatementErrorCallback_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/ThreadSafeRefCounted.h>
 
 namespace WebCore {
@@ -46,6 +44,4 @@ public:
 
 }
 
-#endif
-
 #endif // SQLStatementErrorCallback_h
index e325c1ce243ae50587a8685d212a25483b771673..1c841d3e5532f28bfe5e3a3df3bd6982376ea678 100644 (file)
@@ -26,8 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-[
-    Conditional=SQL_DATABASE,
-] callback interface SQLStatementErrorCallback {
+callback interface SQLStatementErrorCallback {
     [Custom] boolean handleEvent(SQLTransaction transaction, SQLError error);
 };
index f513191b4562ec2f8523d5848c2dc655da85944f..28d1d5a3b3a6030292d6f7a1572c993623cafb18 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "SQLTransaction.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h"
 #include "DatabaseAuthorizer.h"
 #include "DatabaseContext.h"
@@ -295,5 +293,3 @@ void SQLTransaction::clearCallbackWrappers()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index ed94854533765417f556a8dc09bd166be3c8a840..bbcd5eaf1f18798a86889fc08cfd0bdacf0ac745 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef SQLTransaction_h
 #define SQLTransaction_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "SQLCallbackWrapper.h"
 #include "SQLStatement.h"
 #include "SQLTransactionStateMachine.h"
@@ -103,6 +101,4 @@ private:
 
 } // namespace WebCore
 
-#endif
-
 #endif // SQLTransaction_h
index ec4e957534ab9538a63aa4e79d2a2563f903d3ab..be187d21e0b7c9e0dc1205d25f16edea2ca5e5b7 100644 (file)
@@ -28,7 +28,6 @@
 
 [
     NoInterfaceObject,
-    Conditional=SQL_DATABASE,
     SkipVTableValidation,
 ] interface SQLTransaction {
     [Custom] void executeSql(DOMString sqlStatement,
index 2ef7c165e41921bf3763840a8f72af7f0be49ba3..d6e2abb20349ccb20adb2e7c340879fae99fe40b 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "SQLTransactionBackend.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h" // FIXME: Should only be used in the frontend.
 #include "DatabaseAuthorizer.h"
 #include "DatabaseBackend.h"
@@ -852,5 +850,3 @@ void SQLTransactionBackend::releaseOriginLockIfNeeded()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 8813a2a1a8f6a4b5296da0b2de0c9cd997e3a28c..1117e1ccb3c4ade1ff41d0523593c21a84a1b804 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef SQLTransactionBackend_h
 #define SQLTransactionBackend_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBasicTypes.h"
 #include "SQLTransactionStateMachine.h"
 #include <memory>
@@ -139,6 +137,4 @@ private:
 
 } // namespace WebCore
 
-#endif
-
 #endif // SQLTransactionBackend_h
index a30786629011b37bc07d8993de75946002a52986..14fb09691bfb48e09d9636d35eea6142b81ba4e8 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef SQLTransactionCallback_h
 #define SQLTransactionCallback_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/ThreadSafeRefCounted.h>
 
 namespace WebCore {
@@ -45,6 +43,4 @@ public:
 
 }
 
-#endif
-
 #endif // SQLTransactionCallback_h
index cf28551a3989389f5755d219fb4d71793b597599..e6ba17cf80a3b3e44eaacc666e363fa376805b22 100644 (file)
@@ -26,8 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-[
-    Conditional=SQL_DATABASE,
-] callback interface SQLTransactionCallback {
+callback interface SQLTransactionCallback {
     boolean handleEvent(SQLTransaction transaction);
 };
index 443f72653766779328a11715c8bdb1307fe746be..af43d10730cbae8dd91ede1f96c5ff56351da708 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "SQLTransactionClient.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "DatabaseBackendBase.h"
 #include "DatabaseContext.h"
 #include "DatabaseManager.h"
@@ -58,5 +56,3 @@ bool SQLTransactionClient::didExceedQuota(DatabaseBackendBase* database)
 }
 
 }
-
-#endif // ENABLE(SQL_DATABASE)
index cd65eafa6e270e5816c3949d5f1b7743a06a0d40..61728206309ccbdc7c59ac81a6754db3981c197b 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef SQLTransactionClient_h
 #define SQLTransactionClient_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/FastMalloc.h>
 #include <wtf/Noncopyable.h>
 
@@ -52,6 +50,4 @@ public:
 
 }
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLTransactionClient_h
index 8abc6cf176b066a53cce7508496271e6838ff3a2..9f62234ac39ec845d5d4e10dec102383eada16f9 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "SQLTransactionCoordinator.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Database.h"
 #include "SQLTransactionBackend.h"
 #include "SecurityOrigin.h"
@@ -151,5 +149,3 @@ void SQLTransactionCoordinator::shutdown()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index ce87e055e5903fa9a0e5f99eeb88473ce2de063f..4a7ae2602379021f9adcca0f0629b64c1e23e70d 100644 (file)
@@ -32,8 +32,6 @@
 #ifndef SQLTransactionCoordinator_h
 #define SQLTransactionCoordinator_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/Deque.h>
 #include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
@@ -68,6 +66,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLTransactionCoordinator_h
index 272a82c7983c508836d5032a967e5687d13e9abc..38f0e4df4dafc49387957cd877a9424e56d8dba6 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef SQLTransactionErrorCallback_h
 #define SQLTransactionErrorCallback_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <wtf/ThreadSafeRefCounted.h>
 
 namespace WebCore {
@@ -45,6 +43,4 @@ public:
 
 }
 
-#endif
-
 #endif // SQLTransactionErrorCallback_h
index 9af42ed78f71de2d16cb2855677d14df2e5ceb1a..7071b324772a3223c4b0fc4cce9a1c6c06c8843d 100644 (file)
@@ -26,8 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-[
-    Conditional=SQL_DATABASE,
-] callback interface SQLTransactionErrorCallback {
+callback interface SQLTransactionErrorCallback {
     boolean handleEvent(SQLError error);
 };
index f8a5adf62ec77f1fb2305dd84b68a068165072d0..134756bafbe99abf3208ad9e29ed0f7e7fb7477a 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef SQLTransactionState_h
 #define SQLTransactionState_h
 
-#if ENABLE(SQL_DATABASE)
-
 namespace WebCore {
 
 enum class SQLTransactionState {
@@ -49,6 +47,4 @@ enum class SQLTransactionState {
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLTransactionState_h
index 194f862b4a979ef132245872904b1e64dc94f3e9..ccd8940335f4b0c0a08547e829a5a868c42847dd 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "SQLTransactionStateMachine.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "Logging.h"
 #include <wtf/Assertions.h>
 
@@ -70,5 +68,3 @@ const char* nameForSQLTransactionState(SQLTransactionState state)
 #endif
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index fff11a8ce8ccf73aaa71e1fca6eb2dbcb0ead763..20a89d59939750c67c1d3f67e4a92db9ea697c28 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef SQLTransactionStateMachine_h
 #define SQLTransactionStateMachine_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "SQLTransactionState.h"
 #include <wtf/ThreadSafeRefCounted.h>
 
@@ -107,6 +105,4 @@ void SQLTransactionStateMachine<T>::runStateMachine()
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // SQLTransactionStateMachine_h
index 7e86db61867657fad26986554dd72fe161fe3665..fd49329d9cb5fdc08026bd3bff8081681ed521bd 100644 (file)
@@ -37,7 +37,9 @@
 #include "JSCommandLineAPIHost.h"
 
 #include "CommandLineAPIHost.h"
+#include "Database.h"
 #include "InspectorDOMAgent.h"
+#include "JSDatabase.h"
 #include "JSEventListener.h"
 #include "JSNode.h"
 #include "JSStorage.h"
 #include <runtime/JSLock.h>
 #include <runtime/ObjectConstructor.h>
 
-#if ENABLE(SQL_DATABASE)
-#include "Database.h"
-#include "JSDatabase.h"
-#endif
 
 using namespace JSC;
 
@@ -148,11 +146,9 @@ JSValue JSCommandLineAPIHost::databaseId(ExecState* exec)
     if (exec->argumentCount() < 1)
         return jsUndefined();
 
-#if ENABLE(SQL_DATABASE)
     Database* database = JSDatabase::toWrapped(exec->uncheckedArgument(0));
     if (database)
         return jsStringWithCache(exec, impl().databaseIdImpl(database));
-#endif
 
     return jsUndefined();
 }
index 5520a861c97dfb6652afa8c9a027b7f3613264ba..011ff9af69c11c58bda5a52503d48ab63f3f8e96 100644 (file)
@@ -27,9 +27,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(SQL_DATABASE)
-
 #include "JSSQLStatementErrorCallback.h"
 
 #include "JSSQLError.h"
@@ -69,5 +66,3 @@ bool JSSQLStatementErrorCallback::handleEvent(SQLTransaction* transaction, SQLEr
 }
 
 }
-
-#endif // ENABLE(SQL_DATABASE)
index a9b639e7b70dc8bd02dca6d1d56b2b9e32ee8326..a17af56c910af72b2ba5cf156803317b3a289801 100644 (file)
 #include "JSDOMCoreException.h"
 #include "JSEventException.h"
 #include "JSRangeException.h"
+#include "JSSQLException.h"
 #include "JSSVGException.h"
 #include "JSXMLHttpRequestException.h"
 #include "JSXPathException.h"
-#if ENABLE(SQL_DATABASE)
 #include "SQLException.h"
-#include "JSSQLException.h"
-#endif
 
 namespace WebCore {
 
@@ -53,10 +51,8 @@ ExceptionBase* toExceptionBase(JSC::JSValue value)
         return reinterpret_cast<ExceptionBase*>(svgException);
     if (XPathException* pathException = JSXPathException::toWrapped(value))
         return reinterpret_cast<ExceptionBase*>(pathException);
-#if ENABLE(SQL_DATABASE)
     if (SQLException* pathException = JSSQLException::toWrapped(value))
         return reinterpret_cast<ExceptionBase*>(pathException);
-#endif
 
     return 0;
 }
index 84b4c7629357cfbf91e925239fd43da3a7a5d330..3c92beb134ed06331b39f61f369e4d88dc333da3 100644 (file)
 
 #include "config.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "JSSQLResultSetRowList.h"
-
 #include "ExceptionCode.h"
 #include "JSDOMBinding.h"
 #include "SQLValue.h"
@@ -84,5 +81,3 @@ JSValue JSSQLResultSetRowList::item(ExecState* exec)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 9bd90e31652f9f7bcf10810098cef1745461bdb6..bd1a6d89a7acd30a1ae898cf888de00c299571e4 100644 (file)
 
 #include "config.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "JSSQLTransaction.h"
-
 #include "DOMWindow.h"
 #include "ExceptionCode.h"
 #include "JSSQLStatementCallback.h"
@@ -118,5 +115,3 @@ JSValue JSSQLTransaction::executeSql(ExecState* exec)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
index 905f0fd78e9633f85d84d2c2fdd5fd64834506ed..8ceccce48a7933ac1bb669b66d8fb856e5798a72 100644 (file)
 #define WEBKIT_DOM_TEST_CALLBACK_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_DOM_TYPE_TEST_CALLBACK, WebKitDOMTestCallbackPrivate)
 
 typedef struct _WebKitDOMTestCallbackPrivate {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     RefPtr<WebCore::TestCallback> coreObject;
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(SPEECH_SYNTHESIS)
 } WebKitDOMTestCallbackPrivate;
 
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
 
 namespace WebKit {
 
@@ -73,16 +73,16 @@ WebKitDOMTestCallback* wrapTestCallback(WebCore::TestCallback* coreObject)
 
 } // namespace WebKit
 
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(SPEECH_SYNTHESIS)
 
 G_DEFINE_TYPE(WebKitDOMTestCallback, webkit_dom_test_callback, WEBKIT_DOM_TYPE_OBJECT)
 
 static void webkit_dom_test_callback_finalize(GObject* object)
 {
     WebKitDOMTestCallbackPrivate* priv = WEBKIT_DOM_TEST_CALLBACK_GET_PRIVATE(object);
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebKit::DOMObjectCache::forget(priv->coreObject.get());
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(SPEECH_SYNTHESIS)
     priv->~WebKitDOMTestCallbackPrivate();
     G_OBJECT_CLASS(webkit_dom_test_callback_parent_class)->finalize(object);
 }
@@ -90,11 +90,11 @@ static void webkit_dom_test_callback_finalize(GObject* object)
 static GObject* webkit_dom_test_callback_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
 {
     GObject* object = G_OBJECT_CLASS(webkit_dom_test_callback_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebKitDOMTestCallbackPrivate* priv = WEBKIT_DOM_TEST_CALLBACK_GET_PRIVATE(object);
     priv->coreObject = static_cast<WebCore::TestCallback*>(WEBKIT_DOM_OBJECT(object)->coreObject);
     WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(SPEECH_SYNTHESIS)
     return object;
 }
 
@@ -114,7 +114,7 @@ static void webkit_dom_test_callback_init(WebKitDOMTestCallback* request)
 
 gboolean webkit_dom_test_callback_callback_with_no_param(WebKitDOMTestCallback* self)
 {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
     WebCore::TestCallback* item = WebKit::core(self);
@@ -122,14 +122,14 @@ gboolean webkit_dom_test_callback_callback_with_no_param(WebKitDOMTestCallback*
     return result;
 #else
     UNUSED_PARAM(self);
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
+    WEBKIT_WARN_FEATURE_NOT_PRESENT("Speech Synthesis")
     return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 }
 
 gboolean webkit_dom_test_callback_callback_with_array_param(WebKitDOMTestCallback* self, WebKitDOMFloat32Array* arrayParam)
 {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
     g_return_val_if_fail(WEBKIT_DOM_IS_FLOAT32ARRAY(arrayParam), FALSE);
@@ -140,14 +140,14 @@ gboolean webkit_dom_test_callback_callback_with_array_param(WebKitDOMTestCallbac
 #else
     UNUSED_PARAM(self);
     UNUSED_PARAM(arrayParam);
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
+    WEBKIT_WARN_FEATURE_NOT_PRESENT("Speech Synthesis")
     return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 }
 
 gboolean webkit_dom_test_callback_callback_with_serialized_script_value_param(WebKitDOMTestCallback* self, const gchar* srzParam, const gchar* strArg)
 {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
     g_return_val_if_fail(srzParam, FALSE);
@@ -160,14 +160,14 @@ gboolean webkit_dom_test_callback_callback_with_serialized_script_value_param(We
     UNUSED_PARAM(self);
     UNUSED_PARAM(srzParam);
     UNUSED_PARAM(strArg);
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
+    WEBKIT_WARN_FEATURE_NOT_PRESENT("Speech Synthesis")
     return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 }
 
 glong webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, const gchar* strArg)
 {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), 0);
     g_return_val_if_fail(strArg, 0);
@@ -178,14 +178,14 @@ glong webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestC
 #else
     UNUSED_PARAM(self);
     UNUSED_PARAM(strArg);
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
+    WEBKIT_WARN_FEATURE_NOT_PRESENT("Speech Synthesis")
     return static_cast<glong>(0);
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 }
 
 gboolean webkit_dom_test_callback_callback_with_string_list(WebKitDOMTestCallback* self, WebKitDOMDOMStringList* listParam)
 {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
     g_return_val_if_fail(WEBKIT_DOM_IS_DOM_STRING_LIST(listParam), FALSE);
@@ -196,14 +196,14 @@ gboolean webkit_dom_test_callback_callback_with_string_list(WebKitDOMTestCallbac
 #else
     UNUSED_PARAM(self);
     UNUSED_PARAM(listParam);
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
+    WEBKIT_WARN_FEATURE_NOT_PRESENT("Speech Synthesis")
     return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 }
 
 gboolean webkit_dom_test_callback_callback_with_boolean(WebKitDOMTestCallback* self, gboolean boolParam)
 {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
     WebCore::TestCallback* item = WebKit::core(self);
@@ -212,14 +212,14 @@ gboolean webkit_dom_test_callback_callback_with_boolean(WebKitDOMTestCallback* s
 #else
     UNUSED_PARAM(self);
     UNUSED_PARAM(boolParam);
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
+    WEBKIT_WARN_FEATURE_NOT_PRESENT("Speech Synthesis")
     return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 }
 
 gboolean webkit_dom_test_callback_callback_requires_this_to_pass(WebKitDOMTestCallback* self, glong longParam, WebKitDOMTestNode* testNodeParam)
 {
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_NODE(testNodeParam), FALSE);
@@ -231,8 +231,8 @@ gboolean webkit_dom_test_callback_callback_requires_this_to_pass(WebKitDOMTestCa
     UNUSED_PARAM(self);
     UNUSED_PARAM(longParam);
     UNUSED_PARAM(testNodeParam);
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
+    WEBKIT_WARN_FEATURE_NOT_PRESENT("Speech Synthesis")
     return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 }
 
index f1617382b16e86e6661c850ba0f77b280c441582..0972388afc724b6c2c5639203640a6621e4ea890 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "TestCallback.h"
 #include <webkitdom/WebKitDOMTestCallback.h>
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
 
 namespace WebKit {
 WebKitDOMTestCallback* wrapTestCallback(WebCore::TestCallback*);
@@ -31,6 +31,6 @@ WebKitDOMTestCallback* kit(WebCore::TestCallback*);
 WebCore::TestCallback* core(WebKitDOMTestCallback*);
 } // namespace WebKit
 
-#endif /* ENABLE(SQL_DATABASE) */
+#endif /* ENABLE(SPEECH_SYNTHESIS) */
 
 #endif /* WebKitDOMTestCallbackPrivate_h */
index f1c1fceee52e72211e84d2f0fb51521731e4be15..410f54ca2b3fa7be9e8437fe7a37b08ecbb2c56d 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "config.h"
 
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
 
 #include "JSTestCallback.h"
 
@@ -168,4 +168,4 @@ bool JSTestCallback::callbackRequiresThisToPass(int longParam, TestNode* testNod
 
 }
 
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(SPEECH_SYNTHESIS)
index be735f9b75f5bb14a3577fd42d8b9e20c91b77e5..dc9650db44eafadb8dc1f368dad2f970bc77254a 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef JSTestCallback_h
 #define JSTestCallback_h
 
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
 
 #include "ActiveDOMCallback.h"
 #include "JSCallbackData.h"
@@ -59,6 +59,6 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(SPEECH_SYNTHESIS)
 
 #endif
index f891c3519e6e7240866e4e3d38ac31946332d2b0..bc2cb43d3c67b8579befcd8de8e42433efb3cec4 100644 (file)
@@ -26,7 +26,7 @@
 
 #import "config.h"
 
-#if ENABLE(SQL_DATABASE)
+#if ENABLE(SPEECH_SYNTHESIS)
 
 #import "DOMInternal.h"
 
@@ -143,4 +143,4 @@ DOMTestCallback *kit(WebCore::TestCallback* value)
     return [wrapper autorelease];
 }
 
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(SPEECH_SYNTHESIS)
index 0629acb015c881cde001ddd3782ea9b32b5a23ae..4f520d9e3ef73e090979046a9685b3aff225cbee 100644 (file)
@@ -29,7 +29,7 @@
 // This IDL file is for testing the bindings code generator with a callback
 // interface and for tracking changes in its ouput.
 [
-    Conditional=SQL_DATABASE,
+    Conditional=SPEECH_SYNTHESIS,
 ] callback interface TestCallback {
   boolean callbackWithNoParam();
   boolean callbackWithArrayParam(Float32Array arrayParam);
index f06ebb3c299edeaaa5cc2eb12ef0b91a9b8242e6..3dd7a4837c3b0b29bee12595435d11b84ee5ebf5 100644 (file)
@@ -4,7 +4,7 @@ DOMCoreException
 EventException
 FileException
 RangeException
-SQLException conditional=SQL_DATABASE
+SQLException
 SVGException
 XMLHttpRequestException
 XPathException
index c79684589edd412c9adbe8ec9002dff96d67709c..fc237611c432381640b73cb42303a9b7f3f41ffa 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "CachedScript.h"
 #include "DOMTimer.h"
+#include "DatabaseContext.h"
 #include "Document.h"
 #include "ErrorEvent.h"
 #include "MessagePort.h"
 #include "Document.h"
 #endif
 
-#if ENABLE(SQL_DATABASE)
-#include "DatabaseContext.h"
-#endif
-
 using namespace Inspector;
 
 namespace WebCore {
@@ -459,13 +456,11 @@ JSC::VM& ScriptExecutionContext::vm()
     return downcast<WorkerGlobalScope>(*this).script()->vm();
 }
 
-#if ENABLE(SQL_DATABASE)
 void ScriptExecutionContext::setDatabaseContext(DatabaseContext* databaseContext)
 {
     ASSERT(!m_databaseContext);
     m_databaseContext = databaseContext;
 }
-#endif
 
 bool ScriptExecutionContext::hasPendingActivity() const
 {
index 5bc7ea2a4ef5cd6c39e0a7795e3c2ac2dca40c9b..cf7111423ba00840e8d88aa0f9565f6e557a1164 100644 (file)
@@ -171,9 +171,7 @@ public:
 
     virtual EventQueue& eventQueue() const = 0;
 
-#if ENABLE(SQL_DATABASE)
     void setDatabaseContext(DatabaseContext*);
-#endif
 
 #if ENABLE(SUBTLE_CRYPTO)
     virtual bool wrapCryptoKey(const Vector<uint8_t>& key, Vector<uint8_t>& wrappedKey) = 0;
@@ -226,9 +224,7 @@ private:
 
     std::unique_ptr<PublicURLManager> m_publicURLManager;
 
-#if ENABLE(SQL_DATABASE)
     RefPtr<DatabaseContext> m_databaseContext;
-#endif
 
     bool m_activeDOMObjectAdditionForbidden;
     int m_timerNestingLevel;
index 5a4c3082d9cef4e25bfbbecc28b79220182c2f54..9dba497e1c727aac4a8879b97ed5f9c653e88350 100644 (file)
@@ -139,13 +139,11 @@ static unsigned logCanCacheFrameDecision(Frame* frame, int indentLevel)
         FEATURE_COUNTER_INCREMENT_KEY(frame->page(), FeatureCounterPageCacheFailureHTTPSNoStoreKey);
         rejectReasons |= 1 << IsHttpsAndCacheControlled;
     }
-#if ENABLE(SQL_DATABASE)
     if (DatabaseManager::manager().hasOpenDatabases(frame->document())) {
         PCLOG("   -Frame has open database handles");
         FEATURE_COUNTER_INCREMENT_KEY(frame->page(), FeatureCounterPageCacheFailureHasOpenDatabasesKey);
         rejectReasons |= 1 << HasDatabaseHandles;
     }
-#endif
     if (!frame->loader().history().currentItem()) {
         PCLOG("   -No current history item");
         FEATURE_COUNTER_INCREMENT_KEY(frame->page(), FeatureCounterPageCacheFailureNoCurrentHistoryItemKey);
@@ -314,9 +312,7 @@ bool PageCache::canCachePageContainingThisFrame(Frame* frame)
         && !(documentLoader->substituteData().isValid() && !documentLoader->substituteData().failingURL().isEmpty())
         && (!frameLoader.subframeLoader().containsPlugins() || frame->page()->settings().pageCacheSupportsPlugins())
         && !(frame->isMainFrame() && document->url().protocolIs("https") && documentLoader->response().cacheControlContainsNoStore())
-#if ENABLE(SQL_DATABASE)
         && !DatabaseManager::manager().hasOpenDatabases(document)
-#endif
         && frameLoader.history().currentItem()
         && !frameLoader.quickRedirectComing()
         && !documentLoader->isLoadingInAPISense()
index b464da3a08cd6dd4ee32c12bdf2a5f3677838fe0..f234a876595896a88dc04c7c43028987477075e5 100644 (file)
@@ -33,6 +33,7 @@
 
 #if ENABLE(INSPECTOR)
 
+#include "Database.h"
 #include "Element.h"
 #include "Frame.h"
 #include "FrameLoader.h"
 #include <wtf/RefPtr.h>
 #include <wtf/StdLibExtras.h>
 
-#if ENABLE(SQL_DATABASE)
-#include "Database.h"
-#endif
-
 using namespace Inspector;
 
 namespace WebCore {
@@ -70,9 +67,7 @@ CommandLineAPIHost::CommandLineAPIHost()
     , m_consoleAgent(nullptr)
     , m_domAgent(nullptr)
     , m_domStorageAgent(nullptr)
-#if ENABLE(SQL_DATABASE)
     , m_databaseAgent(nullptr)
-#endif
 {
     m_defaultInspectableObject = std::make_unique<InspectableObject>();
 }
@@ -87,9 +82,7 @@ void CommandLineAPIHost::disconnect()
     m_consoleAgent = nullptr;
     m_domAgent = nullptr;
     m_domStorageAgent = nullptr;
-#if ENABLE(SQL_DATABASE)
     m_databaseAgent = nullptr;
-#endif
 }
 
 void CommandLineAPIHost::inspectImpl(RefPtr<InspectorValue>&& object, RefPtr<InspectorValue>&& hints)
@@ -149,14 +142,12 @@ CommandLineAPIHost::InspectableObject* CommandLineAPIHost::inspectedObject(unsig
     return m_inspectedObjects[index].get();
 }
 
-#if ENABLE(SQL_DATABASE)
 String CommandLineAPIHost::databaseIdImpl(Database* database)
 {
     if (m_databaseAgent)
         return m_databaseAgent->databaseId(database);
     return String();
 }
-#endif
 
 String CommandLineAPIHost::storageIdImpl(Storage* storage)
 {
index 31e6c628a0b7da394c15142e6ae0734d1d5f4275..877ef0b4207d611fa2781a400b52a0a7b5e6ad5f 100644 (file)
@@ -67,18 +67,14 @@ public:
         , Inspector::InspectorConsoleAgent* consoleAgent
         , InspectorDOMAgent* domAgent
         , InspectorDOMStorageAgent* domStorageAgent
-#if ENABLE(SQL_DATABASE)
         , InspectorDatabaseAgent* databaseAgent
-#endif
         )
     {
         m_inspectorAgent = inspectorAgent;
         m_consoleAgent = consoleAgent;
         m_domAgent = domAgent;
         m_domStorageAgent = domStorageAgent;
-#if ENABLE(SQL_DATABASE)
         m_databaseAgent = databaseAgent;
-#endif
     }
 
     void disconnect();
@@ -99,9 +95,7 @@ public:
 
     void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray);
 
-#if ENABLE(SQL_DATABASE)
     String databaseIdImpl(Database*);
-#endif
     String storageIdImpl(Storage*);
 
 private:
@@ -111,9 +105,7 @@ private:
     Inspector::InspectorConsoleAgent* m_consoleAgent;
     InspectorDOMAgent* m_domAgent;
     InspectorDOMStorageAgent* m_domStorageAgent;
-#if ENABLE(SQL_DATABASE)
     InspectorDatabaseAgent* m_databaseAgent;
-#endif
 
     Vector<std::unique_ptr<InspectableObject>> m_inspectedObjects;
     std::unique_ptr<InspectableObject> m_defaultInspectableObject;
index 8bf0f3724fe56d9802787af166173ad4deac1026..0892a2099f5dd6f4095a86601c639a96b14233c0 100644 (file)
@@ -122,11 +122,9 @@ InspectorController::InspectorController(Page& page, InspectorClient* inspectorC
 
     m_agents.append(std::make_unique<InspectorCSSAgent>(m_instrumentingAgents.get(), m_domAgent));
 
-#if ENABLE(SQL_DATABASE)
     auto databaseAgentPtr = std::make_unique<InspectorDatabaseAgent>(m_instrumentingAgents.get());
     InspectorDatabaseAgent* databaseAgent = databaseAgentPtr.get();
     m_agents.append(WTF::move(databaseAgentPtr));
-#endif
 
 #if ENABLE(INDEXED_DATABASE)
     m_agents.append(std::make_unique<InspectorIndexedDBAgent>(m_instrumentingAgents.get(), m_injectedScriptManager.get(), pageAgent));
@@ -171,9 +169,7 @@ InspectorController::InspectorController(Page& page, InspectorClient* inspectorC
             , consoleAgent
             , m_domAgent
             , domStorageAgent
-#if ENABLE(SQL_DATABASE)
             , databaseAgent
-#endif
         );
     }
 
index b47498337025878fb49b5de37d901ff44d14d523..73daa16f2901fabb3fa6c3fe03de37adc7a527b3 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "config.h"
 
-#if ENABLE(INSPECTOR) && ENABLE(SQL_DATABASE)
+#if ENABLE(INSPECTOR)
 
 #include "InspectorDatabaseAgent.h"
 
@@ -323,4 +323,4 @@ Database* InspectorDatabaseAgent::databaseForId(const String& databaseId)
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR) && ENABLE(SQL_DATABASE)
+#endif // ENABLE(INSPECTOR)
index 38e3f312bba3783ab2f30e3e54509fe645e2691a..443fcd9b1d1c48bf515de5379091636b105e71ee 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef InspectorDatabaseAgent_h
 #define InspectorDatabaseAgent_h
 
-#if ENABLE(INSPECTOR) && ENABLE(SQL_DATABASE)
+#if ENABLE(INSPECTOR)
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
@@ -83,6 +83,6 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR) && ENABLE(SQL_DATABASE)
+#endif // ENABLE(INSPECTOR)
 
 #endif // !defined(InspectorDatabaseAgent_h)
index cdec3acc3c561435d282b63da167a12f402bd29d..bcd2a2d860991a715cff464eba980f609d748ccf 100644 (file)
@@ -37,7 +37,6 @@
 
 namespace WebCore {
 
-#if ENABLE(SQL_DATABASE)
 inline void InspectorInstrumentation::didOpenDatabase(ScriptExecutionContext* context, RefPtr<Database>&& database, const String& domain, const String& name, const String& version)
 {
 #if ENABLE(INSPECTOR)
@@ -51,7 +50,6 @@ inline void InspectorInstrumentation::didOpenDatabase(ScriptExecutionContext* co
     UNUSED_PARAM(version);
 #endif
 }
-#endif
 
 } // namespace WebCore
 
index 9baf5ff761ac184c5245a5b52898d233d2408aff..858251890593ebeb9036bfba67c612dac7ea404f 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "config.h"
 
-#if ENABLE(SQL_DATABASE) && ENABLE(INSPECTOR)
+#if ENABLE(INSPECTOR)
 
 #include "InspectorDatabaseResource.h"
 
@@ -70,4 +70,4 @@ void InspectorDatabaseResource::bind(InspectorDatabaseFrontendDispatcher* databa
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE) && ENABLE(INSPECTOR)
+#endif // ENABLE(INSPECTOR)
index caa68aacae4a61bd29a4f25f23583480d0c82bbd..1db84446da940010129d8a318fa16d3f00378f84 100644 (file)
@@ -31,7 +31,7 @@
 #ifndef InspectorDatabaseResource_h
 #define InspectorDatabaseResource_h
 
-#if ENABLE(SQL_DATABASE) && ENABLE(INSPECTOR)
+#if ENABLE(INSPECTOR)
 
 #include <inspector/InspectorFrontendDispatchers.h>
 #include <wtf/RefCounted.h>
@@ -63,6 +63,6 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(SQL_DATABASE)
+#endif // ENABLE(INSPECTOR)
 
 #endif // InspectorDatabaseResource_h
index 2cf2ee34b8ef864eb26e7e097ec1ae2180f08223..0888afb65f5d7edadddcdeca2de0eab19a93a030 100644 (file)
@@ -772,10 +772,8 @@ void InspectorInstrumentation::didCommitLoadImpl(InstrumentingAgents& instrument
         if (InspectorCSSAgent* cssAgent = instrumentingAgents.inspectorCSSAgent())
             cssAgent->reset();
 
-#if ENABLE(SQL_DATABASE)
         if (InspectorDatabaseAgent* databaseAgent = instrumentingAgents.inspectorDatabaseAgent())
             databaseAgent->clearResources();
-#endif
 
         if (InspectorDOMAgent* domAgent = instrumentingAgents.inspectorDOMAgent())
             domAgent->setDocument(page->mainFrame().document());
@@ -939,7 +937,6 @@ RefPtr<JSC::Profile> InspectorInstrumentation::stopProfilingImpl(InstrumentingAg
     return nullptr;
 }
 
-#if ENABLE(SQL_DATABASE)
 void InspectorInstrumentation::didOpenDatabaseImpl(InstrumentingAgents& instrumentingAgents, RefPtr<Database>&& database, const String& domain, const String& name, const String& version)
 {
     if (!instrumentingAgents.inspectorEnvironment().developerExtrasEnabled())
@@ -947,7 +944,6 @@ void InspectorInstrumentation::didOpenDatabaseImpl(InstrumentingAgents& instrume
     if (InspectorDatabaseAgent* dbAgent = instrumentingAgents.inspectorDatabaseAgent())
         dbAgent->didOpenDatabase(database, domain, name, version);
 }
-#endif
 
 void InspectorInstrumentation::didDispatchDOMStorageEventImpl(InstrumentingAgents& instrumentingAgents, const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* securityOrigin, Page* page)
 {
index eab6b2fb1429bc56554a46208cb4ada8cca4fda6..cbed0e0ea756fe6b07f680deb60326863fcf03fc 100644 (file)
@@ -228,9 +228,7 @@ public:
     static void startProfiling(Page&, JSC::ExecState*, const String& title);
     static RefPtr<JSC::Profile> stopProfiling(Page&, JSC::ExecState*, const String& title);
 
-#if ENABLE(SQL_DATABASE)
     static void didOpenDatabase(ScriptExecutionContext*, RefPtr<Database>&&, const String& domain, const String& name, const String& version);
-#endif
 
     static void didDispatchDOMStorageEvent(const String& key, const String& oldValue, const String& newValue, StorageType, SecurityOrigin*, Page*);
 
@@ -418,9 +416,7 @@ private:
     static void startProfilingImpl(InstrumentingAgents&, JSC::ExecState*, const String& title);
     static RefPtr<JSC::Profile> stopProfilingImpl(InstrumentingAgents&, JSC::ExecState*, const String& title);
 
-#if ENABLE(SQL_DATABASE)
     static void didOpenDatabaseImpl(InstrumentingAgents&, RefPtr<Database>&&, const String& domain, const String& name, const String& version);
-#endif
 
     static void didDispatchDOMStorageEventImpl(InstrumentingAgents&, const String& key, const String& oldValue, const String& newValue, StorageType, SecurityOrigin*, Page*);
 
index ea828ec79d01a19c50112b04d447e30a5ba2a249..39f760e986551ca0601b62c2b20e0fa16a8e2d56 100644 (file)
@@ -61,9 +61,7 @@ InstrumentingAgents::InstrumentingAgents(InspectorEnvironment& environment)
 #if ENABLE(WEB_REPLAY)
     , m_inspectorReplayAgent(nullptr)
 #endif
-#if ENABLE(SQL_DATABASE)
     , m_inspectorDatabaseAgent(nullptr)
-#endif
     , m_inspectorApplicationCacheAgent(nullptr)
     , m_inspectorDebuggerAgent(nullptr)
     , m_pageDebuggerAgent(nullptr)
@@ -89,9 +87,7 @@ void InstrumentingAgents::reset()
 #if ENABLE(WEB_REPLAY)
     m_inspectorReplayAgent = nullptr;
 #endif
-#if ENABLE(SQL_DATABASE)
     m_inspectorDatabaseAgent = nullptr;
-#endif
     m_inspectorApplicationCacheAgent = nullptr;
     m_inspectorDebuggerAgent = nullptr;
     m_pageDebuggerAgent = nullptr;
index 47225e0c1b7538e4128113e370afaf47330e5501..f91a6859e4775dc04784fa317482b38e8d99da65 100644 (file)
@@ -115,10 +115,8 @@ public:
     void setInspectorReplayAgent(InspectorReplayAgent* agent) { m_inspectorReplayAgent = agent; }
 #endif
 
-#if ENABLE(SQL_DATABASE)
     InspectorDatabaseAgent* inspectorDatabaseAgent() const { return m_inspectorDatabaseAgent; }
     void setInspectorDatabaseAgent(InspectorDatabaseAgent* agent) { m_inspectorDatabaseAgent = agent; }
-#endif
 
     InspectorApplicationCacheAgent* inspectorApplicationCacheAgent() const { return m_inspectorApplicationCacheAgent; }
     void setInspectorApplicationCacheAgent(InspectorApplicationCacheAgent* agent) { m_inspectorApplicationCacheAgent = agent; }
@@ -158,9 +156,7 @@ private:
 #if ENABLE(WEB_REPLAY)
     InspectorReplayAgent* m_inspectorReplayAgent;
 #endif
-#if ENABLE(SQL_DATABASE)
     InspectorDatabaseAgent* m_inspectorDatabaseAgent;
-#endif
     InspectorApplicationCacheAgent* m_inspectorApplicationCacheAgent;
     Inspector::InspectorDebuggerAgent* m_inspectorDebuggerAgent;
     PageDebuggerAgent* m_pageDebuggerAgent;
index 0d5b13c3080ddbe9b6a557cc7f279897b1561105..04c8beb7cdcceff435b68e82ea9e637d539e7be1 100644 (file)
@@ -103,9 +103,7 @@ WorkerInspectorController::WorkerInspectorController(WorkerGlobalScope& workerGl
             , nullptr
             , nullptr
             , nullptr
-#if ENABLE(SQL_DATABASE)
             , nullptr
-#endif
         );
     }
 }
index 9efa398675648891f215f55a9d7482e96c6acc89..6a93f72db2d9cb6a58df90b57e8389b11b232db5 100644 (file)
@@ -155,9 +155,7 @@ public:
 
     virtual void print(Frame*) override { }
 
-#if ENABLE(SQL_DATABASE)
     virtual void exceededDatabaseQuota(Frame*, const String&, DatabaseDetails) override { }
-#endif
 
     virtual void reachedMaxAppCacheSize(int64_t) override { }
     virtual void reachedApplicationCacheOriginQuota(SecurityOrigin*, int64_t) override { }
index 92e844657ba955edfe17a2a0c12460f03e664745..a898e341fb3288fe97eb47e78d2880331749ff93 100644 (file)
@@ -494,10 +494,8 @@ void FrameLoader::stopLoading(UnloadEventPolicy unloadEventPolicy)
         // http://www.w3.org/Bugs/Public/show_bug.cgi?id=10537
         doc->setReadyState(Document::Complete);
 
-#if ENABLE(SQL_DATABASE)
         // FIXME: Should the DatabaseManager watch for something like ActiveDOMObject::stop() rather than being special-cased here?
         DatabaseManager::manager().stopDatabases(doc, 0);
-#endif
     }
 
     // FIXME: This will cancel redirection timer, which really needs to be restarted when restoring the frame from b/f cache.
index 092bd6bae97c5a414ac463463785e2357f8c92a7..ddc3b5c599e70b28692abd94895c905210f43860 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "AXObjectCache.h"
 #include "Cursor.h"
+#include "DatabaseDetails.h"
 #include "DisplayRefreshMonitor.h"
 #include "FocusDirection.h"
 #include "FrameLoader.h"
@@ -53,10 +54,6 @@ class WAKResponder;
 #endif
 #endif
 
-#if ENABLE(SQL_DATABASE)
-#include "DatabaseDetails.h"
-#endif
-
 OBJC_CLASS NSResponder;
 
 namespace WebCore {
@@ -204,9 +201,7 @@ public:
 
     virtual void pageExtendedBackgroundColorDidChange(Color) const { }
 
-#if ENABLE(SQL_DATABASE)
     virtual void exceededDatabaseQuota(Frame*, const String& databaseName, DatabaseDetails) = 0;
-#endif
 
     // Callback invoked when the application cache fails to save a cache object
     // because storing it would grow the database file past its defined maximum
index 88839fa89385045c99664d8b703deff29628759f..00ae8b64765f20f9272e10f3c5b3e2d2b2743bab 100644 (file)
@@ -34,9 +34,7 @@ static const char FeatureCounterPageCacheFailureMainDocumentErrorKey[] = "com.ap
 static const char FeatureCounterPageCacheFailureIsErrorPageKey[] = "com.apple.WebKit.pageCache.failure.isErrorPage";
 static const char FeatureCounterPageCacheFailureHasPlugins[] = "com.apple.WebKit.pageCache.failure.hasPlugins";
 static const char FeatureCounterPageCacheFailureHTTPSNoStoreKey[] = "com.apple.WebKit.pageCache.failure.httpsNoStore";
-#if ENABLE(SQL_DATABASE)
 static const char FeatureCounterPageCacheFailureHasOpenDatabasesKey[] = "com.apple.WebKit.pageCache.failure.hasOpenDatabases";
-#endif
 static const char FeatureCounterPageCacheFailureNoCurrentHistoryItemKey[] = "com.apple.WebKit.pageCache.failure.noCurrentHistoryItem";
 static const char FeatureCounterPageCacheFailureQuirkRedirectComingKey[] = "com.apple.WebKit.pageCache.failure.quirkRedirectComing";
 static const char FeatureCounterPageCacheFailureLoadingAPISenseKey[] = "com.apple.WebKit.pageCache.failure.loadingAPISense";
index c0d5f96586c6dc4dc653f33f8e5002803b8c70ae..83ed51ff1ca155b928a85e226a02b949636326d6 100644 (file)
@@ -1,3 +1,33 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Storage/WebDatabaseManager.mm:
+        (databasesDirectoryPath):
+        * Storage/WebDatabaseManagerClient.h:
+        * Storage/WebDatabaseManagerClient.mm:
+        * Storage/WebDatabaseManagerInternal.h:
+        * Storage/WebDatabaseManagerPrivate.h:
+        * Storage/WebDatabaseQuotaManager.mm:
+        (-[WebDatabaseQuotaManager usage]):
+        (-[WebDatabaseQuotaManager quota]):
+        (-[WebDatabaseQuotaManager setQuota:]):
+        * WebCoreSupport/WebChromeClient.h:
+        * WebCoreSupport/WebChromeClient.mm:
+        * WebCoreSupport/WebSecurityOrigin.mm:
+        (-[WebSecurityOrigin usage]):
+        (-[WebSecurityOrigin quota]):
+        (-[WebSecurityOrigin setQuota:]):
+        * WebView/WebFrame.mm:
+        (-[WebFrame _cacheabilityDictionary]):
+        * WebView/WebView.mm:
+        (-[WebView _commonInitializationWithFrameName:groupName:]):
+        (-[WebView _preferencesChanged:]):
+
 2015-01-14  Chris Dumez  <cdumez@apple.com>
 
         Make 'TypeName' parameter unnecessary in CSSPropertyNames.in
index db75115ffd55224c631cd4dc0e4fde88388607fc..d50a3550ad8d1d0d36155ff76a4c68c672f84157 100644 (file)
@@ -165,7 +165,6 @@ ENABLE_RESOLUTION_MEDIA_QUERY = ;
 ENABLE_RUBBER_BANDING[sdk=macosx*] = ENABLE_RUBBER_BANDING;
 ENABLE_CSS_SCROLL_SNAP = ENABLE_CSS_SCROLL_SNAP;
 ENABLE_SPEECH_SYNTHESIS = ENABLE_SPEECH_SYNTHESIS;
-ENABLE_SQL_DATABASE = ENABLE_SQL_DATABASE;
 ENABLE_SUBTLE_CRYPTO[sdk=iphone*] = ENABLE_SUBTLE_CRYPTO;
 ENABLE_SUBTLE_CRYPTO[sdk=macosx*] = $(ENABLE_SUBTLE_CRYPTO_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
 ENABLE_SUBTLE_CRYPTO_macosx_1080 = ;
@@ -227,4 +226,4 @@ ENABLE_LLINT_C_LOOP = ;
 
 ENABLE_SATURATED_LAYOUT_ARITHMETIC = ENABLE_SATURATED_LAYOUT_ARITHMETIC;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
index 3912f58e2e8587613ebcd6403fd91a0f85181626..9b9483fefd168db0170bda052ae8ca0479d56ea4 100644 (file)
@@ -28,8 +28,6 @@
 
 #import "WebDatabaseManagerPrivate.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #import "WebDatabaseManagerClient.h"
 #import "WebPlatformStrategies.h"
 #import "WebSecurityOriginInternal.h"
@@ -305,5 +303,3 @@ static NSString *databasesDirectoryPath()
     
     return [databasesDirectory stringByStandardizingPath];
 }
-
-#endif
index 403375dc5d7f9f652b32efecea3f9831f6c9027f..e69624ded1ca490aa4a956095ec8abf090a12b96 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#if ENABLE(SQL_DATABASE) 
-
 #import <WebCore/DatabaseManagerClient.h>
 
 class WebDatabaseManagerClient : public WebCore::DatabaseManagerClient {
@@ -54,5 +52,3 @@ private:
     bool m_isHandlingDeleteDatabaseOriginNotification;
 #endif
 };
-
-#endif
index aa93302f6e30f042b72293f01dd047f9284365df..057270b676de004691f37a87b5a142d343f78e5a 100644 (file)
@@ -25,8 +25,6 @@
  
 #import "WebDatabaseManagerClient.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #import "WebDatabaseManagerPrivate.h"
 #import "WebSecurityOriginInternal.h"
 #import <wtf/MainThread.h>
@@ -232,5 +230,3 @@ void WebDatabaseManagerClient::databaseOriginsDidChange()
 }
 
 #endif // PLATFORM(IOS)
-
-#endif
index 89b9ce78685c5ed12fca5faad190f1136f7d69f4..43e5558e729de370235266239780dfec34ef717e 100644 (file)
@@ -28,8 +28,6 @@
 
 #import "WebDatabaseManagerPrivate.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #if PLATFORM(IOS)
 @interface WebDatabaseManager (WebDatabaseManagerInternal)
 + (void)willBeginFirstTransaction;
@@ -40,5 +38,3 @@
 
 void WebKitSetWebDatabasePaused(bool);
 #endif
-
-#endif
index 677d2f878ad3f78cb24c7f47c9177a4ba6d45ed1..9389aa1b4cab36606789a9f391717723d099c41d 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if !defined(ENABLE_SQL_DATABASE)
-#define ENABLE_SQL_DATABASE 1
-#endif
-
-#if ENABLE_SQL_DATABASE
-
 extern NSString *WebDatabaseDirectoryDefaultsKey;
 
 extern NSString *WebDatabaseDisplayNameKey;
@@ -78,5 +72,3 @@ extern CFStringRef WebDatabaseOriginsDidChangeNotification;
 + (void)scheduleEmptyDatabaseRemoval;
 #endif
 @end
-
-#endif // ENABLE_SQL_DATABASE
index 138830c4f3f24b12b56e5d526f53d0e6ca7f2533..c2ac2aea751039a9ebb0886c9917db8f4293ebfa 100644 (file)
@@ -49,20 +49,12 @@ using namespace WebCore;
 
 - (unsigned long long)usage
 {
-#if ENABLE(SQL_DATABASE)
     return DatabaseManager::manager().usageForOrigin([_origin _core]);
-#else
-    return 0;
-#endif
 }
 
 - (unsigned long long)quota
 {
-#if ENABLE(SQL_DATABASE)
     return DatabaseManager::manager().quotaForOrigin([_origin _core]);
-#else
-    return 0;
-#endif
 }
 
 // If the quota is set to a value lower than the current usage, that quota will
@@ -70,9 +62,7 @@ using namespace WebCore;
 // prevent new data from being added to databases in that origin.
 - (void)setQuota:(unsigned long long)quota
 {
-#if ENABLE(SQL_DATABASE)
     DatabaseManager::manager().setQuota([_origin _core], quota);
-#endif
 }
 
 @end
index e5f72af6909707e8cb59db7694d1e3a453e5fc15..815268bfcd64ac75bb0d6167f72c603831878a4c 100644 (file)
@@ -119,9 +119,7 @@ public:
     virtual void setToolTip(const WTF::String&, WebCore::TextDirection) override;
 
     virtual void print(WebCore::Frame*) override;
-#if ENABLE(SQL_DATABASE)
     virtual void exceededDatabaseQuota(WebCore::Frame*, const WTF::String& databaseName, WebCore::DatabaseDetails) override;
-#endif
     virtual void reachedMaxAppCacheSize(int64_t spaceNeeded) override;
     virtual void reachedApplicationCacheOriginQuota(WebCore::SecurityOrigin*, int64_t totalSpaceNeeded) override;
 
index 70b0b306ae1a1238c532609600d35c5d1adf1320..c50bc2a4c7786b71a1074dbc7fdc415669bcf448 100644 (file)
@@ -676,8 +676,6 @@ void WebChromeClient::print(Frame* frame)
         CallUIDelegate(m_webView, @selector(webView:printFrameView:), [webFrame frameView]);
 }
 
-#if ENABLE(SQL_DATABASE)
-
 void WebChromeClient::exceededDatabaseQuota(Frame* frame, const String& databaseName, DatabaseDetails)
 {
     BEGIN_BLOCK_OBJC_EXCEPTIONS;
@@ -689,8 +687,6 @@ void WebChromeClient::exceededDatabaseQuota(Frame* frame, const String& database
     END_BLOCK_OBJC_EXCEPTIONS;
 }
 
-#endif
-
 void WebChromeClient::reachedMaxAppCacheSize(int64_t spaceNeeded)
 {
     // FIXME: Free some space.
index 2a3eaaa091dc33cf274d93812f5614bfdb25f2dd..68832edd6543bff48136986eb27714aac1cb6b7c 100644 (file)
@@ -179,27 +179,17 @@ using namespace WebCore;
 
 - (unsigned long long)usage
 {
-#if ENABLE(SQL_DATABASE)
     return DatabaseManager::manager().usageForOrigin(reinterpret_cast<SecurityOrigin*>(_private));
-#else
-    return 0;
-#endif
 }
 
 - (unsigned long long)quota
 {
-#if ENABLE(SQL_DATABASE)
     return DatabaseManager::manager().quotaForOrigin(reinterpret_cast<SecurityOrigin*>(_private));
-#else
-    return 0;
-#endif
 }
 
 - (void)setQuota:(unsigned long long)quota
 {
-#if ENABLE(SQL_DATABASE)
     DatabaseManager::manager().setQuota(reinterpret_cast<SecurityOrigin*>(_private), quota);
-#endif
 }
 
 @end
index 10c9cfd9fc65cf519488a106b4ed66e2f12e96bf..fdb773af4fce127bc1ed1fe8ad38914425778dba 100644 (file)
@@ -2092,10 +2092,8 @@ static WebFrameLoadType toWebFrameLoadType(FrameLoadType frameLoadType)
     }
     
     if (Document* document = _private->coreFrame->document()) {
-#if ENABLE(SQL_DATABASE)
         if (DatabaseManager::manager().hasOpenDatabases(document))
             [result setObject:[NSNumber numberWithBool:YES] forKey:WebFrameUsesDatabases];
-#endif
         if (!document->canSuspendActiveDOMObjects())
             [result setObject:[NSNumber numberWithBool:YES] forKey:WebFrameCanSuspendActiveDOMObjects];
     }
index a38809edaa63d532c5fdf3676752fc23b7f31a66..75b458646a1797a8a00cd98ce591737a30808788 100644 (file)
@@ -917,7 +917,6 @@ static void WebKitInitializeGamepadProviderIfNecessary()
         // of the initialization code which may depend on the strategies.
         WebPlatformStrategies::initializeIfNecessary();
 
-#if ENABLE(SQL_DATABASE)
 #if PLATFORM(IOS)
         // Set the WebSQLiteDatabaseTrackerClient.
         SQLiteDatabaseTracker::setClient(WebSQLiteDatabaseTrackerClient::sharedWebSQLiteDatabaseTrackerClient());
@@ -925,7 +924,6 @@ static void WebKitInitializeGamepadProviderIfNecessary()
         if ([standardPreferences databasesEnabled])
 #endif
         [WebDatabaseManager sharedWebDatabaseManager];
-#endif
 
 #if PLATFORM(IOS)        
         if ([standardPreferences storageTrackerEnabled])
@@ -2392,9 +2390,7 @@ static bool needsSelfRetainWhileLoadingQuirk()
     settings.setQTKitEnabled([preferences isQTKitEnabled]);
 #endif // PLATFORM(MAC)
 
-#if ENABLE(SQL_DATABASE)
     DatabaseManager::manager().setIsAvailable([preferences databasesEnabled]);
-#endif
 
 #if ENABLE(MEDIA_SOURCE)
     settings.setMediaSourceEnabled([preferences mediaSourceEnabled]);
index 4752de43c82d541556423c7bf5a45f1af806df33..7aed032f8f8b206fca1141e1dd70c61f10ade36d 100644 (file)
@@ -1,3 +1,25 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * ForEachCoClass.h:
+        * WebCoreSupport/WebChromeClient.cpp:
+        (WebChromeClient::exceededDatabaseQuota):
+        * WebCoreSupport/WebChromeClient.h:
+        * WebDatabaseManager.cpp:
+        (WebKitInitializeWebDatabasesIfNecessary):
+        * WebDatabaseManager.h:
+        * WebSecurityOrigin.cpp:
+        (WebSecurityOrigin::usage):
+        (WebSecurityOrigin::quota):
+        (WebSecurityOrigin::setQuota):
+        * WebView.cpp:
+        (WebView::initWithFrame):
+        (WebView::notifyPreferencesChanged):
+
 2015-01-15  Brent Fulgham  <bfulgham@apple.com>
 
         [Win] Unreviewed build fix after r178510
index 8fa50a4c5041831a5f428895c178935b99c3620a..dd4fa869135c097c71611c8c6977148480da2311 100644 (file)
 
 #include "ProgIDMacros.h"
 
-#if ENABLE(SQL_DATABASE)
 #define WEB_DATABASE_MANAGER(macro) macro(WebDatabaseManager)
-#else
-#define WEB_DATABASE_MANAGER(macro)
-#endif
 
 // Items may only be added to the end of this macro. No items may be removed from it.
 #define FOR_EACH_COCLASS(macro) \
index c9afe193d84d2f441906cd2e44b3411a591c46c9..477887a0e815913586084f212c7c7f72a8f6aa56 100644 (file)
@@ -582,7 +582,6 @@ void WebChromeClient::print(Frame* frame)
         uiDelegate->printFrame(m_webView, kit(frame));
 }
 
-#if ENABLE(SQL_DATABASE)
 void WebChromeClient::exceededDatabaseQuota(Frame* frame, const String& databaseIdentifier, DatabaseDetails)
 {
     COMPtr<WebSecurityOrigin> origin(AdoptCOM, WebSecurityOrigin::createInstance(frame->document()->securityOrigin()));
@@ -618,7 +617,6 @@ void WebChromeClient::exceededDatabaseQuota(Frame* frame, const String& database
         }
     }
 }
-#endif
 
 // FIXME: Move this include to the top of the file with the other includes.
 #include "ApplicationCacheStorage.h"
index 2154a4f61d1c81984cf5e35caa535a9a2e2d9256..384221243dcfcbcee4d706a341f9e2758457ed08 100644 (file)
@@ -112,9 +112,7 @@ public:
 
     virtual void print(WebCore::Frame*);
 
-#if ENABLE(SQL_DATABASE)
     virtual void exceededDatabaseQuota(WebCore::Frame*, const WTF::String&, WebCore::DatabaseDetails);
-#endif
 
     virtual void reachedMaxAppCacheSize(int64_t spaceNeeded);
     virtual void reachedApplicationCacheOriginQuota(WebCore::SecurityOrigin*, int64_t totalSpaceNeeded);
index 5e9733aaab318c492c2ea8b229e3dc1c754f321f..669f5f9a66353a61fb2f2a363b1a31f0baf94414 100644 (file)
@@ -29,8 +29,6 @@
 #include "WebDatabaseManager.h"
 #include "WebKitDLL.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "COMEnumVariant.h"
 #include "COMPropertyBag.h"
 #include "MarshallingHelpers.h"
@@ -427,5 +425,3 @@ void WebKitInitializeWebDatabasesIfNecessary()
 
     initialized = true;
 }
-
-#endif
index 13b3c3df60dfd2f790d8f0ea04b2da67b522d89d..af5638ff7277764483ccbad97cdab7f065e267e6 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef WebDatabaseManager_h
 #define WebDatabaseManager_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "WebKit.h"
 #include <WebCore/DatabaseManagerClient.h>
 
@@ -90,5 +88,3 @@ private:
 void WebKitInitializeWebDatabasesIfNecessary();
 
 #endif
-
-#endif
index 6c88454b08a2cf06e1bbb40093609291bee3bbc7..7dff2296b995fe953e6aa5f28118c038994193b4 100644 (file)
@@ -123,43 +123,28 @@ HRESULT WebSecurityOrigin::port(/* [retval][out] */ unsigned short* result)
         
 HRESULT WebSecurityOrigin::usage(/* [retval][out] */ unsigned long long* result)
 {
-#if ENABLE(SQL_DATABASE)
     if (!result)
         return E_POINTER;
 
     *result = DatabaseManager::manager().usageForOrigin(m_securityOrigin.get());
 
     return S_OK;
-#else
-    UNUSED_PARAM(result);
-    return E_NOTIMPL;
-#endif
 }
         
 HRESULT WebSecurityOrigin::quota(/* [retval][out] */ unsigned long long* result)
 {
-#if ENABLE(SQL_DATABASE)
     if (!result)
         return E_POINTER;
 
     *result = DatabaseManager::manager().quotaForOrigin(m_securityOrigin.get());
     return S_OK;
-#else
-    UNUSED_PARAM(result);
-    return E_NOTIMPL;
-#endif
 }
         
 HRESULT WebSecurityOrigin::setQuota(/* [in] */ unsigned long long quota) 
 {
-#if ENABLE(SQL_DATABASE)
     DatabaseManager::manager().setQuota(m_securityOrigin.get(), quota);
 
     return S_OK;
-#else
-    UNUSED_PARAM(quota);
-    return E_NOTIMPL;
-#endif
 }
 
 HRESULT WebSecurityOrigin::initWithURL(/* [in] */ BSTR urlBstr)
index faa9dbcb9c3041a74747084a6e08b9c07309c685..51cfbdf50c167f4017878c8d2db4aaff4831e31f 100644 (file)
@@ -2783,9 +2783,7 @@ HRESULT STDMETHODCALLTYPE WebView::initWithFrame(
         // of the initialization code which may depend on the strategies.
         WebPlatformStrategies::initialize();
 
-#if ENABLE(SQL_DATABASE)
         WebKitInitializeWebDatabasesIfNecessary();
-#endif
         WebKitSetApplicationCachePathIfNecessary();
         Settings::setDefaultMinDOMTimerInterval(0.004);
 
@@ -4956,12 +4954,10 @@ HRESULT WebView::notifyPreferencesChanged(IWebNotification* notification)
         return hr;
     settings.setOfflineWebApplicationCacheEnabled(enabled);
 
-#if ENABLE(SQL_DATABASE)
     hr = prefsPrivate->databasesEnabled(&enabled);
     if (FAILED(hr))
         return hr;
     DatabaseManager::manager().setIsAvailable(enabled);
-#endif
 
     hr = prefsPrivate->localStorageEnabled(&enabled);
     if (FAILED(hr))
index 166ff14e57a01b2aae015f039969cf33241d1f3c..571d603d51811e8f36764602d4a06695e20eabf0 100644 (file)
@@ -1,3 +1,61 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Shared/OriginAndDatabases.cpp:
+        * Shared/OriginAndDatabases.h:
+        * Shared/WebCoreArgumentCoders.cpp:
+        * UIProcess/API/C/WKContext.cpp:
+        (WKContextGetDatabaseManager):
+        * UIProcess/API/C/WKDatabaseManager.cpp:
+        (WKDatabaseManagerGetTypeID):
+        (WKDatabaseManagerGetOriginKey):
+        (WKDatabaseManagerGetOriginQuotaKey):
+        (WKDatabaseManagerGetOriginUsageKey):
+        (WKDatabaseManagerGetDatabaseDetailsKey):
+        (WKDatabaseManagerGetDatabaseDetailsNameKey):
+        (WKDatabaseManagerGetDatabaseDetailsDisplayNameKey):
+        (WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey):
+        (WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey):
+        (WKDatabaseManagerGetDatabaseDetailsCreationTimeKey):
+        (WKDatabaseManagerGetDatabaseDetailsModificationTimeKey):
+        (WKDatabaseManagerSetClient):
+        (WKDatabaseManagerGetDatabasesByOrigin):
+        (WKDatabaseManagerGetDatabaseOrigins):
+        (WKDatabaseManagerDeleteDatabasesWithNameForOrigin):
+        (WKDatabaseManagerDeleteDatabasesForOrigin):
+        (WKDatabaseManagerDeleteAllDatabases):
+        (WKDatabaseManagerSetQuotaForOrigin):
+        * UIProcess/API/efl/EwkView.cpp:
+        (EwkView::informDatabaseQuotaReached):
+        * UIProcess/WebDatabaseManagerProxy.cpp:
+        * UIProcess/WebDatabaseManagerProxy.h:
+        * UIProcess/WebDatabaseManagerProxy.messages.in:
+        * UIProcess/WebProcessPool.cpp:
+        * UIProcess/efl/PageUIClientEfl.cpp:
+        (WebKit::PageUIClientEfl::PageUIClientEfl):
+        (WebKit::PageUIClientEfl::exceededDatabaseQuota):
+        * UIProcess/efl/PageUIClientEfl.h:
+        * WebProcess/InjectedBundle/InjectedBundle.cpp:
+        (WebKit::InjectedBundle::clearAllDatabases):
+        (WebKit::InjectedBundle::setDatabaseQuota):
+        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+        (WebKit::WebChromeClient::exceededDatabaseQuota):
+        * WebProcess/WebCoreSupport/WebChromeClient.h:
+        * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+        * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+        * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
+        * WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.cpp:
+        * WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.h:
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::updatePreferences):
+        * WebProcess/WebProcess.cpp:
+        (WebKit::WebProcess::WebProcess):
+
 2015-01-15  Anders Carlsson  <andersca@apple.com>
 
         Add a connection parameter to StorageManager willOpen/didClose functions
index db75115ffd55224c631cd4dc0e4fde88388607fc..d50a3550ad8d1d0d36155ff76a4c68c672f84157 100644 (file)
@@ -165,7 +165,6 @@ ENABLE_RESOLUTION_MEDIA_QUERY = ;
 ENABLE_RUBBER_BANDING[sdk=macosx*] = ENABLE_RUBBER_BANDING;
 ENABLE_CSS_SCROLL_SNAP = ENABLE_CSS_SCROLL_SNAP;
 ENABLE_SPEECH_SYNTHESIS = ENABLE_SPEECH_SYNTHESIS;
-ENABLE_SQL_DATABASE = ENABLE_SQL_DATABASE;
 ENABLE_SUBTLE_CRYPTO[sdk=iphone*] = ENABLE_SUBTLE_CRYPTO;
 ENABLE_SUBTLE_CRYPTO[sdk=macosx*] = $(ENABLE_SUBTLE_CRYPTO_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
 ENABLE_SUBTLE_CRYPTO_macosx_1080 = ;
@@ -227,4 +226,4 @@ ENABLE_LLINT_C_LOOP = ;
 
 ENABLE_SATURATED_LAYOUT_ARITHMETIC = ENABLE_SATURATED_LAYOUT_ARITHMETIC;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
index 94f49b8d9883b826bf45e5eb596ba0c07497a2fd..73e95996172e2f5448df8f348ea2fc28dcf13b6d 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "OriginAndDatabases.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "WebCoreArgumentCoders.h"
 
 using namespace WebCore;
@@ -57,5 +55,3 @@ bool OriginAndDatabases::decode(IPC::ArgumentDecoder& decoder, OriginAndDatabase
 }
 
 } // namespace WebKit
-
-#endif // ENABLE(SQL_DATABASE)
index 487338f9577230d947434a91e2773598d2a79a37..6a3c9210d5d8d699eba5e700c8943ad69b33c60b 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef OriginAndDatabases_h
 #define OriginAndDatabases_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include <WebCore/DatabaseDetails.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
@@ -51,6 +49,4 @@ struct OriginAndDatabases {
 
 } // namespace WebKit
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // OriginAndDatabases_h
index ca040f628bea75ca898ba1e871ec774c023fd863..ab6ea90f8660d85dc532f86f6e21567cbae81556 100644 (file)
@@ -957,8 +957,6 @@ bool ArgumentCoder<Cookie>::decode(ArgumentDecoder& decoder, Cookie& cookie)
     return true;
 }
 
-
-#if ENABLE(SQL_DATABASE)
 void ArgumentCoder<DatabaseDetails>::encode(ArgumentEncoder& encoder, const DatabaseDetails& details)
 {
     encoder << details.name();
@@ -999,8 +997,6 @@ bool ArgumentCoder<DatabaseDetails>::decode(ArgumentDecoder& decoder, DatabaseDe
     return true;
 }
 
-#endif
-
 #if PLATFORM(IOS)
 
 void ArgumentCoder<Highlight>::encode(ArgumentEncoder& encoder, const Highlight& highlight)
index 9a05e00d1fc79236f32acdac010ed1eb73e325e8..12311ae4a84ed087250546bc2fa8d2a0651fb385 100644 (file)
 // Supplements
 #include "WebApplicationCacheManagerProxy.h"
 #include "WebCookieManagerProxy.h"
+#include "WebDatabaseManagerProxy.h"
 #include "WebGeolocationManagerProxy.h"
 #include "WebKeyValueStorageManager.h"
 #include "WebMediaCacheManagerProxy.h"
 #include "WebNotificationManagerProxy.h"
 #include "WebOriginDataManagerProxy.h"
 #include "WebResourceCacheManagerProxy.h"
-#if ENABLE(SQL_DATABASE)
-#include "WebDatabaseManagerProxy.h"
-#endif
 #if ENABLE(BATTERY_STATUS)
 #include "WebBatteryManagerProxy.h"
 #endif
@@ -422,12 +420,7 @@ WKBatteryManagerRef WKContextGetBatteryManager(WKContextRef contextRef)
 
 WKDatabaseManagerRef WKContextGetDatabaseManager(WKContextRef contextRef)
 {
-#if ENABLE(SQL_DATABASE)
     return toAPI(toImpl(contextRef)->supplement<WebDatabaseManagerProxy>());
-#else
-    UNUSED_PARAM(contextRef);
-    return 0;
-#endif
 }
 
 WKGeolocationManagerRef WKContextGetGeolocationManager(WKContextRef contextRef)
index 9ac8f86109387698f1f4daaeeddb3f03860c5d97..8adfd771560b9af3f9438a58461787b28c0dfa37 100644 (file)
@@ -33,184 +33,102 @@ using namespace WebKit;
 
 WKTypeID WKDatabaseManagerGetTypeID()
 {
-#if ENABLE(SQL_DATABASE)
     return toAPI(WebDatabaseManagerProxy::APIType);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetOriginKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::originKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetOriginQuotaKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::originQuotaKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetOriginUsageKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::originUsageKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetDatabaseDetailsKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::databaseDetailsKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetDatabaseDetailsNameKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::databaseDetailsNameKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetDatabaseDetailsDisplayNameKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::databaseDetailsDisplayNameKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::databaseDetailsExpectedUsageKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::databaseDetailsCurrentUsageKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetDatabaseDetailsCreationTimeKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::databaseDetailsCreationTimeKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 WKStringRef WKDatabaseManagerGetDatabaseDetailsModificationTimeKey()
 {
-#if ENABLE(SQL_DATABASE)
     static API::String* key = API::String::create(WebDatabaseManagerProxy::databaseDetailsModificationTimeKey()).leakRef();
     return toAPI(key);
-#else
-    return 0;
-#endif
 }
 
 void WKDatabaseManagerSetClient(WKDatabaseManagerRef databaseManagerRef, const WKDatabaseManagerClientBase* wkClient)
 {
-#if ENABLE(SQL_DATABASE)
     if (wkClient && wkClient->version)
         return;
     toImpl(databaseManagerRef)->initializeClient(wkClient);
-#else
-    UNUSED_PARAM(databaseManagerRef);
-    UNUSED_PARAM(wkClient);
-#endif
 }
 
 void WKDatabaseManagerGetDatabasesByOrigin(WKDatabaseManagerRef databaseManagerRef, void* context, WKDatabaseManagerGetDatabasesByOriginFunction callback)
 {
-#if ENABLE(SQL_DATABASE)
     toImpl(databaseManagerRef)->getDatabasesByOrigin(toGenericCallbackFunction(context, callback));
-#else
-    UNUSED_PARAM(databaseManagerRef);
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(callback);
-#endif
 }
 
 void WKDatabaseManagerGetDatabaseOrigins(WKDatabaseManagerRef databaseManagerRef, void* context, WKDatabaseManagerGetDatabaseOriginsFunction callback)
 {
-#if ENABLE(SQL_DATABASE)
     toImpl(databaseManagerRef)->getDatabaseOrigins(toGenericCallbackFunction(context, callback));
-#else
-    UNUSED_PARAM(databaseManagerRef);
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(callback);
-#endif
 }
 
 void WKDatabaseManagerDeleteDatabasesWithNameForOrigin(WKDatabaseManagerRef databaseManagerRef, WKStringRef databaseNameRef, WKSecurityOriginRef originRef)
 {
-#if ENABLE(SQL_DATABASE)
     toImpl(databaseManagerRef)->deleteDatabaseWithNameForOrigin(toWTFString(databaseNameRef), toImpl(originRef));
-#else
-    UNUSED_PARAM(databaseManagerRef);
-    UNUSED_PARAM(databaseNameRef);
-    UNUSED_PARAM(originRef);
-#endif
 }
 
 void WKDatabaseManagerDeleteDatabasesForOrigin(WKDatabaseManagerRef databaseManagerRef, WKSecurityOriginRef originRef)
 {
-#if ENABLE(SQL_DATABASE)
     toImpl(databaseManagerRef)->deleteDatabasesForOrigin(toImpl(originRef));
-#else
-    UNUSED_PARAM(databaseManagerRef);
-    UNUSED_PARAM(originRef);
-#endif
 }
 
 void WKDatabaseManagerDeleteAllDatabases(WKDatabaseManagerRef databaseManagerRef)
 {
-#if ENABLE(SQL_DATABASE)
     toImpl(databaseManagerRef)->deleteAllDatabases();
-#else
-    UNUSED_PARAM(databaseManagerRef);
-#endif
 }
 
 void WKDatabaseManagerSetQuotaForOrigin(WKDatabaseManagerRef databaseManagerRef, WKSecurityOriginRef originRef, uint64_t quota)
 {
-#if ENABLE(SQL_DATABASE)
     toImpl(databaseManagerRef)->setQuotaForOrigin(toImpl(originRef), quota);
-#else
-    UNUSED_PARAM(databaseManagerRef);
-    UNUSED_PARAM(originRef);
-    UNUSED_PARAM(quota);
-#endif
 }
index 1871f26b45548e33238fbb9ba1b4ba356b96e570..ee503a74a25d67b1e2a20e4a49308faa6726c100 100755 (executable)
@@ -1033,7 +1033,6 @@ WKEinaSharedString EwkView::requestJSPromptPopup(const WKEinaSharedString& messa
     return WKEinaSharedString::adopt(sd->api->run_javascript_prompt(sd, message, defaultValue));
 }
 
-#if ENABLE(SQL_DATABASE)
 /**
  * @internal
  * Calls exceeded_database_quota callback or falls back to default behavior returns default database quota.
@@ -1049,7 +1048,6 @@ unsigned long long EwkView::informDatabaseQuotaReached(const String& databaseNam
 
     return defaultQuota;
 }
-#endif
 
 WebView* EwkView::webView()
 {
index 1772b9842a2490346977305c8127886e6c2b6aa5..0e02fcae67461b77642e5e5aa6d59f59c13b7567 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "WebDatabaseManagerProxy.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "APIArray.h"
 #include "APIDictionary.h"
 #include "APISecurityOrigin.h"
@@ -264,5 +262,3 @@ void WebDatabaseManagerProxy::didModifyDatabase(const String& originIdentifier,
 }
 
 } // namespace WebKit
-
-#endif // ENABLE(SQL_DATABASE)
index 69e4467ab24445a88646afd02aa493b3e53704b3..bf555f2579e8f4ea1a43c45f9b98a260d8e9a130 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef WebDatabaseManagerProxy_h
 #define WebDatabaseManagerProxy_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "APIObject.h"
 #include "Arguments.h"
 #include "GenericCallback.h"
@@ -100,6 +98,4 @@ private:
 
 } // namespace WebKit
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // DatabaseManagerProxy_h
index b399cab43e8d7239f6149b65006e779f6f36df61..79d75b9c06dfee569958ba58716f09530019c215 100644 (file)
 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-#if ENABLE(SQL_DATABASE)
-
 messages -> WebDatabaseManagerProxy {
     DidGetDatabasesByOrigin(Vector<WebKit::OriginAndDatabases> originAndDatabases, uint64_t callbackID);
     DidGetDatabaseOrigins(Vector<String> originIdentifiers, uint64_t callbackID)
     DidModifyOrigin(String originIdentifier)
     DidModifyDatabase(String originIdentifier, String databaseIdentifier)
 }
-
-#endif // ENABLE(SQL_DATABASE)
index b14082dc1c1e430071cdb5d9e234ba963b8f1d99..67fcbac74137f9b0fe52abcb6fbe5df02a06cc6c 100644 (file)
@@ -214,9 +214,7 @@ WebProcessPool::WebProcessPool(WebProcessPoolConfiguration configuration)
     addSupplement<WebMediaCacheManagerProxy>();
     addSupplement<WebNotificationManagerProxy>();
     addSupplement<WebResourceCacheManagerProxy>();
-#if ENABLE(SQL_DATABASE)
     addSupplement<WebDatabaseManagerProxy>();
-#endif
 #if USE(SOUP)
     addSupplement<WebSoupCustomProtocolRequestManager>();
 #endif
index 7a63e71288926e47ca6085ce662e5107ea954de9..0110bae42c1e65a06eb8cde52979e98941aa96bd 100644 (file)
@@ -74,9 +74,7 @@ PageUIClientEfl::PageUIClientEfl(EwkView* view)
     uiClient.getWindowFrame = getWindowFrame;
     uiClient.setWindowFrame = setWindowFrame;
     uiClient.runBeforeUnloadConfirmPanel = runBeforeUnloadConfirmPanel;
-#if ENABLE(SQL_DATABASE)
     uiClient.exceededDatabaseQuota = exceededDatabaseQuota;
-#endif
     uiClient.runOpenPanel = runOpenPanel;
     uiClient.createNewPage = createNewPage;
 
@@ -200,13 +198,11 @@ bool PageUIClientEfl::runBeforeUnloadConfirmPanel(WKPageRef, WKStringRef message
     return toPageUIClientEfl(clientInfo)->m_view->requestJSConfirmPopup(WKEinaSharedString(message));
 }
 
-#if ENABLE(SQL_DATABASE)
 unsigned long long PageUIClientEfl::exceededDatabaseQuota(WKPageRef, WKFrameRef, WKSecurityOriginRef, WKStringRef databaseName, WKStringRef displayName, unsigned long long currentQuota, unsigned long long currentOriginUsage, unsigned long long currentDatabaseUsage, unsigned long long expectedUsage, const void* clientInfo)
 {
     EwkView* view = toPageUIClientEfl(clientInfo)->m_view;
     return view->informDatabaseQuotaReached(toImpl(databaseName)->string(), toImpl(displayName)->string(), currentQuota, currentOriginUsage, currentDatabaseUsage, expectedUsage);
 }
-#endif
 
 void PageUIClientEfl::runOpenPanel(WKPageRef, WKFrameRef, WKOpenPanelParametersRef parameters, WKOpenPanelResultListenerRef listener, const void* clientInfo)
 {
index 651cad4ae32f3cbed4a272d40b2ae28a1bef0e2a..35848922a4b23c358923c1529f3118d81471d3aa 100644 (file)
@@ -58,9 +58,7 @@ private:
     static WKRect getWindowFrame(WKPageRef, const void*);
     static void setWindowFrame(WKPageRef, WKRect, const void*);
     static bool runBeforeUnloadConfirmPanel(WKPageRef, WKStringRef, WKFrameRef, const void*);
-#if ENABLE(SQL_DATABASE)
     static unsigned long long exceededDatabaseQuota(WKPageRef, WKFrameRef, WKSecurityOriginRef, WKStringRef, WKStringRef, unsigned long long currentQuota, unsigned long long, unsigned long long, unsigned long long, const void*);
-#endif
     static void runOpenPanel(WKPageRef, WKFrameRef, WKOpenPanelParametersRef, WKOpenPanelResultListenerRef, const void*);
     static WKPageRef createNewPage(WKPageRef, WKURLRequestRef, WKDictionaryRef, WKEventModifiers, WKEventMouseButton, const void*);
 
index d8a8f977edfc1e00fcca8442d23e4f2f7901845c..ff0afd9de3b95e8582fe8e2d765bef6bb88c537b 100644 (file)
@@ -342,20 +342,14 @@ void InjectedBundle::setAsynchronousSpellCheckingEnabled(WebPageGroupProxy* page
 
 void InjectedBundle::clearAllDatabases()
 {
-#if ENABLE(SQL_DATABASE)
     WebProcess::shared().supplement<WebDatabaseManager>()->deleteAllDatabases();
-#endif
 }
 
 void InjectedBundle::setDatabaseQuota(uint64_t quota)
 {
-#if ENABLE(SQL_DATABASE)
     // Historically, we've used the following (somewhat non-sensical) string
     // for the databaseIdentifier of local files.
     WebProcess::shared().supplement<WebDatabaseManager>()->setQuotaForOrigin("file__0", quota);
-#else
-    UNUSED_PARAM(quota);
-#endif
 }
 
 void InjectedBundle::clearApplicationCache()
index e39dc4a1e7029f073bb8a0ea54cea2e80f0b677f..ea5a398d8cd13be1bf7f8f2668591137dc537942 100644 (file)
@@ -671,7 +671,6 @@ void WebChromeClient::print(Frame* frame)
     m_page->sendSync(Messages::WebPageProxy::PrintFrame(webFrame->frameID()), Messages::WebPageProxy::PrintFrame::Reply(), std::chrono::milliseconds::max(), syncSendFlags);
 }
 
-#if ENABLE(SQL_DATABASE)
 void WebChromeClient::exceededDatabaseQuota(Frame* frame, const String& databaseName, DatabaseDetails details)
 {
     WebFrame* webFrame = WebFrame::fromCoreFrame(*frame);
@@ -698,8 +697,6 @@ void WebChromeClient::exceededDatabaseQuota(Frame* frame, const String& database
 
     dbManager.setQuota(origin, newQuota);
 }
-#endif
-
 
 void WebChromeClient::reachedMaxAppCacheSize(int64_t)
 {
index 1ccb2a36fd96f26d4cd39cfe0dcd5cbddfd804d7..e9bc08c5285ef37c54eb99bf16390555af288e57 100644 (file)
@@ -138,10 +138,8 @@ private:
     virtual void setToolTip(const String&, WebCore::TextDirection) override;
     
     virtual void print(WebCore::Frame*) override;
-    
-#if ENABLE(SQL_DATABASE)
+
     virtual void exceededDatabaseQuota(WebCore::Frame*, const String& databaseName, WebCore::DatabaseDetails) override;
-#endif
 
     virtual void reachedMaxAppCacheSize(int64_t spaceNeeded) override;
     virtual void reachedApplicationCacheOriginQuota(WebCore::SecurityOrigin*, int64_t spaceNeeded) override;
index e64a753b33d3a93b39f82efc1c772915912fbb0e..af711095db5c69fbfefe60decdb73cbf167960fe 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "WebDatabaseManager.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "OriginAndDatabases.h"
 #include "WebCoreArgumentCoders.h"
 #include "WebDatabaseManagerMessages.h"
@@ -163,5 +161,3 @@ void WebDatabaseManager::dispatchDidModifyDatabase(WebCore::SecurityOrigin* orig
 }
 
 } // namespace WebKit
-
-#endif // ENABLE(SQL_DATABASE)
index 79997a84810a893c38cdd48381ce2e5004b4b7fc..a9e6b31057841a4cc38c938963a1c9913e882885 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef WebDatabaseManager_h
 #define WebDatabaseManager_h
 
-#if ENABLE(SQL_DATABASE)
-
 #include "MessageReceiver.h"
 #include "WebProcessSupplement.h"
 #include <WebCore/DatabaseManagerClient.h>
@@ -75,6 +73,4 @@ private:
 
 } // namespace WebKit
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // WebDatabaseManager_h
index b8f92e2a96f4170c3adf7c9f0dba176859bad1af..655cbb6d43dd6bda543f95d70bf0254626c3ed05 100644 (file)
@@ -20,8 +20,6 @@
 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-#if ENABLE(SQL_DATABASE)
-
 messages -> WebDatabaseManager {
     void GetDatabasesByOrigin(uint64_t callbackID)
     void GetDatabaseOrigins(uint64_t callbackID)
@@ -30,5 +28,3 @@ messages -> WebDatabaseManager {
     void DeleteAllDatabases()
     void SetQuotaForOrigin(String originIdentifier, uint64_t quota)
 }
-
-#endif // ENABLE(SQL_DATABASE)
index 8b4a6f00d0dc7e81058f45fd81e6a42f7e52294c..549790829acc5058acbcdcd0a2a7c9406f70d56a 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "WebSQLiteDatabaseTracker.h"
 
-#if ENABLE(SQL_DATABASE)
-
 #include "WebProcess.h"
 #include "WebProcessProxyMessages.h"
 #include <WebCore/SQLiteDatabaseTracker.h>
@@ -73,5 +71,3 @@ void WebSQLiteDatabaseTracker::hysteresisUpdated(HysteresisState state)
 }
 
 } // namespace WebKit
-
-#endif // ENABLE(SQL_DATABASE)
index fa0d904ae8d6aa759fdab30ee848422f28418519..f2d35cc07154222d912eee08972bab09ecbb4c2b 100644 (file)
@@ -31,8 +31,6 @@
 #include <WebCore/SQLiteDatabaseTrackerClient.h>
 #include <wtf/Noncopyable.h>
 
-#if ENABLE(SQL_DATABASE)
-
 namespace WebKit {
 
 class WebProcess;
@@ -60,6 +58,4 @@ private:
 
 } // namespace WebKit
 
-#endif // ENABLE(SQL_DATABASE)
-
 #endif // WebSQLiteDatabaseTracker_h
index e5b4447999812ca8a03bd63aaa765d69a837ef3c..de4910d975873b36c16fb52dbb48340aad3724f2 100644 (file)
@@ -2780,9 +2780,7 @@ void WebPage::updatePreferences(const WebPreferencesStore& store)
     settings.setInteractiveFormValidationEnabled(store.getBoolValueForKey(WebPreferencesKey::interactiveFormValidationEnabledKey()));
     settings.setSpatialNavigationEnabled(store.getBoolValueForKey(WebPreferencesKey::spatialNavigationEnabledKey()));
 
-#if ENABLE(SQL_DATABASE)
     DatabaseManager::manager().setIsAvailable(store.getBoolValueForKey(WebPreferencesKey::databasesEnabledKey()));
-#endif
 
 #if ENABLE(FULLSCREEN_API)
     settings.setFullScreenEnabled(store.getBoolValueForKey(WebPreferencesKey::fullScreenEnabledKey()));
index 7f10570c1743c7359327fe3efda44edfd2ceaf18..84f36eacf2ee3975d3afdbb9ad9281709b6bef42 100644 (file)
@@ -43,6 +43,7 @@
 #include "WebConnectionToUIProcess.h"
 #include "WebCookieManager.h"
 #include "WebCoreArgumentCoders.h"
+#include "WebDatabaseManager.h"
 #include "WebFrame.h"
 #include "WebFrameNetworkingContext.h"
 #include "WebGeolocationManager.h"
 #include "WebNotificationManager.h"
 #endif
 
-#if ENABLE(SQL_DATABASE)
-#include "WebDatabaseManager.h"
 #if PLATFORM(IOS)
 #include "WebSQLiteDatabaseTracker.h"
 #endif
-#endif
 
 #if ENABLE(BATTERY_STATUS)
 #include "WebBatteryManager.h"
@@ -198,13 +196,10 @@ WebProcess::WebProcess()
     addSupplement<WebCookieManager>();
     addSupplement<WebMediaCacheManager>();
     addSupplement<AuthenticationManager>();
-    
-#if ENABLE(SQL_DATABASE)
     addSupplement<WebDatabaseManager>();
 #if PLATFORM(IOS)
     addSupplement<WebSQLiteDatabaseTracker>();
 #endif
-#endif
 
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
     addSupplement<WebNotificationManager>();
index 219aa2fe4c713c42357833f7e2907dbe34fbadf8..77b92bd46899b36a0257da95b634587c7dab53bb 100644 (file)
@@ -150,7 +150,6 @@ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESOLUTION_MEDIA_QUERY OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SATURATED_LAYOUT_ARITHMETIC ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SPEECH_SYNTHESIS ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SPEECH_SYNTHESIS ON)
-WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SQL_DATABASE ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SUBTLE_CRYPTO ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SUBTLE_CRYPTO_macosx ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SUBTLE_CRYPTO_macosx_1080 OFF)
index d9e5d0d329968a47610d25891c3e0b2be94dc917..09397880a1ede06448201920d10f2985c72657e7 100644 (file)
@@ -123,7 +123,6 @@ macro(WEBKIT_OPTION_BEGIN)
     WEBKIT_OPTION_DEFINE(ENABLE_SERVICE_CONTROLS "Toggle service controls support" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_SPEECH_SYNTHESIS "Toggle Speech Synthesis API support)" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_SPELLCHECK "Toggle Spellchecking support (requires Enchant)" OFF)
-    WEBKIT_OPTION_DEFINE(ENABLE_SQL_DATABASE "Toggle SQL Database Support" ON)
     WEBKIT_OPTION_DEFINE(ENABLE_SUBTLE_CRYPTO "Toggle subtle crypto support" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_SVG_FONTS "Toggle SVG fonts support (imples SVG support)" ON)
     WEBKIT_OPTION_DEFINE(ENABLE_TELEPHONE_NUMBER_DETECTION "Toggle telephone number detection support" OFF)
index a4536c949300bb5f114168ded31fe43912970071..fbf6b2adc5f1705a2cff002f428fa23c67901de5 100644 (file)
 #cmakedefine01 ENABLE_SATURATED_LAYOUT_ARITHMETIC
 #cmakedefine01 ENABLE_SMOOTH_SCROLLING
 #cmakedefine01 ENABLE_SPELLCHECK
-#cmakedefine01 ENABLE_SQL_DATABASE
 #cmakedefine01 ENABLE_SUBTLE_CRYPTO
 #cmakedefine01 ENABLE_SVG_FONTS
 #cmakedefine01 ENABLE_TELEPHONE_NUMBER_DETECTION
index c9231fdca1437f4c37e1f4dc11d6285f6d091ceb..2a1c71998bd647ddeeb30b38fbc4fa6159650b6a 100644 (file)
@@ -1,3 +1,12 @@
+2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(SQL_DATABASE) guards
+        https://bugs.webkit.org/show_bug.cgi?id=140434
+
+        Reviewed by Darin Adler.
+
+        * Scripts/webkitperl/FeatureList.pm:
+
 2015-01-15  Daniel Bates  <dabates@apple.com>
 
         [iOS] REGRESSION (r174642): DumpRenderTree.app test may dump result twice
index 96d6557bc405013f559c1035909110e6459a90d6..473546670c898ee6c7a694ea0a978743a49489d3 100644 (file)
@@ -117,7 +117,6 @@ my (
     $resourceTimingSupport,
     $scriptedSpeechSupport,
     $seccompFiltersSupport,
-    $sqlDatabaseSupport,
     $styleScopedSupport,
     $subtleCrypto,
     $suidLinuxSandbox,
@@ -361,9 +360,6 @@ my @features = (
     { option => "scripted-speech", desc => "Toggle Scripted Speech support",
       define => "ENABLE_SCRIPTED_SPEECH", default => 0, value => \$scriptedSpeechSupport },
 
-    { option => "sql-database", desc => "Toggle SQL Database support",
-      define => "ENABLE_SQL_DATABASE", default => 1, value => \$sqlDatabaseSupport },
-
     { option => "subtle-crypto", desc => "Toggle WebCrypto Subtle-Crypto support",
       define => "ENABLE_SUBTLE_CRYPTO", default => (isGtk() || isEfl() || isAppleMacWebKit() || isIOSWebKit()), value => \$subtleCrypto },