[iOS][WK2] Pause/resume database thread when UIProcess enters/leaves the background
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebCoreSupport / WebDatabaseManager.cpp
index 92522e1..131f0e3 100644 (file)
@@ -137,6 +137,11 @@ void WebDatabaseManager::deleteAllDatabases() const
     DatabaseManager::singleton().deleteAllDatabases();
 }
 
+void WebDatabaseManager::setPauseAllDatabases(bool pauseAllDatabases)
+{
+    DatabaseManager::singleton().setPauseAllDatabases(pauseAllDatabases);
+}
+
 void WebDatabaseManager::setQuotaForOrigin(const String& originIdentifier, unsigned long long quota) const
 {
     // If the quota is set to a value lower than the current usage, that quota will