<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[194295] trunk/Source/WebKit2</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/194295">194295</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2015-12-18 14:34:49 -0800 (Fri, 18 Dec 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Get rid of WebDatabaseManager, it's been replaced by WebsiteDataStore
https://bugs.webkit.org/show_bug.cgi?id=152318

Reviewed by Tim Horton.

Build fixes by Ossy.

* DerivedSources.make:
* Shared/API/APIObject.h:
* Shared/API/c/WKBase.h:
* UIProcess/API/C/WKAPICast.h:
* UIProcess/API/C/WKContext.cpp:
(WKContextGetDatabaseManager): Deleted.
* UIProcess/API/C/WKContext.h:
* UIProcess/API/C/WKDatabaseManager.cpp: Removed.
(WKDatabaseManagerGetTypeID): Deleted.
(WKDatabaseManagerGetOriginKey): Deleted.
(WKDatabaseManagerGetOriginQuotaKey): Deleted.
(WKDatabaseManagerGetOriginUsageKey): Deleted.
(WKDatabaseManagerGetDatabaseDetailsKey): Deleted.
(WKDatabaseManagerGetDatabaseDetailsNameKey): Deleted.
(WKDatabaseManagerGetDatabaseDetailsDisplayNameKey): Deleted.
(WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey): Deleted.
(WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey): Deleted.
(WKDatabaseManagerGetDatabaseDetailsCreationTimeKey): Deleted.
(WKDatabaseManagerGetDatabaseDetailsModificationTimeKey): Deleted.
(WKDatabaseManagerSetClient): Deleted.
(WKDatabaseManagerGetDatabasesByOrigin): Deleted.
(WKDatabaseManagerGetDatabaseOrigins): Deleted.
(WKDatabaseManagerDeleteDatabasesWithNameForOrigin): Deleted.
(WKDatabaseManagerDeleteDatabasesForOrigin): Deleted.
(WKDatabaseManagerDeleteAllDatabases): Deleted.
(WKDatabaseManagerSetQuotaForOrigin): Deleted.
* UIProcess/API/C/WKDatabaseManager.h: Removed.
* UIProcess/WebDatabaseManagerProxy.cpp: Removed.
(WebKit::WebDatabaseManagerProxy::supplementName): Deleted.
(WebKit::WebDatabaseManagerProxy::originKey): Deleted.
(WebKit::WebDatabaseManagerProxy::originQuotaKey): Deleted.
(WebKit::WebDatabaseManagerProxy::originUsageKey): Deleted.
(WebKit::WebDatabaseManagerProxy::databaseDetailsKey): Deleted.
(WebKit::WebDatabaseManagerProxy::databaseDetailsNameKey): Deleted.
(WebKit::WebDatabaseManagerProxy::databaseDetailsDisplayNameKey): Deleted.
(WebKit::WebDatabaseManagerProxy::databaseDetailsExpectedUsageKey): Deleted.
(WebKit::WebDatabaseManagerProxy::databaseDetailsCurrentUsageKey): Deleted.
(WebKit::WebDatabaseManagerProxy::databaseDetailsCreationTimeKey): Deleted.
(WebKit::WebDatabaseManagerProxy::databaseDetailsModificationTimeKey): Deleted.
(WebKit::WebDatabaseManagerProxy::create): Deleted.
(WebKit::WebDatabaseManagerProxy::WebDatabaseManagerProxy): Deleted.
(WebKit::WebDatabaseManagerProxy::~WebDatabaseManagerProxy): Deleted.
(WebKit::WebDatabaseManagerProxy::initializeClient): Deleted.
(WebKit::WebDatabaseManagerProxy::processPoolDestroyed): Deleted.
(WebKit::WebDatabaseManagerProxy::processDidClose): Deleted.
(WebKit::WebDatabaseManagerProxy::shouldTerminate): Deleted.
(WebKit::WebDatabaseManagerProxy::refWebContextSupplement): Deleted.
(WebKit::WebDatabaseManagerProxy::derefWebContextSupplement): Deleted.
(WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin): Deleted.
(WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin): Deleted.
(WebKit::WebDatabaseManagerProxy::getDatabaseOrigins): Deleted.
(WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins): Deleted.
(WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin): Deleted.
(WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin): Deleted.
(WebKit::WebDatabaseManagerProxy::deleteAllDatabases): Deleted.
(WebKit::WebDatabaseManagerProxy::setQuotaForOrigin): Deleted.
(WebKit::WebDatabaseManagerProxy::didModifyOrigin): Deleted.
(WebKit::WebDatabaseManagerProxy::didModifyDatabase): Deleted.
* UIProcess/WebDatabaseManagerProxy.h: Removed.
* UIProcess/WebDatabaseManagerProxy.messages.in: Removed.
* UIProcess/WebDatabaseManagerProxyClient.cpp: Removed.
(WebKit::WebDatabaseManagerProxyClient::didModifyOrigin): Deleted.
(WebKit::WebDatabaseManagerProxyClient::didModifyDatabase): Deleted.
* UIProcess/WebDatabaseManagerProxyClient.h: Removed.
* UIProcess/WebProcessPool.cpp:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
* WebProcess/WebCoreSupport/WebDatabaseManager.cpp: Removed.
(WebKit::WebDatabaseManager::supplementName): Deleted.
(WebKit::WebDatabaseManager::WebDatabaseManager): Deleted.
(WebKit::WebDatabaseManager::initialize): Deleted.
(WebKit::WebDatabaseManager::getDatabasesByOrigin): Deleted.
(WebKit::WebDatabaseManager::getDatabaseOrigins): Deleted.
(WebKit::WebDatabaseManager::deleteDatabaseWithNameForOrigin): Deleted.
(WebKit::WebDatabaseManager::deleteDatabasesForOrigin): Deleted.
(WebKit::WebDatabaseManager::deleteAllDatabases): Deleted.
(WebKit::WebDatabaseManager::closeAllDatabases): Deleted.
(WebKit::WebDatabaseManager::setQuotaForOrigin): Deleted.
(WebKit::WebDatabaseManager::dispatchDidModifyOrigin): Deleted.
(WebKit::WebDatabaseManager::dispatchDidModifyDatabase): Deleted.
* WebProcess/WebCoreSupport/WebDatabaseManager.h: Removed.
* WebProcess/WebCoreSupport/WebDatabaseManager.messages.in: Removed.
* WebProcess/WebCoreSupport/ios/WebDatabaseManagerIOS.mm: Removed.
(WebKit::WebDatabaseManager::dispatchDidAddNewOrigin): Deleted.
(WebKit::WebDatabaseManager::dispatchDidDeleteDatabase): Deleted.
(WebKit::WebDatabaseManager::dispatchDidDeleteDatabaseOrigin): Deleted.
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::processWillSuspendImminently):
(WebKit::m_webSQLiteDatabaseTracker): Deleted.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2CMakeListstxt">trunk/Source/WebKit2/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2DerivedSourcesmake">trunk/Source/WebKit2/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIAPIObjecth">trunk/Source/WebKit2/Shared/API/APIObject.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIcWKBaseh">trunk/Source/WebKit2/Shared/API/c/WKBase.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICWKAPICasth">trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICWKContextcpp">trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICWKContexth">trunk/Source/WebKit2/UIProcess/API/C/WKContext.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebProcessPoolcpp">trunk/Source/WebKit2/UIProcess/WebProcessPool.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleInjectedBundlecpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebProcesscpp">trunk/Source/WebKit2/WebProcess/WebProcess.cpp</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2UIProcessAPICWKDatabaseManagercpp">trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICWKDatabaseManagerh">trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebDatabaseManagerProxycpp">trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebDatabaseManagerProxyh">trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebDatabaseManagerProxymessagesin">trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.messages.in</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebDatabaseManagerProxyClientcpp">trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebDatabaseManagerProxyClienth">trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebDatabaseManagercpp">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebDatabaseManagerh">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebDatabaseManagermessagesin">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.messages.in</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportiosWebDatabaseManagerIOSmm">trunk/Source/WebKit2/WebProcess/WebCoreSupport/ios/WebDatabaseManagerIOS.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2CMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/CMakeLists.txt (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/CMakeLists.txt        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/CMakeLists.txt        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -361,8 +361,6 @@
</span><span class="cx">     UIProcess/WebContextMenuProxy.cpp
</span><span class="cx">     UIProcess/WebCookieManagerProxy.cpp
</span><span class="cx">     UIProcess/WebCookieManagerProxyClient.cpp
</span><del>-    UIProcess/WebDatabaseManagerProxy.cpp
-    UIProcess/WebDatabaseManagerProxyClient.cpp
</del><span class="cx">     UIProcess/WebEditCommandProxy.cpp
</span><span class="cx">     UIProcess/WebFormClient.cpp
</span><span class="cx">     UIProcess/WebFormSubmissionListenerProxy.cpp
</span><span class="lines">@@ -419,7 +417,6 @@
</span><span class="cx">     UIProcess/API/C/WKContextConfigurationRef.cpp
</span><span class="cx">     UIProcess/API/C/WKCookieManager.cpp
</span><span class="cx">     UIProcess/API/C/WKCredential.cpp
</span><del>-    UIProcess/API/C/WKDatabaseManager.cpp
</del><span class="cx">     UIProcess/API/C/WKDownload.cpp
</span><span class="cx">     UIProcess/API/C/WKFormSubmissionListener.cpp
</span><span class="cx">     UIProcess/API/C/WKFrame.cpp
</span><span class="lines">@@ -598,7 +595,6 @@
</span><span class="cx">     WebProcess/WebCoreSupport/WebChromeClient.cpp
</span><span class="cx">     WebProcess/WebCoreSupport/WebColorChooser.cpp
</span><span class="cx">     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
</span><del>-    WebProcess/WebCoreSupport/WebDatabaseManager.cpp
</del><span class="cx">     WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp
</span><span class="cx">     WebProcess/WebCoreSupport/WebDiagnosticLoggingClient.cpp
</span><span class="cx">     WebProcess/WebCoreSupport/WebDragClient.cpp
</span><span class="lines">@@ -666,7 +662,6 @@
</span><span class="cx">     UIProcess/VisitedLinkStore.messages.in
</span><span class="cx">     UIProcess/WebBatteryManagerProxy.messages.in
</span><span class="cx">     UIProcess/WebCookieManagerProxy.messages.in
</span><del>-    UIProcess/WebDatabaseManagerProxy.messages.in
</del><span class="cx">     UIProcess/WebFullScreenManagerProxy.messages.in
</span><span class="cx">     UIProcess/WebGeolocationManagerProxy.messages.in
</span><span class="cx">     UIProcess/WebIconDatabase.messages.in
</span><span class="lines">@@ -721,8 +716,6 @@
</span><span class="cx"> 
</span><span class="cx">     WebProcess/UserContent/WebUserContentController.messages.in
</span><span class="cx"> 
</span><del>-    WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
-
</del><span class="cx">     WebProcess/WebPage/DrawingArea.messages.in
</span><span class="cx">     WebProcess/WebPage/EventDispatcher.messages.in
</span><span class="cx">     WebProcess/WebPage/VisitedLinkTableController.messages.in
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/ChangeLog        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,3 +1,102 @@
</span><ins>+2015-12-15  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Get rid of WebDatabaseManager, it's been replaced by WebsiteDataStore
+        https://bugs.webkit.org/show_bug.cgi?id=152318
+
+        Reviewed by Tim Horton.
+
+        Build fixes by Ossy.
+
+        * DerivedSources.make:
+        * Shared/API/APIObject.h:
+        * Shared/API/c/WKBase.h:
+        * UIProcess/API/C/WKAPICast.h:
+        * UIProcess/API/C/WKContext.cpp:
+        (WKContextGetDatabaseManager): Deleted.
+        * UIProcess/API/C/WKContext.h:
+        * UIProcess/API/C/WKDatabaseManager.cpp: Removed.
+        (WKDatabaseManagerGetTypeID): Deleted.
+        (WKDatabaseManagerGetOriginKey): Deleted.
+        (WKDatabaseManagerGetOriginQuotaKey): Deleted.
+        (WKDatabaseManagerGetOriginUsageKey): Deleted.
+        (WKDatabaseManagerGetDatabaseDetailsKey): Deleted.
+        (WKDatabaseManagerGetDatabaseDetailsNameKey): Deleted.
+        (WKDatabaseManagerGetDatabaseDetailsDisplayNameKey): Deleted.
+        (WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey): Deleted.
+        (WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey): Deleted.
+        (WKDatabaseManagerGetDatabaseDetailsCreationTimeKey): Deleted.
+        (WKDatabaseManagerGetDatabaseDetailsModificationTimeKey): Deleted.
+        (WKDatabaseManagerSetClient): Deleted.
+        (WKDatabaseManagerGetDatabasesByOrigin): Deleted.
+        (WKDatabaseManagerGetDatabaseOrigins): Deleted.
+        (WKDatabaseManagerDeleteDatabasesWithNameForOrigin): Deleted.
+        (WKDatabaseManagerDeleteDatabasesForOrigin): Deleted.
+        (WKDatabaseManagerDeleteAllDatabases): Deleted.
+        (WKDatabaseManagerSetQuotaForOrigin): Deleted.
+        * UIProcess/API/C/WKDatabaseManager.h: Removed.
+        * UIProcess/WebDatabaseManagerProxy.cpp: Removed.
+        (WebKit::WebDatabaseManagerProxy::supplementName): Deleted.
+        (WebKit::WebDatabaseManagerProxy::originKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::originQuotaKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::originUsageKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::databaseDetailsKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::databaseDetailsNameKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::databaseDetailsDisplayNameKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::databaseDetailsExpectedUsageKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::databaseDetailsCurrentUsageKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::databaseDetailsCreationTimeKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::databaseDetailsModificationTimeKey): Deleted.
+        (WebKit::WebDatabaseManagerProxy::create): Deleted.
+        (WebKit::WebDatabaseManagerProxy::WebDatabaseManagerProxy): Deleted.
+        (WebKit::WebDatabaseManagerProxy::~WebDatabaseManagerProxy): Deleted.
+        (WebKit::WebDatabaseManagerProxy::initializeClient): Deleted.
+        (WebKit::WebDatabaseManagerProxy::processPoolDestroyed): Deleted.
+        (WebKit::WebDatabaseManagerProxy::processDidClose): Deleted.
+        (WebKit::WebDatabaseManagerProxy::shouldTerminate): Deleted.
+        (WebKit::WebDatabaseManagerProxy::refWebContextSupplement): Deleted.
+        (WebKit::WebDatabaseManagerProxy::derefWebContextSupplement): Deleted.
+        (WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin): Deleted.
+        (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin): Deleted.
+        (WebKit::WebDatabaseManagerProxy::getDatabaseOrigins): Deleted.
+        (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins): Deleted.
+        (WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin): Deleted.
+        (WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin): Deleted.
+        (WebKit::WebDatabaseManagerProxy::deleteAllDatabases): Deleted.
+        (WebKit::WebDatabaseManagerProxy::setQuotaForOrigin): Deleted.
+        (WebKit::WebDatabaseManagerProxy::didModifyOrigin): Deleted.
+        (WebKit::WebDatabaseManagerProxy::didModifyDatabase): Deleted.
+        * UIProcess/WebDatabaseManagerProxy.h: Removed.
+        * UIProcess/WebDatabaseManagerProxy.messages.in: Removed.
+        * UIProcess/WebDatabaseManagerProxyClient.cpp: Removed.
+        (WebKit::WebDatabaseManagerProxyClient::didModifyOrigin): Deleted.
+        (WebKit::WebDatabaseManagerProxyClient::didModifyDatabase): Deleted.
+        * UIProcess/WebDatabaseManagerProxyClient.h: Removed.
+        * UIProcess/WebProcessPool.cpp:
+        * WebKit2.xcodeproj/project.pbxproj:
+        * WebProcess/InjectedBundle/InjectedBundle.cpp:
+        * WebProcess/WebCoreSupport/WebDatabaseManager.cpp: Removed.
+        (WebKit::WebDatabaseManager::supplementName): Deleted.
+        (WebKit::WebDatabaseManager::WebDatabaseManager): Deleted.
+        (WebKit::WebDatabaseManager::initialize): Deleted.
+        (WebKit::WebDatabaseManager::getDatabasesByOrigin): Deleted.
+        (WebKit::WebDatabaseManager::getDatabaseOrigins): Deleted.
+        (WebKit::WebDatabaseManager::deleteDatabaseWithNameForOrigin): Deleted.
+        (WebKit::WebDatabaseManager::deleteDatabasesForOrigin): Deleted.
+        (WebKit::WebDatabaseManager::deleteAllDatabases): Deleted.
+        (WebKit::WebDatabaseManager::closeAllDatabases): Deleted.
+        (WebKit::WebDatabaseManager::setQuotaForOrigin): Deleted.
+        (WebKit::WebDatabaseManager::dispatchDidModifyOrigin): Deleted.
+        (WebKit::WebDatabaseManager::dispatchDidModifyDatabase): Deleted.
+        * WebProcess/WebCoreSupport/WebDatabaseManager.h: Removed.
+        * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in: Removed.
+        * WebProcess/WebCoreSupport/ios/WebDatabaseManagerIOS.mm: Removed.
+        (WebKit::WebDatabaseManager::dispatchDidAddNewOrigin): Deleted.
+        (WebKit::WebDatabaseManager::dispatchDidDeleteDatabase): Deleted.
+        (WebKit::WebDatabaseManager::dispatchDidDeleteDatabaseOrigin): Deleted.
+        * WebProcess/WebProcess.cpp:
+        (WebKit::WebProcess::processWillSuspendImminently):
+        (WebKit::m_webSQLiteDatabaseTracker): Deleted.
+
</ins><span class="cx"> 2015-12-18  Michael Catanzaro  &lt;mcatanzaro@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [GTK] Unreviewed, fix GtkDoc after r193620
</span></span></pre></div>
<a id="trunkSourceWebKit2DerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DerivedSources.make (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DerivedSources.make        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/DerivedSources.make        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -108,8 +108,6 @@
</span><span class="cx">     WebConnection \
</span><span class="cx">     WebCookieManager \
</span><span class="cx">     WebCookieManagerProxy \
</span><del>-    WebDatabaseManager \
-    WebDatabaseManagerProxy \
</del><span class="cx">     WebFullScreenManager \
</span><span class="cx">     WebFullScreenManagerProxy \
</span><span class="cx">     WebGeolocationManager \
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIAPIObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/APIObject.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/APIObject.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/Shared/API/APIObject.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -105,7 +105,6 @@
</span><span class="cx">         CacheManager,
</span><span class="cx">         ColorPickerResultListener,
</span><span class="cx">         CookieManager,
</span><del>-        DatabaseManager,
</del><span class="cx">         Download,
</span><span class="cx">         FormSubmissionListener,
</span><span class="cx">         Frame,
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIcWKBaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/c/WKBase.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/c/WKBase.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/Shared/API/c/WKBase.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -97,7 +97,6 @@
</span><span class="cx"> typedef const struct OpaqueWKContextConfiguration* WKContextConfigurationRef;
</span><span class="cx"> typedef const struct OpaqueWKCookieManager* WKCookieManagerRef;
</span><span class="cx"> typedef const struct OpaqueWKCredential* WKCredentialRef;
</span><del>-typedef const struct OpaqueWKDatabaseManager* WKDatabaseManagerRef;
</del><span class="cx"> typedef const struct OpaqueWKDownload* WKDownloadRef;
</span><span class="cx"> typedef const struct OpaqueWKFormSubmissionListener* WKFormSubmissionListenerRef;
</span><span class="cx"> typedef const struct OpaqueWKFrameInfo* WKFrameInfoRef;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICWKAPICasth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -83,7 +83,6 @@
</span><span class="cx"> class WebColorPickerResultListenerProxy;
</span><span class="cx"> class WebCookieManagerProxy;
</span><span class="cx"> class WebCredential;
</span><del>-class WebDatabaseManagerProxy;
</del><span class="cx"> class WebFormSubmissionListenerProxy;
</span><span class="cx"> class WebFramePolicyListenerProxy;
</span><span class="cx"> class WebFrameProxy;
</span><span class="lines">@@ -124,7 +123,6 @@
</span><span class="cx"> WK_ADD_API_MAPPING(WKContextConfigurationRef, API::ProcessPoolConfiguration)
</span><span class="cx"> WK_ADD_API_MAPPING(WKCookieManagerRef, WebCookieManagerProxy)
</span><span class="cx"> WK_ADD_API_MAPPING(WKCredentialRef, WebCredential)
</span><del>-WK_ADD_API_MAPPING(WKDatabaseManagerRef, WebDatabaseManagerProxy)
</del><span class="cx"> WK_ADD_API_MAPPING(WKDownloadRef, DownloadProxy)
</span><span class="cx"> WK_ADD_API_MAPPING(WKFormSubmissionListenerRef, WebFormSubmissionListenerProxy)
</span><span class="cx"> WK_ADD_API_MAPPING(WKFramePolicyListenerRef, WebFramePolicyListenerProxy)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICWKContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -46,7 +46,6 @@
</span><span class="cx"> 
</span><span class="cx"> // Supplements
</span><span class="cx"> #include &quot;WebCookieManagerProxy.h&quot;
</span><del>-#include &quot;WebDatabaseManagerProxy.h&quot;
</del><span class="cx"> #include &quot;WebGeolocationManagerProxy.h&quot;
</span><span class="cx"> #include &quot;WebMediaCacheManagerProxy.h&quot;
</span><span class="cx"> #include &quot;WebNotificationManagerProxy.h&quot;
</span><span class="lines">@@ -419,11 +418,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WKDatabaseManagerRef WKContextGetDatabaseManager(WKContextRef contextRef)
-{
-    return toAPI(toImpl(contextRef)-&gt;supplement&lt;WebDatabaseManagerProxy&gt;());
-}
-
</del><span class="cx"> WKGeolocationManagerRef WKContextGetGeolocationManager(WKContextRef contextRef)
</span><span class="cx"> {
</span><span class="cx">     return toAPI(toImpl(contextRef)-&gt;supplement&lt;WebGeolocationManagerProxy&gt;());
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICWKContexth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -127,7 +127,6 @@
</span><span class="cx"> WK_EXPORT WKApplicationCacheManagerRef WKContextGetApplicationCacheManager(WKContextRef context);
</span><span class="cx"> WK_EXPORT WKBatteryManagerRef WKContextGetBatteryManager(WKContextRef context);
</span><span class="cx"> WK_EXPORT WKCookieManagerRef WKContextGetCookieManager(WKContextRef context);
</span><del>-WK_EXPORT WKDatabaseManagerRef WKContextGetDatabaseManager(WKContextRef context);
</del><span class="cx"> WK_EXPORT WKGeolocationManagerRef WKContextGetGeolocationManager(WKContextRef context);
</span><span class="cx"> WK_EXPORT WKIconDatabaseRef WKContextGetIconDatabase(WKContextRef context);
</span><span class="cx"> WK_EXPORT WKKeyValueStorageManagerRef WKContextGetKeyValueStorageManager(WKContextRef context);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICWKDatabaseManagercpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,134 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#include &quot;config.h&quot;
-#include &quot;WKDatabaseManager.h&quot;
-
-#include &quot;WebDatabaseManagerProxy.h&quot;
-#include &quot;WKAPICast.h&quot;
-
-using namespace WebKit;
-
-WKTypeID WKDatabaseManagerGetTypeID()
-{
-    return toAPI(WebDatabaseManagerProxy::APIType);
-}
-
-WKStringRef WKDatabaseManagerGetOriginKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::originKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetOriginQuotaKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::originQuotaKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetOriginUsageKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::originUsageKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetDatabaseDetailsKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::databaseDetailsKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetDatabaseDetailsNameKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::databaseDetailsNameKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetDatabaseDetailsDisplayNameKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::databaseDetailsDisplayNameKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::databaseDetailsExpectedUsageKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::databaseDetailsCurrentUsageKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetDatabaseDetailsCreationTimeKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::databaseDetailsCreationTimeKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-WKStringRef WKDatabaseManagerGetDatabaseDetailsModificationTimeKey()
-{
-    static API::String&amp; key = API::String::create(WebDatabaseManagerProxy::databaseDetailsModificationTimeKey()).leakRef();
-    return toAPI(&amp;key);
-}
-
-void WKDatabaseManagerSetClient(WKDatabaseManagerRef databaseManagerRef, const WKDatabaseManagerClientBase* wkClient)
-{
-    if (wkClient &amp;&amp; wkClient-&gt;version)
-        return;
-    toImpl(databaseManagerRef)-&gt;initializeClient(wkClient);
-}
-
-void WKDatabaseManagerGetDatabasesByOrigin(WKDatabaseManagerRef databaseManagerRef, void* context, WKDatabaseManagerGetDatabasesByOriginFunction callback)
-{
-    toImpl(databaseManagerRef)-&gt;getDatabasesByOrigin(toGenericCallbackFunction(context, callback));
-}
-
-void WKDatabaseManagerGetDatabaseOrigins(WKDatabaseManagerRef databaseManagerRef, void* context, WKDatabaseManagerGetDatabaseOriginsFunction callback)
-{
-    toImpl(databaseManagerRef)-&gt;getDatabaseOrigins(toGenericCallbackFunction(context, callback));
-}
-
-void WKDatabaseManagerDeleteDatabasesWithNameForOrigin(WKDatabaseManagerRef databaseManagerRef, WKStringRef databaseNameRef, WKSecurityOriginRef originRef)
-{
-    toImpl(databaseManagerRef)-&gt;deleteDatabaseWithNameForOrigin(toWTFString(databaseNameRef), toImpl(originRef));
-}
-
-void WKDatabaseManagerDeleteDatabasesForOrigin(WKDatabaseManagerRef databaseManagerRef, WKSecurityOriginRef originRef)
-{
-    toImpl(databaseManagerRef)-&gt;deleteDatabasesForOrigin(toImpl(originRef));
-}
-
-void WKDatabaseManagerDeleteAllDatabases(WKDatabaseManagerRef databaseManagerRef)
-{
-    toImpl(databaseManagerRef)-&gt;deleteAllDatabases();
-}
-
-void WKDatabaseManagerSetQuotaForOrigin(WKDatabaseManagerRef databaseManagerRef, WKSecurityOriginRef originRef, uint64_t quota)
-{
-    toImpl(databaseManagerRef)-&gt;setQuotaForOrigin(toImpl(originRef), quota);
-}
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICWKDatabaseManagerh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKDatabaseManager.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,108 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#ifndef WKDatabaseManager_h
-#define WKDatabaseManager_h
-
-#include &lt;WebKit/WKBase.h&gt;
-
-#ifdef __cplusplus
-extern &quot;C&quot; {
-#endif
-
-/* Value type: WKSecurityOriginRef */
-WK_EXPORT WKStringRef WKDatabaseManagerGetOriginKey();
-
-/* Value type: WKUInt64Ref */
-WK_EXPORT WKStringRef WKDatabaseManagerGetOriginQuotaKey();
-
-/* Value type: WKUInt64Ref */
-WK_EXPORT WKStringRef WKDatabaseManagerGetOriginUsageKey();
-
-/* Value type: WKArrayRef (array of WKDictionaryRef's with keys that include:
-       - WKDatabaseManagerGetDatabaseNameKey()
-       - WKDatabaseManagerGetDatabaseDisplayNameKey()
-       - WKDatabaseManagerGetDatabaseExpectedUsageKey()
-       - WKDatabaseManagerGetDatabaseCurrentUsageKey()
- */
-WK_EXPORT WKStringRef WKDatabaseManagerGetDatabaseDetailsKey();
-
-/* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKDatabaseManagerGetDatabaseDetailsNameKey();
-
-/* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKDatabaseManagerGetDatabaseDetailsDisplayNameKey();
-
-/* Value type: WKUInt64Ref */
-WK_EXPORT WKStringRef WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey();
-
-/* Value type: WKUInt64Ref */
-WK_EXPORT WKStringRef WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey();
-
-/* Value type: WKDoubleRef, seconds since January 1st, 1970 UTC */
-WK_EXPORT WKStringRef WKDatabaseManagerGetDatabaseDetailsCreationTimeKey();
-
-/* Value type: WKDoubleRef, seconds since January 1st, 1970 UTC */
-WK_EXPORT WKStringRef WKDatabaseManagerGetDatabaseDetailsModificationTimeKey();
-
-
-// Database Manager Client
-typedef void (*WKDatabaseManagerDidModifyOriginCallback)(WKDatabaseManagerRef databaseManager, WKSecurityOriginRef origin, const void *clientInfo);
-typedef void (*WKDatabaseManagerDidModifyDatabaseCallback)(WKDatabaseManagerRef databaseManager, WKSecurityOriginRef origin, WKStringRef databaseIdentifier, const void *clientInfo);
-
-typedef struct WKDatabaseManagerClientBase {
-    int                                                                 version;
-    const void *                                                        clientInfo;
-} WKDatabaseManagerClientBase;
-
-typedef struct WKDatabaseManagerClientV0 {
-    WKDatabaseManagerClientBase                                         base;
-
-    // Version 0.
-    WKDatabaseManagerDidModifyOriginCallback                            didModifyOrigin;
-    WKDatabaseManagerDidModifyDatabaseCallback                          didModifyDatabase;
-} WKDatabaseManagerClientV0;
-
-WK_EXPORT WKTypeID WKDatabaseManagerGetTypeID();
-
-WK_EXPORT void WKDatabaseManagerSetClient(WKDatabaseManagerRef databaseManager, const WKDatabaseManagerClientBase* client);
-
-typedef void (*WKDatabaseManagerGetDatabasesByOriginFunction)(WKArrayRef, WKErrorRef, void*);
-WK_EXPORT void WKDatabaseManagerGetDatabasesByOrigin(WKDatabaseManagerRef databaseManager, void* context, WKDatabaseManagerGetDatabasesByOriginFunction function);
-
-typedef void (*WKDatabaseManagerGetDatabaseOriginsFunction)(WKArrayRef, WKErrorRef, void*);
-WK_EXPORT void WKDatabaseManagerGetDatabaseOrigins(WKDatabaseManagerRef contextRef, void* context, WKDatabaseManagerGetDatabaseOriginsFunction function);
-
-WK_EXPORT void WKDatabaseManagerDeleteDatabasesWithNameForOrigin(WKDatabaseManagerRef databaseManager, WKStringRef databaseName, WKSecurityOriginRef origin);
-WK_EXPORT void WKDatabaseManagerDeleteDatabasesForOrigin(WKDatabaseManagerRef databaseManager, WKSecurityOriginRef origin);
-WK_EXPORT void WKDatabaseManagerDeleteAllDatabases(WKDatabaseManagerRef databaseManager);
-
-WK_EXPORT void WKDatabaseManagerSetQuotaForOrigin(WKDatabaseManagerRef databaseManager, WKSecurityOriginRef origin, uint64_t quota);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // WKDatabaseManager_h
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebDatabaseManagerProxycpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,264 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010, 2013 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#include &quot;config.h&quot;
-#include &quot;WebDatabaseManagerProxy.h&quot;
-
-#include &quot;APIArray.h&quot;
-#include &quot;APIDictionary.h&quot;
-#include &quot;APISecurityOrigin.h&quot;
-#include &quot;WebDatabaseManagerMessages.h&quot;
-#include &quot;WebDatabaseManagerProxyMessages.h&quot;
-#include &quot;WebProcessPool.h&quot;
-#include &lt;wtf/NeverDestroyed.h&gt;
-
-using namespace WebCore;
-
-namespace WebKit {
-
-const char* WebDatabaseManagerProxy::supplementName()
-{
-    return &quot;WebDatabaseManagerProxy&quot;;
-}
-
-String WebDatabaseManagerProxy::originKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerOriginKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::originQuotaKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerOriginQuotaKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::originUsageKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerOriginUsageKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::databaseDetailsKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerDatabaseDetailsKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::databaseDetailsNameKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerDatabaseDetailsNameKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::databaseDetailsDisplayNameKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerDatabaseDetailsDisplayNameKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::databaseDetailsExpectedUsageKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerDatabaseDetailsExpectedUsageKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::databaseDetailsCurrentUsageKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerDatabaseDetailsCurrentUsageKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::databaseDetailsCreationTimeKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerDatabaseDetailsCreationTimeKey&quot;));
-    return key;
-}
-
-String WebDatabaseManagerProxy::databaseDetailsModificationTimeKey()
-{
-    static NeverDestroyed&lt;String&gt; key(ASCIILiteral(&quot;WebDatabaseManagerDatabaseDetailsModificationTimeKey&quot;));
-    return key;
-}
-
-PassRefPtr&lt;WebDatabaseManagerProxy&gt; WebDatabaseManagerProxy::create(WebProcessPool* processPool)
-{
-    return adoptRef(new WebDatabaseManagerProxy(processPool));
-}
-
-WebDatabaseManagerProxy::WebDatabaseManagerProxy(WebProcessPool* processPool)
-    : WebContextSupplement(processPool)
-{
-    WebContextSupplement::processPool()-&gt;addMessageReceiver(Messages::WebDatabaseManagerProxy::messageReceiverName(), *this);
-}
-
-WebDatabaseManagerProxy::~WebDatabaseManagerProxy()
-{
-}
-
-void WebDatabaseManagerProxy::initializeClient(const WKDatabaseManagerClientBase* client)
-{
-    m_client.initialize(client);
-}
-
-// WebContextSupplement
-
-void WebDatabaseManagerProxy::processPoolDestroyed()
-{
-    invalidateCallbackMap(m_arrayCallbacks, CallbackBase::Error::OwnerWasInvalidated);
-}
-
-void WebDatabaseManagerProxy::processDidClose(WebProcessProxy*)
-{
-    invalidateCallbackMap(m_arrayCallbacks, CallbackBase::Error::ProcessExited);
-}
-
-bool WebDatabaseManagerProxy::shouldTerminate(WebProcessProxy*) const
-{
-    return m_arrayCallbacks.isEmpty();
-}
-
-void WebDatabaseManagerProxy::refWebContextSupplement()
-{
-    API::Object::ref();
-}
-
-void WebDatabaseManagerProxy::derefWebContextSupplement()
-{
-    API::Object::deref();
-}
-
-void WebDatabaseManagerProxy::getDatabasesByOrigin(std::function&lt;void (API::Array*, CallbackBase::Error)&gt; callbackFunction)
-{
-    RefPtr&lt;ArrayCallback&gt; callback = ArrayCallback::create(WTF::move(callbackFunction));
-    uint64_t callbackID = callback-&gt;callbackID();
-    m_arrayCallbacks.set(callbackID, callback.release());
-
-    processPool()-&gt;sendToOneProcess(Messages::WebDatabaseManager::GetDatabasesByOrigin(callbackID));
-}
-
-void WebDatabaseManagerProxy::didGetDatabasesByOrigin(const Vector&lt;OriginAndDatabases&gt;&amp; originAndDatabasesVector, uint64_t callbackID)
-{
-    RefPtr&lt;ArrayCallback&gt; callback = m_arrayCallbacks.take(callbackID);
-    if (!callback) {
-        // FIXME: Log error or assert.
-        return;
-    }
-
-    Vector&lt;RefPtr&lt;API::Object&gt;&gt; result;
-    result.reserveInitialCapacity(originAndDatabasesVector.size());
-
-    for (const auto&amp; originAndDatabases : originAndDatabasesVector) {
-        RefPtr&lt;API::Object&gt; origin = API::SecurityOrigin::create(SecurityOrigin::createFromDatabaseIdentifier(originAndDatabases.originIdentifier));
-
-        Vector&lt;RefPtr&lt;API::Object&gt;&gt; databases;
-        databases.reserveInitialCapacity(originAndDatabases.databases.size());
-
-        for (const auto&amp; databaseDetails : originAndDatabases.databases) {
-            HashMap&lt;String, RefPtr&lt;API::Object&gt;&gt; detailsMap;
-
-            detailsMap.set(databaseDetailsNameKey(), API::String::create(databaseDetails.name()));
-            detailsMap.set(databaseDetailsDisplayNameKey(), API::String::create(databaseDetails.displayName()));
-            detailsMap.set(databaseDetailsExpectedUsageKey(), API::UInt64::create(databaseDetails.expectedUsage()));
-            detailsMap.set(databaseDetailsCurrentUsageKey(), API::UInt64::create(databaseDetails.currentUsage()));
-            if (databaseDetails.creationTime())
-                detailsMap.set(databaseDetailsCreationTimeKey(), API::Double::create(databaseDetails.creationTime()));
-            if (databaseDetails.modificationTime())
-                detailsMap.set(databaseDetailsModificationTimeKey(), API::Double::create(databaseDetails.modificationTime()));
-
-            databases.uncheckedAppend(API::Dictionary::create(WTF::move(detailsMap)));
-        }
-
-        HashMap&lt;String, RefPtr&lt;API::Object&gt;&gt; originAndDatabasesMap;
-        originAndDatabasesMap.set(originKey(), origin);
-        originAndDatabasesMap.set(originQuotaKey(), API::UInt64::create(originAndDatabases.originQuota));
-        originAndDatabasesMap.set(originUsageKey(), API::UInt64::create(originAndDatabases.originUsage));
-        originAndDatabasesMap.set(databaseDetailsKey(), API::Array::create(WTF::move(databases)));
-
-        result.uncheckedAppend(API::Dictionary::create(WTF::move(originAndDatabasesMap)));
-    }
-
-    callback-&gt;performCallbackWithReturnValue(API::Array::create(WTF::move(result)).ptr());
-}
-
-void WebDatabaseManagerProxy::getDatabaseOrigins(std::function&lt;void (API::Array*, CallbackBase::Error)&gt; callbackFunction)
-{
-    RefPtr&lt;ArrayCallback&gt; callback = ArrayCallback::create(WTF::move(callbackFunction));
-    uint64_t callbackID = callback-&gt;callbackID();
-    m_arrayCallbacks.set(callbackID, callback.release());
-
-    processPool()-&gt;sendToOneProcess(Messages::WebDatabaseManager::GetDatabaseOrigins(callbackID));
-}
-
-void WebDatabaseManagerProxy::didGetDatabaseOrigins(const Vector&lt;String&gt;&amp; originIdentifiers, uint64_t callbackID)
-{
-    RefPtr&lt;ArrayCallback&gt; callback = m_arrayCallbacks.take(callbackID);
-    if (!callback) {
-        // FIXME: Log error or assert.
-        return;
-    }
-
-    Vector&lt;RefPtr&lt;API::Object&gt;&gt; securityOrigins;
-    securityOrigins.reserveInitialCapacity(originIdentifiers.size());
-
-    for (const auto&amp; originIdentifier : originIdentifiers)
-        securityOrigins.uncheckedAppend(API::SecurityOrigin::create(SecurityOrigin::createFromDatabaseIdentifier(originIdentifier)));
-
-    callback-&gt;performCallbackWithReturnValue(API::Array::create(WTF::move(securityOrigins)).ptr());
-}
-
-void WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin(const String&amp; databaseIdentifier, API::SecurityOrigin* origin)
-{
-    processPool()-&gt;sendToOneProcess(Messages::WebDatabaseManager::DeleteDatabaseWithNameForOrigin(databaseIdentifier, origin-&gt;securityOrigin().databaseIdentifier()));
-}
-
-void WebDatabaseManagerProxy::deleteDatabasesForOrigin(API::SecurityOrigin* origin)
-{
-    processPool()-&gt;sendToOneProcess(Messages::WebDatabaseManager::DeleteDatabasesForOrigin(origin-&gt;securityOrigin().databaseIdentifier()));
-}
-
-void WebDatabaseManagerProxy::deleteAllDatabases()
-{
-    processPool()-&gt;sendToOneProcess(Messages::WebDatabaseManager::DeleteAllDatabases());
-}
-
-void WebDatabaseManagerProxy::setQuotaForOrigin(API::SecurityOrigin* origin, uint64_t quota)
-{
-    processPool()-&gt;sendToOneProcess(Messages::WebDatabaseManager::SetQuotaForOrigin(origin-&gt;securityOrigin().databaseIdentifier(), quota));
-}
-
-void WebDatabaseManagerProxy::didModifyOrigin(const String&amp; originIdentifier)
-{
-    RefPtr&lt;API::SecurityOrigin&gt; origin = API::SecurityOrigin::create(SecurityOrigin::createFromDatabaseIdentifier(originIdentifier));
-    m_client.didModifyOrigin(this, origin.get());
-}
-
-void WebDatabaseManagerProxy::didModifyDatabase(const String&amp; originIdentifier, const String&amp; databaseIdentifier)
-{
-    RefPtr&lt;API::SecurityOrigin&gt; origin = API::SecurityOrigin::create(SecurityOrigin::createFromDatabaseIdentifier(originIdentifier));
-    m_client.didModifyDatabase(this, origin.get(), databaseIdentifier);
-}
-
-} // namespace WebKit
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebDatabaseManagerProxyh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,101 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010, 2013 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#ifndef WebDatabaseManagerProxy_h
-#define WebDatabaseManagerProxy_h
-
-#include &quot;APIObject.h&quot;
-#include &quot;Arguments.h&quot;
-#include &quot;GenericCallback.h&quot;
-#include &quot;MessageReceiver.h&quot;
-#include &quot;OriginAndDatabases.h&quot;
-#include &quot;WebContextSupplement.h&quot;
-#include &quot;WebDatabaseManagerProxyClient.h&quot;
-#include &lt;wtf/HashMap.h&gt;
-#include &lt;wtf/PassRefPtr.h&gt;
-
-namespace WebKit {
-
-class WebProcessPool;
-class WebProcessProxy;
-
-typedef GenericCallback&lt;API::Array*&gt; ArrayCallback;
-
-class WebDatabaseManagerProxy : public API::ObjectImpl&lt;API::Object::Type::DatabaseManager&gt;, public WebContextSupplement, private IPC::MessageReceiver {
-public:
-    static const char* supplementName();
-
-    static PassRefPtr&lt;WebDatabaseManagerProxy&gt; create(WebProcessPool*);
-    virtual ~WebDatabaseManagerProxy();
-
-    void initializeClient(const WKDatabaseManagerClientBase*);
-
-    void getDatabasesByOrigin(std::function&lt;void (API::Array*, CallbackBase::Error)&gt;);
-    void getDatabaseOrigins(std::function&lt;void (API::Array*, CallbackBase::Error)&gt;);
-    void deleteDatabaseWithNameForOrigin(const String&amp; databaseIdentifier, API::SecurityOrigin*);
-    void deleteDatabasesForOrigin(API::SecurityOrigin*);
-    void deleteAllDatabases();
-    void setQuotaForOrigin(API::SecurityOrigin*, uint64_t quota);
-    
-    static String originKey();
-    static String originQuotaKey();
-    static String originUsageKey();
-    static String databaseDetailsKey();
-    static String databaseDetailsNameKey();
-    static String databaseDetailsDisplayNameKey();
-    static String databaseDetailsExpectedUsageKey();
-    static String databaseDetailsCurrentUsageKey();
-    static String databaseDetailsCreationTimeKey();
-    static String databaseDetailsModificationTimeKey();
-
-    using API::Object::ref;
-    using API::Object::deref;
-
-private:
-    explicit WebDatabaseManagerProxy(WebProcessPool*);
-
-    // WebContextSupplement
-    virtual void processPoolDestroyed() override;
-    virtual void processDidClose(WebProcessProxy*) override;
-    virtual bool shouldTerminate(WebProcessProxy*) const override;
-    virtual void refWebContextSupplement() override;
-    virtual void derefWebContextSupplement() override;
-
-    // IPC::MessageReceiver
-    virtual void didReceiveMessage(IPC::Connection&amp;, IPC::MessageDecoder&amp;) override;
-
-    // Message handlers.
-    void didGetDatabasesByOrigin(const Vector&lt;OriginAndDatabases&gt;&amp; originAndDatabases, uint64_t callbackID);
-    void didGetDatabaseOrigins(const Vector&lt;String&gt;&amp; originIdentifiers, uint64_t callbackID);
-    void didModifyOrigin(const String&amp; originIdentifier);
-    void didModifyDatabase(const String&amp; originIdentifier, const String&amp; databaseIdentifier);
-
-    HashMap&lt;uint64_t, RefPtr&lt;ArrayCallback&gt;&gt; m_arrayCallbacks;
-    WebDatabaseManagerProxyClient m_client;
-};
-
-} // namespace WebKit
-
-#endif // DatabaseManagerProxy_h
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebDatabaseManagerProxymessagesin"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.messages.in (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.messages.in        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.messages.in        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-# Copyright (C) 2010 Apple Inc. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1.  Redistributions of source code must retain the above copyright
-#     notice, this list of conditions and the following disclaimer.
-# 2.  Redistributions in binary form must reproduce the above copyright
-#     notice, this list of conditions and the following disclaimer in the
-#     documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
-# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# 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.
-
-messages -&gt; WebDatabaseManagerProxy {
-    DidGetDatabasesByOrigin(Vector&lt;WebKit::OriginAndDatabases&gt; originAndDatabases, uint64_t callbackID);
-    DidGetDatabaseOrigins(Vector&lt;String&gt; originIdentifiers, uint64_t callbackID)
-    DidModifyOrigin(String originIdentifier)
-    DidModifyDatabase(String originIdentifier, String databaseIdentifier)
-}
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebDatabaseManagerProxyClientcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#include &quot;config.h&quot;
-#include &quot;WebDatabaseManagerProxyClient.h&quot;
-
-#include &quot;WKAPICast.h&quot;
-#include &quot;WebDatabaseManagerProxy.h&quot;
-
-namespace WebKit {
-
-void WebDatabaseManagerProxyClient::didModifyOrigin(WebDatabaseManagerProxy* databaseManager, API::SecurityOrigin* origin)
-{
-    if (!m_client.didModifyOrigin)
-        return;
-
-    m_client.didModifyOrigin(toAPI(databaseManager), toAPI(origin), m_client.base.clientInfo);
-}
-
-void WebDatabaseManagerProxyClient::didModifyDatabase(WebDatabaseManagerProxy* databaseManager, API::SecurityOrigin* origin, const String&amp; databaseIdentifier)
-{
-    if (!m_client.didModifyDatabase)
-        return;
-
-    m_client.didModifyDatabase(toAPI(databaseManager), toAPI(origin), toAPI(databaseIdentifier.impl()), m_client.base.clientInfo);
-}
-
-} // namespace WebKit
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebDatabaseManagerProxyClienth"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxyClient.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#ifndef WebDatabaseManagerProxyClient_h
-#define WebDatabaseManagerProxyClient_h
-
-#include &quot;APIClient.h&quot;
-#include &quot;WKDatabaseManager.h&quot;
-#include &lt;wtf/Forward.h&gt;
-
-namespace API {
-template&lt;&gt; struct ClientTraits&lt;WKDatabaseManagerClientBase&gt; {
-    typedef std::tuple&lt;WKDatabaseManagerClientV0&gt; Versions;
-};
-
-class SecurityOrigin;
-}
-
-namespace WebKit {
-
-class WebDatabaseManagerProxy;
-
-class WebDatabaseManagerProxyClient : public API::Client&lt;WKDatabaseManagerClientBase&gt; {
-public:
-    void didModifyOrigin(WebDatabaseManagerProxy*, API::SecurityOrigin*);
-    void didModifyDatabase(WebDatabaseManagerProxy*, API::SecurityOrigin*, const String&amp; databaseIdentifier);
-};
-
-} // namespace WebKit
-
-#endif // WebDatabaseManagerProxyClient_h
</del></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebProcessPoolcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebProcessPool.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebProcessPool.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/UIProcess/WebProcessPool.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -46,7 +46,6 @@
</span><span class="cx"> #include &quot;WebContextSupplement.h&quot;
</span><span class="cx"> #include &quot;WebCookieManagerProxy.h&quot;
</span><span class="cx"> #include &quot;WebCoreArgumentCoders.h&quot;
</span><del>-#include &quot;WebDatabaseManagerProxy.h&quot;
</del><span class="cx"> #include &quot;WebGeolocationManagerProxy.h&quot;
</span><span class="cx"> #include &quot;WebIconDatabase.h&quot;
</span><span class="cx"> #include &quot;WebKit2Initialize.h&quot;
</span><span class="lines">@@ -176,7 +175,6 @@
</span><span class="cx">     addSupplement&lt;WebGeolocationManagerProxy&gt;();
</span><span class="cx">     addSupplement&lt;WebMediaCacheManagerProxy&gt;();
</span><span class="cx">     addSupplement&lt;WebNotificationManagerProxy&gt;();
</span><del>-    addSupplement&lt;WebDatabaseManagerProxy&gt;();
</del><span class="cx"> #if USE(SOUP)
</span><span class="cx">     addSupplement&lt;WebSoupCustomProtocolRequestManager&gt;();
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -598,7 +598,6 @@
</span><span class="cx">                 2D28A4971AF965A100F190C9 /* WKViewLayoutStrategy.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D28A4951AF965A100F190C9 /* WKViewLayoutStrategy.h */; };
</span><span class="cx">                 2D28A4981AF965A200F190C9 /* WKViewLayoutStrategy.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D28A4961AF965A100F190C9 /* WKViewLayoutStrategy.mm */; };
</span><span class="cx">                 2D28F3E41885CCC1004B9EAE /* WebChromeClientIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D28F3E01885CCC1004B9EAE /* WebChromeClientIOS.mm */; };
</span><del>-                2D28F3E51885CCC1004B9EAE /* WebDatabaseManagerIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D28F3E11885CCC1004B9EAE /* WebDatabaseManagerIOS.mm */; };
</del><span class="cx">                 2D28F3E61885CCC1004B9EAE /* WebEditorClientIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D28F3E21885CCC1004B9EAE /* WebEditorClientIOS.mm */; };
</span><span class="cx">                 2D28F3E71885CCC1004B9EAE /* WebFrameLoaderClientIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D28F3E31885CCC1004B9EAE /* WebFrameLoaderClientIOS.mm */; };
</span><span class="cx">                 2D29ECD0192F2C2E00984B78 /* RemoteLayerTreeDisplayRefreshMonitor.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D29ECCE192F2C2E00984B78 /* RemoteLayerTreeDisplayRefreshMonitor.h */; };
</span><span class="lines">@@ -1560,8 +1559,6 @@
</span><span class="cx">                 BCA8C6A911E3BA5F00812FB7 /* InjectedBundlePageLoaderClient.h in Headers */ = {isa = PBXBuildFile; fileRef = BCA8C6A711E3BA5F00812FB7 /* InjectedBundlePageLoaderClient.h */; };
</span><span class="cx">                 BCA8C6AF11E3C08700812FB7 /* InjectedBundlePageUIClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCA8C6AD11E3C08700812FB7 /* InjectedBundlePageUIClient.cpp */; };
</span><span class="cx">                 BCA8C6B011E3C08700812FB7 /* InjectedBundlePageUIClient.h in Headers */ = {isa = PBXBuildFile; fileRef = BCA8C6AE11E3C08700812FB7 /* InjectedBundlePageUIClient.h */; };
</span><del>-                BCAC111F12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.h in Headers */ = {isa = PBXBuildFile; fileRef = BCAC111D12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.h */; };
-                BCAC112012C92C1F00B08EEE /* WebDatabaseManagerProxyClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCAC111E12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.cpp */; };
</del><span class="cx">                 BCAE9E08160C1C0700A33217 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* WebKit.framework */; };
</span><span class="cx">                 BCAE9E09160C233B00A33217 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC3DE46815A91763008D26FC /* Foundation.framework */; };
</span><span class="cx">                 BCAF361F16CA28CD00D4E9FC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC3DE46815A91763008D26FC /* Foundation.framework */; };
</span><span class="lines">@@ -1831,18 +1828,8 @@
</span><span class="cx">                 F6113E25126CE1820057D0A7 /* APIUserContentURLPattern.h in Headers */ = {isa = PBXBuildFile; fileRef = F6113E24126CE1820057D0A7 /* APIUserContentURLPattern.h */; };
</span><span class="cx">                 F6113E28126CE19B0057D0A7 /* WKUserContentURLPattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F6113E26126CE19B0057D0A7 /* WKUserContentURLPattern.cpp */; };
</span><span class="cx">                 F6113E29126CE19B0057D0A7 /* WKUserContentURLPattern.h in Headers */ = {isa = PBXBuildFile; fileRef = F6113E27126CE19B0057D0A7 /* WKUserContentURLPattern.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                F62A765C12B1ABC30005F1B6 /* WebDatabaseManagerProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F62A765912B1ABC30005F1B6 /* WebDatabaseManagerProxy.cpp */; };
-                F62A765D12B1ABC30005F1B6 /* WebDatabaseManagerProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = F62A765A12B1ABC30005F1B6 /* WebDatabaseManagerProxy.h */; };
-                F62A766112B1ABED0005F1B6 /* WKDatabaseManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F62A765F12B1ABED0005F1B6 /* WKDatabaseManager.cpp */; };
-                F62A766212B1ABED0005F1B6 /* WKDatabaseManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F62A766012B1ABED0005F1B6 /* WKDatabaseManager.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                F62A76B612B1B25F0005F1B6 /* WebDatabaseManagerMessageReceiver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F62A76B212B1B25F0005F1B6 /* WebDatabaseManagerMessageReceiver.cpp */; };
-                F62A76B712B1B25F0005F1B6 /* WebDatabaseManagerMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = F62A76B312B1B25F0005F1B6 /* WebDatabaseManagerMessages.h */; };
-                F62A76B812B1B25F0005F1B6 /* WebDatabaseManagerProxyMessageReceiver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F62A76B412B1B25F0005F1B6 /* WebDatabaseManagerProxyMessageReceiver.cpp */; };
-                F62A76B912B1B25F0005F1B6 /* WebDatabaseManagerProxyMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = F62A76B512B1B25F0005F1B6 /* WebDatabaseManagerProxyMessages.h */; };
</del><span class="cx">                 F634445612A885C8000612D8 /* APISecurityOrigin.h in Headers */ = {isa = PBXBuildFile; fileRef = F634445512A885C8000612D8 /* APISecurityOrigin.h */; };
</span><span class="cx">                 F67DD7BA125E40D9007BDCB8 /* WKSerializedScriptValuePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = F67DD7B9125E40D9007BDCB8 /* WKSerializedScriptValuePrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                F6A25FDC12ADC6CC00DC40CC /* WebDatabaseManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F6A25FDA12ADC6CC00DC40CC /* WebDatabaseManager.cpp */; };
-                F6A25FDD12ADC6CC00DC40CC /* WebDatabaseManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F6A25FDB12ADC6CC00DC40CC /* WebDatabaseManager.h */; };
</del><span class="cx">                 F6A90813133C20510082C3F4 /* WebCookieManagerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = F6A90811133C1F3D0082C3F4 /* WebCookieManagerMac.mm */; };
</span><span class="cx">                 F6D632BC133D198200743D77 /* WebCookieManagerProxyMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = F6D632BA133D181B00743D77 /* WebCookieManagerProxyMac.mm */; };
</span><span class="cx">                 FED3C1DC1B447EAC00E0EB7F /* APISerializedScriptValueCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = FED3C1DA1B447AE800E0EB7F /* APISerializedScriptValueCocoa.mm */; };
</span><span class="lines">@@ -2748,7 +2735,6 @@
</span><span class="cx">                 2D28A4951AF965A100F190C9 /* WKViewLayoutStrategy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKViewLayoutStrategy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D28A4961AF965A100F190C9 /* WKViewLayoutStrategy.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKViewLayoutStrategy.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D28F3E01885CCC1004B9EAE /* WebChromeClientIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WebChromeClientIOS.mm; path = ios/WebChromeClientIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                2D28F3E11885CCC1004B9EAE /* WebDatabaseManagerIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WebDatabaseManagerIOS.mm; path = ios/WebDatabaseManagerIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 2D28F3E21885CCC1004B9EAE /* WebEditorClientIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WebEditorClientIOS.mm; path = ios/WebEditorClientIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D28F3E31885CCC1004B9EAE /* WebFrameLoaderClientIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WebFrameLoaderClientIOS.mm; path = ios/WebFrameLoaderClientIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D29ECCE192F2C2E00984B78 /* RemoteLayerTreeDisplayRefreshMonitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RemoteLayerTreeDisplayRefreshMonitor.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -3792,8 +3778,6 @@
</span><span class="cx">                 BCA8C6A711E3BA5F00812FB7 /* InjectedBundlePageLoaderClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InjectedBundlePageLoaderClient.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCA8C6AD11E3C08700812FB7 /* InjectedBundlePageUIClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InjectedBundlePageUIClient.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCA8C6AE11E3C08700812FB7 /* InjectedBundlePageUIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InjectedBundlePageUIClient.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                BCAC111D12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebDatabaseManagerProxyClient.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                BCAC111E12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebDatabaseManagerProxyClient.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 BCACC40D16B0B7BE00B6E092 /* BaseXPCService.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = BaseXPCService.xcconfig; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCACC40E16B0B8A800B6E092 /* WebContentService.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = WebContentService.xcconfig; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCACC40F16B0B8A800B6E092 /* WebContentService.Development.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = WebContentService.Development.xcconfig; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -4086,22 +4070,10 @@
</span><span class="cx">                 F6113E24126CE1820057D0A7 /* APIUserContentURLPattern.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APIUserContentURLPattern.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F6113E26126CE19B0057D0A7 /* WKUserContentURLPattern.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKUserContentURLPattern.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F6113E27126CE19B0057D0A7 /* WKUserContentURLPattern.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKUserContentURLPattern.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                F62A765712B1AB7D0005F1B6 /* WebDatabaseManager.messages.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebDatabaseManager.messages.in; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A765912B1ABC30005F1B6 /* WebDatabaseManagerProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebDatabaseManagerProxy.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A765A12B1ABC30005F1B6 /* WebDatabaseManagerProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebDatabaseManagerProxy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A765B12B1ABC30005F1B6 /* WebDatabaseManagerProxy.messages.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebDatabaseManagerProxy.messages.in; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A765F12B1ABED0005F1B6 /* WKDatabaseManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKDatabaseManager.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A766012B1ABED0005F1B6 /* WKDatabaseManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKDatabaseManager.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A76B212B1B25F0005F1B6 /* WebDatabaseManagerMessageReceiver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebDatabaseManagerMessageReceiver.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A76B312B1B25F0005F1B6 /* WebDatabaseManagerMessages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebDatabaseManagerMessages.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A76B412B1B25F0005F1B6 /* WebDatabaseManagerProxyMessageReceiver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebDatabaseManagerProxyMessageReceiver.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F62A76B512B1B25F0005F1B6 /* WebDatabaseManagerProxyMessages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebDatabaseManagerProxyMessages.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 F634445512A885C8000612D8 /* APISecurityOrigin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APISecurityOrigin.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F638954F133BEF38008941D5 /* HTTPCookieAcceptPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTTPCookieAcceptPolicy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F67DD7B9125E40D9007BDCB8 /* WKSerializedScriptValuePrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKSerializedScriptValuePrivate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F6A0C13F13281E6E0070430F /* ResourceCachesToClear.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceCachesToClear.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                F6A25FDA12ADC6CC00DC40CC /* WebDatabaseManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebDatabaseManager.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F6A25FDB12ADC6CC00DC40CC /* WebDatabaseManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebDatabaseManager.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 F6A90811133C1F3D0082C3F4 /* WebCookieManagerMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCookieManagerMac.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F6D632BA133D181B00743D77 /* WebCookieManagerProxyMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCookieManagerProxyMac.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 FED3C1DA1B447AE800E0EB7F /* APISerializedScriptValueCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = APISerializedScriptValueCocoa.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -5091,7 +5063,6 @@
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="cx">                                 2D28F3E01885CCC1004B9EAE /* WebChromeClientIOS.mm */,
</span><del>-                                2D28F3E11885CCC1004B9EAE /* WebDatabaseManagerIOS.mm */,
</del><span class="cx">                                 2D28F3E21885CCC1004B9EAE /* WebEditorClientIOS.mm */,
</span><span class="cx">                                 2D28F3E31885CCC1004B9EAE /* WebFrameLoaderClientIOS.mm */,
</span><span class="cx">                                 A1C512C6190656E500448914 /* WebQuickLookHandleClient.cpp */,
</span><span class="lines">@@ -6055,9 +6026,6 @@
</span><span class="cx">                                 3F87B9BB15893F630090FF62 /* WebColorChooser.h */,
</span><span class="cx">                                 BC111A54112F4FBB00337BAB /* WebContextMenuClient.cpp */,
</span><span class="cx">                                 BC032D6210F4378D0058C15A /* WebContextMenuClient.h */,
</span><del>-                                F6A25FDA12ADC6CC00DC40CC /* WebDatabaseManager.cpp */,
-                                F6A25FDB12ADC6CC00DC40CC /* WebDatabaseManager.h */,
-                                F62A765712B1AB7D0005F1B6 /* WebDatabaseManager.messages.in */,
</del><span class="cx">                                 CD19A2691A13E820008D650E /* WebDiagnosticLoggingClient.cpp */,
</span><span class="cx">                                 CD19A26A1A13E821008D650E /* WebDiagnosticLoggingClient.h */,
</span><span class="cx">                                 BC111A56112F4FBB00337BAB /* WebDragClient.cpp */,
</span><span class="lines">@@ -6222,11 +6190,6 @@
</span><span class="cx">                                 330934541315B9750097A7BC /* WebCookieManagerProxy.messages.in */,
</span><span class="cx">                                 33AA1064131F060000D4A575 /* WebCookieManagerProxyClient.cpp */,
</span><span class="cx">                                 33AA1065131F060000D4A575 /* WebCookieManagerProxyClient.h */,
</span><del>-                                F62A765912B1ABC30005F1B6 /* WebDatabaseManagerProxy.cpp */,
-                                F62A765A12B1ABC30005F1B6 /* WebDatabaseManagerProxy.h */,
-                                F62A765B12B1ABC30005F1B6 /* WebDatabaseManagerProxy.messages.in */,
-                                BCAC111E12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.cpp */,
-                                BCAC111D12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.h */,
</del><span class="cx">                                 BCA0EF9E12332642007D3CFB /* WebEditCommandProxy.cpp */,
</span><span class="cx">                                 BCA0EF9D12332642007D3CFB /* WebEditCommandProxy.h */,
</span><span class="cx">                                 BCE4694F1214E6CB000B98EB /* WebFormClient.cpp */,
</span><span class="lines">@@ -6383,8 +6346,6 @@
</span><span class="cx">                                 512F58F112A88A5400629530 /* WKCredential.cpp */,
</span><span class="cx">                                 512F58F212A88A5400629530 /* WKCredential.h */,
</span><span class="cx">                                 518ACF1012B015F800B04B83 /* WKCredentialTypes.h */,
</span><del>-                                F62A765F12B1ABED0005F1B6 /* WKDatabaseManager.cpp */,
-                                F62A766012B1ABED0005F1B6 /* WKDatabaseManager.h */,
</del><span class="cx">                                 1AB7D78C1288CD9A00CFD08C /* WKDownload.cpp */,
</span><span class="cx">                                 1AB7D78B1288CD9A00CFD08C /* WKDownload.h */,
</span><span class="cx">                                 BCE469571214EDF4000B98EB /* WKFormSubmissionListener.cpp */,
</span><span class="lines">@@ -7320,10 +7281,6 @@
</span><span class="cx">                                 330934441315B9220097A7BC /* WebCookieManagerMessages.h */,
</span><span class="cx">                                 330934451315B9220097A7BC /* WebCookieManagerProxyMessageReceiver.cpp */,
</span><span class="cx">                                 330934461315B9220097A7BC /* WebCookieManagerProxyMessages.h */,
</span><del>-                                F62A76B212B1B25F0005F1B6 /* WebDatabaseManagerMessageReceiver.cpp */,
-                                F62A76B312B1B25F0005F1B6 /* WebDatabaseManagerMessages.h */,
-                                F62A76B412B1B25F0005F1B6 /* WebDatabaseManagerProxyMessageReceiver.cpp */,
-                                F62A76B512B1B25F0005F1B6 /* WebDatabaseManagerProxyMessages.h */,
</del><span class="cx">                                 CD73BA48131ACD8E00EEDED2 /* WebFullScreenManagerMessageReceiver.cpp */,
</span><span class="cx">                                 CD73BA49131ACD8E00EEDED2 /* WebFullScreenManagerMessages.h */,
</span><span class="cx">                                 CD73BA45131ACC8800EEDED2 /* WebFullScreenManagerProxyMessageReceiver.cpp */,
</span><span class="lines">@@ -8037,11 +7994,6 @@
</span><span class="cx">                                 BC1DD7B2114DC396005ADAF3 /* WebCoreArgumentCoders.h in Headers */,
</span><span class="cx">                                 512F589B12A8838800629530 /* WebCredential.h in Headers */,
</span><span class="cx">                                 516311871858446600534647 /* WebCrossThreadCopier.h in Headers */,
</span><del>-                                F6A25FDD12ADC6CC00DC40CC /* WebDatabaseManager.h in Headers */,
-                                F62A76B712B1B25F0005F1B6 /* WebDatabaseManagerMessages.h in Headers */,
-                                F62A765D12B1ABC30005F1B6 /* WebDatabaseManagerProxy.h in Headers */,
-                                BCAC111F12C92C1F00B08EEE /* WebDatabaseManagerProxyClient.h in Headers */,
-                                F62A76B912B1B25F0005F1B6 /* WebDatabaseManagerProxyMessages.h in Headers */,
</del><span class="cx">                                 1AA83F6D1A5B63FF00026EC6 /* WebDatabaseProvider.h in Headers */,
</span><span class="cx">                                 CD19A26E1A13E834008D650E /* WebDiagnosticLoggingClient.h in Headers */,
</span><span class="cx">                                 1A5B1C5518987EDF004FCF9B /* WebDocumentLoader.h in Headers */,
</span><span class="lines">@@ -8267,7 +8219,6 @@
</span><span class="cx">                                 512F58FA12A88A5400629530 /* WKCredential.h in Headers */,
</span><span class="cx">                                 518ACF1112B015F800B04B83 /* WKCredentialTypes.h in Headers */,
</span><span class="cx">                                 BC4075F8124FF0270068F20A /* WKData.h in Headers */,
</span><del>-                                F62A766212B1ABED0005F1B6 /* WKDatabaseManager.h in Headers */,
</del><span class="cx">                                 377EAD4517E2C51A002D193D /* WKDeclarationSpecifiers.h in Headers */,
</span><span class="cx">                                 8372DB2F1A677D4A00C697C5 /* WKDiagnosticLoggingResultType.h in Headers */,
</span><span class="cx">                                 BC4075FA124FF0270068F20A /* WKDictionary.h in Headers */,
</span><span class="lines">@@ -9829,12 +9780,6 @@
</span><span class="cx">                                 BCE23263122C6CF300D5C35A /* WebCoreArgumentCodersMac.mm in Sources */,
</span><span class="cx">                                 512F589A12A8838800629530 /* WebCredential.cpp in Sources */,
</span><span class="cx">                                 51BA24461858F55D00EA2811 /* WebCrossThreadCopier.cpp in Sources */,
</span><del>-                                F6A25FDC12ADC6CC00DC40CC /* WebDatabaseManager.cpp in Sources */,
-                                2D28F3E51885CCC1004B9EAE /* WebDatabaseManagerIOS.mm in Sources */,
-                                F62A76B612B1B25F0005F1B6 /* WebDatabaseManagerMessageReceiver.cpp in Sources */,
-                                F62A765C12B1ABC30005F1B6 /* WebDatabaseManagerProxy.cpp in Sources */,
-                                BCAC112012C92C1F00B08EEE /* WebDatabaseManagerProxyClient.cpp in Sources */,
-                                F62A76B812B1B25F0005F1B6 /* WebDatabaseManagerProxyMessageReceiver.cpp in Sources */,
</del><span class="cx">                                 1AA83F6C1A5B63FF00026EC6 /* WebDatabaseProvider.cpp in Sources */,
</span><span class="cx">                                 CD19A26D1A13E82A008D650E /* WebDiagnosticLoggingClient.cpp in Sources */,
</span><span class="cx">                                 1A5B1C5418987EDF004FCF9B /* WebDocumentLoader.cpp in Sources */,
</span><span class="lines">@@ -10052,7 +9997,6 @@
</span><span class="cx">                                 3309345A1315B9980097A7BC /* WKCookieManager.cpp in Sources */,
</span><span class="cx">                                 512F58F912A88A5400629530 /* WKCredential.cpp in Sources */,
</span><span class="cx">                                 BC4075F7124FF0270068F20A /* WKData.cpp in Sources */,
</span><del>-                                F62A766112B1ABED0005F1B6 /* WKDatabaseManager.cpp in Sources */,
</del><span class="cx">                                 1AFF49001833DE78009AB15A /* WKDeprecatedFunctions.cpp in Sources */,
</span><span class="cx">                                 BC4075F9124FF0270068F20A /* WKDictionary.cpp in Sources */,
</span><span class="cx">                                 BC017D0816260FF4007054F5 /* WKDOMDocument.mm in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleInjectedBundlecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx"> #include &quot;WebConnectionToUIProcess.h&quot;
</span><span class="cx"> #include &quot;WebCookieManager.h&quot;
</span><span class="cx"> #include &quot;WebCoreArgumentCoders.h&quot;
</span><del>-#include &quot;WebDatabaseManager.h&quot;
</del><span class="cx"> #include &quot;WebFrame.h&quot;
</span><span class="cx"> #include &quot;WebFrameNetworkingContext.h&quot;
</span><span class="cx"> #include &quot;WebPage.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebDatabaseManagercpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,157 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010, 2013 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#include &quot;config.h&quot;
-#include &quot;WebDatabaseManager.h&quot;
-
-#include &quot;OriginAndDatabases.h&quot;
-#include &quot;WebCoreArgumentCoders.h&quot;
-#include &quot;WebDatabaseManagerMessages.h&quot;
-#include &quot;WebDatabaseManagerProxyMessages.h&quot;
-#include &quot;WebProcess.h&quot;
-#include &quot;WebProcessCreationParameters.h&quot;
-#include &lt;WebCore/DatabaseDetails.h&gt;
-#include &lt;WebCore/DatabaseManager.h&gt;
-#include &lt;WebCore/SecurityOrigin.h&gt;
-
-using namespace WebCore;
-
-namespace WebKit {
-
-const char* WebDatabaseManager::supplementName()
-{
-    return &quot;WebDatabaseManager&quot;;
-}
-
-WebDatabaseManager::WebDatabaseManager(WebProcess* process)
-    : m_process(process)
-{
-    m_process-&gt;addMessageReceiver(Messages::WebDatabaseManager::messageReceiverName(), *this);
-}
-
-void WebDatabaseManager::initialize(const WebProcessCreationParameters&amp; parameters)
-{
-    auto&amp; databaseManager = DatabaseManager::singleton();
-    databaseManager.initialize(parameters.webSQLDatabaseDirectory);
-    databaseManager.setClient(this);
-}
-
-void WebDatabaseManager::getDatabasesByOrigin(uint64_t callbackID) const
-{
-    // FIXME: This could be made more efficient by adding a function to DatabaseManager
-    // to get both the origins and the Vector of DatabaseDetails for each origin in one
-    // shot.  That would avoid taking the numerous locks this requires.
-
-    auto&amp; databaseManager = DatabaseManager::singleton();
-    Vector&lt;RefPtr&lt;SecurityOrigin&gt;&gt; origins;
-    databaseManager.origins(origins);
-
-    Vector&lt;OriginAndDatabases&gt; originAndDatabasesVector;
-    originAndDatabasesVector.reserveInitialCapacity(origins.size());
-
-    for (size_t i = 0; i &lt; origins.size(); ++i) {
-        OriginAndDatabases originAndDatabases;
-
-        Vector&lt;String&gt; nameVector;
-        if (!databaseManager.databaseNamesForOrigin(origins[i].get(), nameVector))
-            continue;
-
-        Vector&lt;DatabaseDetails&gt; detailsVector;
-        detailsVector.reserveInitialCapacity(nameVector.size());
-        for (size_t j = 0; j &lt; nameVector.size(); j++) {
-            DatabaseDetails details = databaseManager.detailsForNameAndOrigin(nameVector[j], origins[i].get());
-            if (details.name().isNull())
-                continue;
-
-            detailsVector.append(details);
-        }
-
-        if (detailsVector.isEmpty())
-            continue;
-
-        originAndDatabases.originIdentifier = origins[i]-&gt;databaseIdentifier();
-        originAndDatabases.originQuota = databaseManager.quotaForOrigin(origins[i].get());
-        originAndDatabases.originUsage = databaseManager.usageForOrigin(origins[i].get());
-        originAndDatabases.databases.swap(detailsVector); 
-        originAndDatabasesVector.append(originAndDatabases);
-    }
-
-    m_process-&gt;send(Messages::WebDatabaseManagerProxy::DidGetDatabasesByOrigin(originAndDatabasesVector, callbackID), 0);
-}
-
-void WebDatabaseManager::getDatabaseOrigins(uint64_t callbackID) const
-{
-    Vector&lt;RefPtr&lt;SecurityOrigin&gt;&gt; origins;
-    DatabaseManager::singleton().origins(origins);
-
-    size_t numOrigins = origins.size();
-
-    Vector&lt;String&gt; identifiers(numOrigins);
-    for (size_t i = 0; i &lt; numOrigins; ++i)
-        identifiers[i] = origins[i]-&gt;databaseIdentifier();
-    m_process-&gt;send(Messages::WebDatabaseManagerProxy::DidGetDatabaseOrigins(identifiers, callbackID), 0);
-}
-
-void WebDatabaseManager::deleteDatabaseWithNameForOrigin(const String&amp; databaseIdentifier, const String&amp; originIdentifier) const
-{
-    DatabaseManager::singleton().deleteDatabase(SecurityOrigin::createFromDatabaseIdentifier(originIdentifier).ptr(), databaseIdentifier);
-}
-
-void WebDatabaseManager::deleteDatabasesForOrigin(const String&amp; originIdentifier) const
-{
-    DatabaseManager::singleton().deleteOrigin(SecurityOrigin::createFromDatabaseIdentifier(originIdentifier).ptr());
-}
-
-void WebDatabaseManager::deleteAllDatabases() const
-{
-    DatabaseManager::singleton().deleteAllDatabases();
-}
-
-void WebDatabaseManager::closeAllDatabases() const
-{
-    DatabaseManager::singleton().closeAllDatabases();
-}
-
-void WebDatabaseManager::setQuotaForOrigin(const String&amp; originIdentifier, unsigned long long quota) const
-{
-    // If the quota is set to a value lower than the current usage, that quota will
-    // &quot;stick&quot; but no data will be purged to meet the new quota. This will simply
-    // prevent new data from being added to databases in that origin.
-    DatabaseManager::singleton().setQuota(SecurityOrigin::createFromDatabaseIdentifier(originIdentifier).ptr(), quota);
-}
-
-void WebDatabaseManager::dispatchDidModifyOrigin(SecurityOrigin* origin)
-{
-    // NOTE: This may be called on a non-main thread.
-    m_process-&gt;send(Messages::WebDatabaseManagerProxy::DidModifyOrigin(origin-&gt;databaseIdentifier()), 0);
-}
-
-void WebDatabaseManager::dispatchDidModifyDatabase(WebCore::SecurityOrigin* origin, const String&amp; databaseIdentifier)
-{
-    // NOTE: This may be called on a non-main thread.
-    m_process-&gt;send(Messages::WebDatabaseManagerProxy::DidModifyDatabase(origin-&gt;databaseIdentifier(), databaseIdentifier), 0);
-}
-
-} // namespace WebKit
</del></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebDatabaseManagerh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,78 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010, 2013 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#ifndef WebDatabaseManager_h
-#define WebDatabaseManager_h
-
-#include &quot;MessageReceiver.h&quot;
-#include &quot;WebProcessSupplement.h&quot;
-#include &lt;WebCore/DatabaseManagerClient.h&gt;
-#include &lt;stdint.h&gt;
-#include &lt;wtf/Noncopyable.h&gt;
-
-namespace WebKit {
-
-class WebProcess;
-
-class WebDatabaseManager : public WebCore::DatabaseManagerClient, public WebProcessSupplement, public IPC::MessageReceiver {
-    WTF_MAKE_NONCOPYABLE(WebDatabaseManager);
-public:
-    explicit WebDatabaseManager(WebProcess*);
-
-    static const char* supplementName();
-
-    void setQuotaForOrigin(const String&amp; originIdentifier, unsigned long long quota) const;
-    void deleteAllDatabases() const;
-
-    void closeAllDatabases() const;
-
-private:
-    // WebProcessSupplement
-    virtual void initialize(const WebProcessCreationParameters&amp;) override;
-
-    // IPC::MessageReceiver
-    virtual void didReceiveMessage(IPC::Connection&amp;, IPC::MessageDecoder&amp;) override;
-
-    void getDatabasesByOrigin(uint64_t callbackID) const;
-    void getDatabaseOrigins(uint64_t callbackID) const;
-    void deleteDatabaseWithNameForOrigin(const String&amp; databaseIdentifier, const String&amp; originIdentifier) const;
-    void deleteDatabasesForOrigin(const String&amp; originIdentifier) const;
-
-    // WebCore::DatabaseManagerClient
-    virtual void dispatchDidModifyOrigin(WebCore::SecurityOrigin*) override;
-    virtual void dispatchDidModifyDatabase(WebCore::SecurityOrigin*, const String&amp; databaseIdentifier) override;
-
-#if PLATFORM(IOS)
-    virtual void dispatchDidAddNewOrigin(WebCore::SecurityOrigin*) override;
-    virtual void dispatchDidDeleteDatabase() override;
-    virtual void dispatchDidDeleteDatabaseOrigin() override;
-#endif
-
-    WebProcess* m_process;
-};
-
-} // namespace WebKit
-
-#endif // WebDatabaseManager_h
</del></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebDatabaseManagermessagesin"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.messages.in (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.messages.in        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.messages.in        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-# Copyright (C) 2010 Apple Inc. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1.  Redistributions of source code must retain the above copyright
-#     notice, this list of conditions and the following disclaimer.
-# 2.  Redistributions in binary form must reproduce the above copyright
-#     notice, this list of conditions and the following disclaimer in the
-#     documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
-# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# 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.
-
-messages -&gt; WebDatabaseManager {
-    void GetDatabasesByOrigin(uint64_t callbackID)
-    void GetDatabaseOrigins(uint64_t callbackID)
-    void DeleteDatabaseWithNameForOrigin(String databaseIdentifier, String originIdentifier)
-    void DeleteDatabasesForOrigin(String originIdentifier)
-    void DeleteAllDatabases()
-    void SetQuotaForOrigin(String originIdentifier, uint64_t quota)
-}
</del></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportiosWebDatabaseManagerIOSmm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/WebProcess/WebCoreSupport/ios/WebDatabaseManagerIOS.mm (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/ios/WebDatabaseManagerIOS.mm        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/ios/WebDatabaseManagerIOS.mm        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, 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.
- */
-
-#import &quot;config.h&quot;
-#import &quot;WebDatabaseManager.h&quot;
-
-#if PLATFORM(IOS)
-
-#import &lt;WebCore/NotImplemented.h&gt;
-
-namespace WebKit {
-
-void WebDatabaseManager::dispatchDidAddNewOrigin(WebCore::SecurityOrigin*)
-{
-    notImplemented();
-}
-
-void WebDatabaseManager::dispatchDidDeleteDatabase()
-{
-    notImplemented();
-}
-
-void WebDatabaseManager::dispatchDidDeleteDatabaseOrigin()
-{
-    notImplemented();
-}
-
-} // namespace WebKit
-
-#endif // PLATFORM(IOS)
</del></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebProcesscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebProcess.cpp (194294 => 194295)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebProcess.cpp        2015-12-18 22:03:30 UTC (rev 194294)
+++ trunk/Source/WebKit2/WebProcess/WebProcess.cpp        2015-12-18 22:34:49 UTC (rev 194295)
</span><span class="lines">@@ -44,7 +44,6 @@
</span><span class="cx"> #include &quot;WebConnectionToUIProcess.h&quot;
</span><span class="cx"> #include &quot;WebCookieManager.h&quot;
</span><span class="cx"> #include &quot;WebCoreArgumentCoders.h&quot;
</span><del>-#include &quot;WebDatabaseManager.h&quot;
</del><span class="cx"> #include &quot;WebFrame.h&quot;
</span><span class="cx"> #include &quot;WebFrameNetworkingContext.h&quot;
</span><span class="cx"> #include &quot;WebGeolocationManager.h&quot;
</span><span class="lines">@@ -70,6 +69,8 @@
</span><span class="cx"> #include &lt;WebCore/AuthenticationChallenge.h&gt;
</span><span class="cx"> #include &lt;WebCore/CrossOriginPreflightResultCache.h&gt;
</span><span class="cx"> #include &lt;WebCore/DNS.h&gt;
</span><ins>+#include &lt;WebCore/DatabaseManager.h&gt;
+#include &lt;WebCore/DatabaseTracker.h&gt;
</ins><span class="cx"> #include &lt;WebCore/FontCache.h&gt;
</span><span class="cx"> #include &lt;WebCore/FontCascade.h&gt;
</span><span class="cx"> #include &lt;WebCore/Frame.h&gt;
</span><span class="lines">@@ -180,7 +181,6 @@
</span><span class="cx">     addSupplement&lt;WebCookieManager&gt;();
</span><span class="cx">     addSupplement&lt;WebMediaCacheManager&gt;();
</span><span class="cx">     addSupplement&lt;AuthenticationManager&gt;();
</span><del>-    addSupplement&lt;WebDatabaseManager&gt;();
</del><span class="cx"> 
</span><span class="cx"> #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
</span><span class="cx">     addSupplement&lt;WebNotificationManager&gt;();
</span><span class="lines">@@ -262,6 +262,9 @@
</span><span class="cx">     for (auto&amp; supplement : m_supplements.values())
</span><span class="cx">         supplement-&gt;initialize(parameters);
</span><span class="cx"> 
</span><ins>+    auto&amp; databaseManager = DatabaseManager::singleton();
+    databaseManager.initialize(parameters.webSQLDatabaseDirectory);
+
</ins><span class="cx"> #if ENABLE(ICONDATABASE)
</span><span class="cx">     m_iconDatabaseProxy.setEnabled(parameters.iconDatabaseEnabled);
</span><span class="cx"> #endif
</span><span class="lines">@@ -1187,7 +1190,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    supplement&lt;WebDatabaseManager&gt;()-&gt;closeAllDatabases();
</del><ins>+    DatabaseTracker::tracker().closeAllDatabases();
</ins><span class="cx">     actualPrepareToSuspend(ShouldAcknowledgeWhenReadyToSuspend::No);
</span><span class="cx">     handled = true;
</span><span class="cx"> }
</span></span></pre>
</div>
</div>

</body>
</html>