<!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>[194433] trunk/Source/WebCore</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/194433">194433</a></dd>
<dt>Author</dt> <dd>beidson@apple.com</dd>
<dt>Date</dt> <dd>2015-12-28 16:50:48 -0800 (Mon, 28 Dec 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Modern IDB: Rename IDBServerOperation to ServerOpenDBRequest.
https://bugs.webkit.org/show_bug.cgi?id=152577

Reviewed by Andy Estes.

No new tests (Refactor, no behavior change)

* CMakeLists.txt:
* WebCore.xcodeproj/project.pbxproj:

* Modules/indexeddb/server/ServerOpenDBRequest.cpp: Renamed from Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp.
(WebCore::IDBServer::ServerOpenDBRequest::create):
(WebCore::IDBServer::ServerOpenDBRequest::ServerOpenDBRequest):
(WebCore::IDBServer::ServerOpenDBRequest::isOpenRequest):
(WebCore::IDBServer::ServerOpenDBRequest::isDeleteRequest):
(WebCore::IDBServer::ServerOpenDBRequest::notifyDeleteRequestBlocked):
(WebCore::IDBServer::ServerOpenDBRequest::notifyDidDeleteDatabase):

* Modules/indexeddb/server/ServerOpenDBRequest.h: Renamed from Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h.
(WebCore::IDBServer::ServerOpenDBRequest::connection):
(WebCore::IDBServer::ServerOpenDBRequest::requestData):
(WebCore::IDBServer::ServerOpenDBRequest::hasNotifiedDeleteRequestBlocked):

* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::UniqueIDBDatabase::openDatabaseConnection):
(WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperation):
(WebCore::IDBServer::UniqueIDBDatabase::performCurrentDeleteOperation):
(WebCore::IDBServer::UniqueIDBDatabase::handleDatabaseOperations):
(WebCore::IDBServer::UniqueIDBDatabase::handleCurrentOperation):
(WebCore::IDBServer::UniqueIDBDatabase::handleDelete):
(WebCore::IDBServer::UniqueIDBDatabase::startVersionChangeTransaction):
(WebCore::IDBServer::UniqueIDBDatabase::notifyConnectionsOfVersionChangeForUpgrade):
(WebCore::IDBServer::UniqueIDBDatabase::operationAndTransactionTimerFired):
* Modules/indexeddb/server/UniqueIDBDatabase.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbserverUniqueIDBDatabasecpp">trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbserverUniqueIDBDatabaseh">trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.h</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreModulesindexeddbserverServerOpenDBRequestcpp">trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbserverServerOpenDBRequesth">trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.h</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreModulesindexeddbserverIDBServerOperationcpp">trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbserverIDBServerOperationh">trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (194432 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2015-12-28 23:18:25 UTC (rev 194432)
+++ trunk/Source/WebCore/CMakeLists.txt        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -874,7 +874,6 @@
</span><span class="cx"> 
</span><span class="cx">     Modules/indexeddb/server/IDBConnectionToClient.cpp
</span><span class="cx">     Modules/indexeddb/server/IDBServer.cpp
</span><del>-    Modules/indexeddb/server/IDBServerOperation.cpp
</del><span class="cx">     Modules/indexeddb/server/IndexValueEntry.cpp
</span><span class="cx">     Modules/indexeddb/server/IndexValueStore.cpp
</span><span class="cx">     Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp
</span><span class="lines">@@ -884,6 +883,7 @@
</span><span class="cx">     Modules/indexeddb/server/MemoryIndexCursor.cpp
</span><span class="cx">     Modules/indexeddb/server/MemoryObjectStore.cpp
</span><span class="cx">     Modules/indexeddb/server/MemoryObjectStoreCursor.cpp
</span><ins>+    Modules/indexeddb/server/ServerOpenDBRequest.cpp
</ins><span class="cx">     Modules/indexeddb/server/UniqueIDBDatabase.cpp
</span><span class="cx">     Modules/indexeddb/server/UniqueIDBDatabaseConnection.cpp
</span><span class="cx">     Modules/indexeddb/server/UniqueIDBDatabaseTransaction.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (194432 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-12-28 23:18:25 UTC (rev 194432)
+++ trunk/Source/WebCore/ChangeLog        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -1,3 +1,40 @@
</span><ins>+2015-12-28  Brady Eidson  &lt;beidson@apple.com&gt;
+
+        Modern IDB: Rename IDBServerOperation to ServerOpenDBRequest.
+        https://bugs.webkit.org/show_bug.cgi?id=152577
+
+        Reviewed by Andy Estes.
+
+        No new tests (Refactor, no behavior change)
+
+        * CMakeLists.txt:
+        * WebCore.xcodeproj/project.pbxproj:
+
+        * Modules/indexeddb/server/ServerOpenDBRequest.cpp: Renamed from Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp.
+        (WebCore::IDBServer::ServerOpenDBRequest::create):
+        (WebCore::IDBServer::ServerOpenDBRequest::ServerOpenDBRequest):
+        (WebCore::IDBServer::ServerOpenDBRequest::isOpenRequest):
+        (WebCore::IDBServer::ServerOpenDBRequest::isDeleteRequest):
+        (WebCore::IDBServer::ServerOpenDBRequest::notifyDeleteRequestBlocked):
+        (WebCore::IDBServer::ServerOpenDBRequest::notifyDidDeleteDatabase):
+        
+        * Modules/indexeddb/server/ServerOpenDBRequest.h: Renamed from Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h.
+        (WebCore::IDBServer::ServerOpenDBRequest::connection):
+        (WebCore::IDBServer::ServerOpenDBRequest::requestData):
+        (WebCore::IDBServer::ServerOpenDBRequest::hasNotifiedDeleteRequestBlocked):
+        
+        * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
+        (WebCore::IDBServer::UniqueIDBDatabase::openDatabaseConnection):
+        (WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperation):
+        (WebCore::IDBServer::UniqueIDBDatabase::performCurrentDeleteOperation):
+        (WebCore::IDBServer::UniqueIDBDatabase::handleDatabaseOperations):
+        (WebCore::IDBServer::UniqueIDBDatabase::handleCurrentOperation):
+        (WebCore::IDBServer::UniqueIDBDatabase::handleDelete):
+        (WebCore::IDBServer::UniqueIDBDatabase::startVersionChangeTransaction):
+        (WebCore::IDBServer::UniqueIDBDatabase::notifyConnectionsOfVersionChangeForUpgrade):
+        (WebCore::IDBServer::UniqueIDBDatabase::operationAndTransactionTimerFired):
+        * Modules/indexeddb/server/UniqueIDBDatabase.h:
+        
</ins><span class="cx"> 2015-12-28  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         [CMake][EFL] Fix build breaks when enabling GAMEPAD
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbserverIDBServerOperationcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp (194432 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp        2015-12-28 23:18:25 UTC (rev 194432)
+++ trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -1,77 +0,0 @@
</span><del>-/*
- * Copyright (C) 2015 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;IDBServerOperation.h&quot;
-
-#if ENABLE(INDEXED_DATABASE)
-
-#include &quot;IDBResultData.h&quot;
-#include &lt;wtf/RefCounted.h&gt;
-
-namespace WebCore {
-namespace IDBServer {
-
-Ref&lt;IDBServerOperation&gt; IDBServerOperation::create(IDBConnectionToClient&amp; connection, const IDBRequestData&amp; requestData)
-{
-    return adoptRef(*new IDBServerOperation(connection, requestData));
-}
-
-IDBServerOperation::IDBServerOperation(IDBConnectionToClient&amp; connection, const IDBRequestData&amp; requestData)
-    : m_connection(connection)
-    , m_requestData(requestData)
-{
-}
-
-bool IDBServerOperation::isOpenRequest() const
-{
-    return m_requestData.isOpenRequest();
-}
-
-bool IDBServerOperation::isDeleteRequest() const
-{
-    return m_requestData.isDeleteRequest();
-}
-
-void IDBServerOperation::notifyDeleteRequestBlocked(uint64_t currentVersion)
-{
-    ASSERT(isDeleteRequest());
-    ASSERT(!m_notifiedDeleteRequestBlocked);
-
-    m_connection.notifyOpenDBRequestBlocked(m_requestData.requestIdentifier(), currentVersion, 0);
-    m_notifiedDeleteRequestBlocked = true;
-}
-
-void IDBServerOperation::notifyDidDeleteDatabase(const IDBDatabaseInfo&amp; info)
-{
-    ASSERT(isDeleteRequest());
-
-    m_connection.didDeleteDatabase(IDBResultData::deleteDatabaseSuccess(m_requestData.requestIdentifier(), info));
-}
-
-} // namespace IDBServer
-} // namespace WebCore
-
-#endif // ENABLE(INDEXED_DATABASE)
</del></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbserverIDBServerOperationh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h (194432 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h        2015-12-28 23:18:25 UTC (rev 194432)
+++ trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -1,69 +0,0 @@
</span><del>-/*
- * Copyright (C) 2015 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 IDBServerOperation_h
-#define IDBServerOperation_h
-
-#if ENABLE(INDEXED_DATABASE)
-
-#include &quot;IDBConnectionToClient.h&quot;
-#include &quot;IDBRequestData.h&quot;
-#include &lt;wtf/Ref.h&gt;
-#include &lt;wtf/RefCounted.h&gt;
-
-namespace WebCore {
-
-class IDBDatabaseInfo;
-
-namespace IDBServer {
-
-class IDBServerOperation : public RefCounted&lt;IDBServerOperation&gt; {
-public:
-    static Ref&lt;IDBServerOperation&gt; create(IDBConnectionToClient&amp;, const IDBRequestData&amp;);
-
-    IDBConnectionToClient&amp; connection() { return m_connection; }
-    const IDBRequestData&amp; requestData() const { return m_requestData; }
-
-    bool isOpenRequest() const;
-    bool isDeleteRequest() const;
-
-    void notifyDeleteRequestBlocked(uint64_t currentVersion);
-    void notifyDidDeleteDatabase(const IDBDatabaseInfo&amp;);
-    bool hasNotifiedDeleteRequestBlocked() const { return m_notifiedDeleteRequestBlocked; }
-
-private:
-    IDBServerOperation(IDBConnectionToClient&amp;, const IDBRequestData&amp;);
-
-    IDBConnectionToClient&amp; m_connection;
-    IDBRequestData m_requestData;
-
-    bool m_notifiedDeleteRequestBlocked { false };
-};
-
-} // namespace IDBServer
-} // namespace WebCore
-
-#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBServerOperation_h
</del></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbserverServerOpenDBRequestcppfromrev194432trunkSourceWebCoreModulesindexeddbserverIDBServerOperationcpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.cpp (from rev 194432, trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp) (0 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.cpp                                (rev 0)
+++ trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.cpp        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+/*
+ * Copyright (C) 2015 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;ServerOpenDBRequest.h&quot;
+
+#if ENABLE(INDEXED_DATABASE)
+
+#include &quot;IDBResultData.h&quot;
+#include &lt;wtf/RefCounted.h&gt;
+
+namespace WebCore {
+namespace IDBServer {
+
+Ref&lt;ServerOpenDBRequest&gt; ServerOpenDBRequest::create(IDBConnectionToClient&amp; connection, const IDBRequestData&amp; requestData)
+{
+    return adoptRef(*new ServerOpenDBRequest(connection, requestData));
+}
+
+ServerOpenDBRequest::ServerOpenDBRequest(IDBConnectionToClient&amp; connection, const IDBRequestData&amp; requestData)
+    : m_connection(connection)
+    , m_requestData(requestData)
+{
+}
+
+bool ServerOpenDBRequest::isOpenRequest() const
+{
+    return m_requestData.isOpenRequest();
+}
+
+bool ServerOpenDBRequest::isDeleteRequest() const
+{
+    return m_requestData.isDeleteRequest();
+}
+
+void ServerOpenDBRequest::notifyDeleteRequestBlocked(uint64_t currentVersion)
+{
+    ASSERT(isDeleteRequest());
+    ASSERT(!m_notifiedDeleteRequestBlocked);
+
+    m_connection.notifyOpenDBRequestBlocked(m_requestData.requestIdentifier(), currentVersion, 0);
+    m_notifiedDeleteRequestBlocked = true;
+}
+
+void ServerOpenDBRequest::notifyDidDeleteDatabase(const IDBDatabaseInfo&amp; info)
+{
+    ASSERT(isDeleteRequest());
+
+    m_connection.didDeleteDatabase(IDBResultData::deleteDatabaseSuccess(m_requestData.requestIdentifier(), info));
+}
+
+} // namespace IDBServer
+} // namespace WebCore
+
+#endif // ENABLE(INDEXED_DATABASE)
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbserverServerOpenDBRequesthfromrev194432trunkSourceWebCoreModulesindexeddbserverIDBServerOperationh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.h (from rev 194432, trunk/Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h) (0 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.h                                (rev 0)
+++ trunk/Source/WebCore/Modules/indexeddb/server/ServerOpenDBRequest.h        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -0,0 +1,69 @@
</span><ins>+/*
+ * Copyright (C) 2015 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 ServerOpenDBRequest_h
+#define ServerOpenDBRequest_h
+
+#if ENABLE(INDEXED_DATABASE)
+
+#include &quot;IDBConnectionToClient.h&quot;
+#include &quot;IDBRequestData.h&quot;
+#include &lt;wtf/Ref.h&gt;
+#include &lt;wtf/RefCounted.h&gt;
+
+namespace WebCore {
+
+class IDBDatabaseInfo;
+
+namespace IDBServer {
+
+class ServerOpenDBRequest : public RefCounted&lt;ServerOpenDBRequest&gt; {
+public:
+    static Ref&lt;ServerOpenDBRequest&gt; create(IDBConnectionToClient&amp;, const IDBRequestData&amp;);
+
+    IDBConnectionToClient&amp; connection() { return m_connection; }
+    const IDBRequestData&amp; requestData() const { return m_requestData; }
+
+    bool isOpenRequest() const;
+    bool isDeleteRequest() const;
+
+    void notifyDeleteRequestBlocked(uint64_t currentVersion);
+    void notifyDidDeleteDatabase(const IDBDatabaseInfo&amp;);
+    bool hasNotifiedDeleteRequestBlocked() const { return m_notifiedDeleteRequestBlocked; }
+
+private:
+    ServerOpenDBRequest(IDBConnectionToClient&amp;, const IDBRequestData&amp;);
+
+    IDBConnectionToClient&amp; m_connection;
+    IDBRequestData m_requestData;
+
+    bool m_notifiedDeleteRequestBlocked { false };
+};
+
+} // namespace IDBServer
+} // namespace WebCore
+
+#endif // ENABLE(INDEXED_DATABASE)
+#endif // ServerOpenDBRequest_h
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbserverUniqueIDBDatabasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp (194432 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp        2015-12-28 23:18:25 UTC (rev 194432)
+++ trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -68,8 +68,8 @@
</span><span class="cx"> 
</span><span class="cx"> void UniqueIDBDatabase::openDatabaseConnection(IDBConnectionToClient&amp; connection, const IDBRequestData&amp; requestData)
</span><span class="cx"> {
</span><del>-    auto operation = IDBServerOperation::create(connection, requestData);
-    m_pendingDatabaseOperations.append(WTF::move(operation));
</del><ins>+    auto operation = ServerOpenDBRequest::create(connection, requestData);
+    m_pendingOpenDBRequests.append(WTF::move(operation));
</ins><span class="cx"> 
</span><span class="cx">     // An open operation is already in progress, so we can't possibly handle this one yet.
</span><span class="cx">     if (m_isOpeningBackingStore)
</span><span class="lines">@@ -100,8 +100,8 @@
</span><span class="cx"> {
</span><span class="cx">     LOG(IndexedDB, &quot;(main) UniqueIDBDatabase::performCurrentOpenOperation&quot;);
</span><span class="cx"> 
</span><del>-    ASSERT(m_currentOperation);
-    ASSERT(m_currentOperation-&gt;isOpenRequest());
</del><ins>+    ASSERT(m_currentOpenDBRequest);
+    ASSERT(m_currentOpenDBRequest-&gt;isOpenRequest());
</ins><span class="cx"> 
</span><span class="cx">     if (!m_databaseInfo) {
</span><span class="cx">         m_isOpeningBackingStore = true;
</span><span class="lines">@@ -120,29 +120,29 @@
</span><span class="cx">     // 3.3.1 Opening a database
</span><span class="cx">     // If requested version is undefined, then let requested version be 1 if db was created in the previous step,
</span><span class="cx">     // or the current version of db otherwise.
</span><del>-    uint64_t requestedVersion = m_currentOperation-&gt;requestData().requestedVersion();
</del><ins>+    uint64_t requestedVersion = m_currentOpenDBRequest-&gt;requestData().requestedVersion();
</ins><span class="cx">     if (!requestedVersion)
</span><span class="cx">         requestedVersion = m_databaseInfo-&gt;version() ? m_databaseInfo-&gt;version() : 1;
</span><span class="cx"> 
</span><span class="cx">     // 3.3.1 Opening a database
</span><span class="cx">     // If the database version higher than the requested version, abort these steps and return a VersionError.
</span><span class="cx">     if (requestedVersion &lt; m_databaseInfo-&gt;version()) {
</span><del>-        auto result = IDBResultData::error(m_currentOperation-&gt;requestData().requestIdentifier(), IDBError(IDBDatabaseException::VersionError));
-        m_currentOperation-&gt;connection().didOpenDatabase(result);
-        m_currentOperation = nullptr;
</del><ins>+        auto result = IDBResultData::error(m_currentOpenDBRequest-&gt;requestData().requestIdentifier(), IDBError(IDBDatabaseException::VersionError));
+        m_currentOpenDBRequest-&gt;connection().didOpenDatabase(result);
+        m_currentOpenDBRequest = nullptr;
</ins><span class="cx"> 
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    Ref&lt;UniqueIDBDatabaseConnection&gt; connection = UniqueIDBDatabaseConnection::create(*this, m_currentOperation-&gt;connection());
</del><ins>+    Ref&lt;UniqueIDBDatabaseConnection&gt; connection = UniqueIDBDatabaseConnection::create(*this, m_currentOpenDBRequest-&gt;connection());
</ins><span class="cx">     UniqueIDBDatabaseConnection* rawConnection = &amp;connection.get();
</span><span class="cx"> 
</span><span class="cx">     if (requestedVersion == m_databaseInfo-&gt;version()) {
</span><span class="cx">         addOpenDatabaseConnection(WTF::move(connection));
</span><span class="cx"> 
</span><del>-        auto result = IDBResultData::openDatabaseSuccess(m_currentOperation-&gt;requestData().requestIdentifier(), *rawConnection);
-        m_currentOperation-&gt;connection().didOpenDatabase(result);
-        m_currentOperation = nullptr;
</del><ins>+        auto result = IDBResultData::openDatabaseSuccess(m_currentOpenDBRequest-&gt;requestData().requestIdentifier(), *rawConnection);
+        m_currentOpenDBRequest-&gt;connection().didOpenDatabase(result);
+        m_currentOpenDBRequest = nullptr;
</ins><span class="cx"> 
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx">     notifyConnectionsOfVersionChangeForUpgrade();
</span><span class="cx"> 
</span><span class="cx">     // And we notify this OpenDBRequest that it is blocked until those connections close.
</span><del>-    m_versionChangeDatabaseConnection-&gt;connectionToClient().notifyOpenDBRequestBlocked(m_currentOperation-&gt;requestData().requestIdentifier(), m_databaseInfo-&gt;version(), requestedVersion);
</del><ins>+    m_versionChangeDatabaseConnection-&gt;connectionToClient().notifyOpenDBRequestBlocked(m_currentOpenDBRequest-&gt;requestData().requestIdentifier(), m_databaseInfo-&gt;version(), requestedVersion);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void UniqueIDBDatabase::performCurrentDeleteOperation()
</span><span class="lines">@@ -169,8 +169,8 @@
</span><span class="cx">     LOG(IndexedDB, &quot;(main) UniqueIDBDatabase::performCurrentDeleteOperation&quot;);
</span><span class="cx"> 
</span><span class="cx">     ASSERT(m_databaseInfo);
</span><del>-    ASSERT(m_currentOperation);
-    ASSERT(m_currentOperation-&gt;isDeleteRequest());
</del><ins>+    ASSERT(m_currentOpenDBRequest);
+    ASSERT(m_currentOpenDBRequest-&gt;isDeleteRequest());
</ins><span class="cx"> 
</span><span class="cx">     if (hasAnyOpenConnections()) {
</span><span class="cx">         // Exactly once, notify all open connections of the pending deletion.
</span><span class="lines">@@ -179,8 +179,8 @@
</span><span class="cx">             m_hasNotifiedConnectionsOfDelete = true;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        if (!m_currentOperation-&gt;hasNotifiedDeleteRequestBlocked())
-            m_currentOperation-&gt;notifyDeleteRequestBlocked(m_databaseInfo-&gt;version());
</del><ins>+        if (!m_currentOpenDBRequest-&gt;hasNotifiedDeleteRequestBlocked())
+            m_currentOpenDBRequest-&gt;notifyDeleteRequestBlocked(m_databaseInfo-&gt;version());
</ins><span class="cx"> 
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -190,12 +190,12 @@
</span><span class="cx">     ASSERT(m_pendingTransactions.isEmpty());
</span><span class="cx">     ASSERT(m_openDatabaseConnections.isEmpty());
</span><span class="cx"> 
</span><del>-    m_currentOperation-&gt;notifyDidDeleteDatabase(*m_databaseInfo);
-    m_currentOperation = nullptr;
</del><ins>+    m_currentOpenDBRequest-&gt;notifyDidDeleteDatabase(*m_databaseInfo);
+    m_currentOpenDBRequest = nullptr;
</ins><span class="cx">     m_hasNotifiedConnectionsOfDelete = false;
</span><span class="cx">     m_deletePending = false;
</span><span class="cx"> 
</span><del>-    if (m_pendingDatabaseOperations.isEmpty())
</del><ins>+    if (m_pendingOpenDBRequests.isEmpty())
</ins><span class="cx">         m_server.deleteUniqueIDBDatabase(*this);
</span><span class="cx">     else
</span><span class="cx">         invokeOperationAndTransactionTimer();
</span><span class="lines">@@ -204,43 +204,43 @@
</span><span class="cx"> void UniqueIDBDatabase::handleDatabaseOperations()
</span><span class="cx"> {
</span><span class="cx">     ASSERT(isMainThread());
</span><del>-    LOG(IndexedDB, &quot;(main) UniqueIDBDatabase::handleDatabaseOperations - There are %zu pending&quot;, m_pendingDatabaseOperations.size());
</del><ins>+    LOG(IndexedDB, &quot;(main) UniqueIDBDatabase::handleDatabaseOperations - There are %zu pending&quot;, m_pendingOpenDBRequests.size());
</ins><span class="cx"> 
</span><del>-    if (m_versionChangeDatabaseConnection || m_versionChangeTransaction || m_currentOperation) {
</del><ins>+    if (m_versionChangeDatabaseConnection || m_versionChangeTransaction || m_currentOpenDBRequest) {
</ins><span class="cx">         // We can't start any new open-database operations right now, but we might be able to start handling a delete operation.
</span><del>-        if (!m_currentOperation &amp;&amp; !m_pendingDatabaseOperations.isEmpty() &amp;&amp; m_pendingDatabaseOperations.first()-&gt;isDeleteRequest())
-            m_currentOperation = m_pendingDatabaseOperations.takeFirst();
</del><ins>+        if (!m_currentOpenDBRequest &amp;&amp; !m_pendingOpenDBRequests.isEmpty() &amp;&amp; m_pendingOpenDBRequests.first()-&gt;isDeleteRequest())
+            m_currentOpenDBRequest = m_pendingOpenDBRequests.takeFirst();
</ins><span class="cx"> 
</span><span class="cx">         // Some operations (such as the first open operation after a delete) require multiple passes to completely handle
</span><del>-        if (m_currentOperation)
</del><ins>+        if (m_currentOpenDBRequest)
</ins><span class="cx">             handleCurrentOperation();
</span><span class="cx"> 
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (m_pendingDatabaseOperations.isEmpty())
</del><ins>+    if (m_pendingOpenDBRequests.isEmpty())
</ins><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    m_currentOperation = m_pendingDatabaseOperations.takeFirst();
-    LOG(IndexedDB, &quot;UniqueIDBDatabase::handleDatabaseOperations - Popped an operation, now there are %zu pending&quot;, m_pendingDatabaseOperations.size());
</del><ins>+    m_currentOpenDBRequest = m_pendingOpenDBRequests.takeFirst();
+    LOG(IndexedDB, &quot;UniqueIDBDatabase::handleDatabaseOperations - Popped an operation, now there are %zu pending&quot;, m_pendingOpenDBRequests.size());
</ins><span class="cx"> 
</span><span class="cx">     handleCurrentOperation();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void UniqueIDBDatabase::handleCurrentOperation()
</span><span class="cx"> {
</span><del>-    ASSERT(m_currentOperation);
</del><ins>+    ASSERT(m_currentOpenDBRequest);
</ins><span class="cx"> 
</span><span class="cx">     RefPtr&lt;UniqueIDBDatabase&gt; protector(this);
</span><span class="cx"> 
</span><del>-    if (m_currentOperation-&gt;isOpenRequest())
</del><ins>+    if (m_currentOpenDBRequest-&gt;isOpenRequest())
</ins><span class="cx">         performCurrentOpenOperation();
</span><del>-    else if (m_currentOperation-&gt;isDeleteRequest())
</del><ins>+    else if (m_currentOpenDBRequest-&gt;isDeleteRequest())
</ins><span class="cx">         performCurrentDeleteOperation();
</span><span class="cx">     else
</span><span class="cx">         ASSERT_NOT_REACHED();
</span><span class="cx"> 
</span><del>-    if (!m_currentOperation)
</del><ins>+    if (!m_currentOpenDBRequest)
</ins><span class="cx">         invokeOperationAndTransactionTimer();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -292,7 +292,7 @@
</span><span class="cx"> {
</span><span class="cx">     LOG(IndexedDB, &quot;(main) UniqueIDBDatabase::handleDelete&quot;);
</span><span class="cx"> 
</span><del>-    m_pendingDatabaseOperations.append(IDBServerOperation::create(connection, requestData));
</del><ins>+    m_pendingOpenDBRequests.append(ServerOpenDBRequest::create(connection, requestData));
</ins><span class="cx">     handleDatabaseOperations();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -301,11 +301,11 @@
</span><span class="cx">     LOG(IndexedDB, &quot;(main) UniqueIDBDatabase::startVersionChangeTransaction&quot;);
</span><span class="cx"> 
</span><span class="cx">     ASSERT(!m_versionChangeTransaction);
</span><del>-    ASSERT(m_currentOperation);
-    ASSERT(m_currentOperation-&gt;isOpenRequest());
</del><ins>+    ASSERT(m_currentOpenDBRequest);
+    ASSERT(m_currentOpenDBRequest-&gt;isOpenRequest());
</ins><span class="cx">     ASSERT(m_versionChangeDatabaseConnection);
</span><span class="cx"> 
</span><del>-    auto operation = WTF::move(m_currentOperation);
</del><ins>+    auto operation = WTF::move(m_currentOpenDBRequest);
</ins><span class="cx"> 
</span><span class="cx">     uint64_t requestedVersion = operation-&gt;requestData().requestedVersion();
</span><span class="cx">     if (!requestedVersion)
</span><span class="lines">@@ -331,11 +331,11 @@
</span><span class="cx"> 
</span><span class="cx"> void UniqueIDBDatabase::notifyConnectionsOfVersionChangeForUpgrade()
</span><span class="cx"> {
</span><del>-    ASSERT(m_currentOperation);
-    ASSERT(m_currentOperation-&gt;isOpenRequest());
</del><ins>+    ASSERT(m_currentOpenDBRequest);
+    ASSERT(m_currentOpenDBRequest-&gt;isOpenRequest());
</ins><span class="cx">     ASSERT(m_versionChangeDatabaseConnection);
</span><span class="cx"> 
</span><del>-    notifyConnectionsOfVersionChange(m_currentOperation-&gt;requestData().requestedVersion());
</del><ins>+    notifyConnectionsOfVersionChange(m_currentOpenDBRequest-&gt;requestData().requestedVersion());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void UniqueIDBDatabase::notifyConnectionsOfVersionChange(uint64_t requestedVersion)
</span><span class="lines">@@ -984,10 +984,10 @@
</span><span class="cx"> 
</span><span class="cx">     // The current operation might require multiple attempts to handle, so try to
</span><span class="cx">     // make further progress on it now.
</span><del>-    if (m_currentOperation)
</del><ins>+    if (m_currentOpenDBRequest)
</ins><span class="cx">         handleCurrentOperation();
</span><span class="cx"> 
</span><del>-    if (!m_currentOperation)
</del><ins>+    if (!m_currentOpenDBRequest)
</ins><span class="cx">         handleDatabaseOperations();
</span><span class="cx"> 
</span><span class="cx">     bool hadDeferredTransactions = false;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbserverUniqueIDBDatabaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.h (194432 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.h        2015-12-28 23:18:25 UTC (rev 194432)
+++ trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.h        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> #include &quot;IDBDatabaseIdentifier.h&quot;
</span><span class="cx"> #include &quot;IDBDatabaseInfo.h&quot;
</span><span class="cx"> #include &quot;IDBGetResult.h&quot;
</span><del>-#include &quot;IDBServerOperation.h&quot;
</del><ins>+#include &quot;ServerOpenDBRequest.h&quot;
</ins><span class="cx"> #include &quot;ThreadSafeDataBuffer.h&quot;
</span><span class="cx"> #include &quot;Timer.h&quot;
</span><span class="cx"> #include &quot;UniqueIDBDatabaseConnection.h&quot;
</span><span class="lines">@@ -177,8 +177,8 @@
</span><span class="cx">     IDBServer&amp; m_server;
</span><span class="cx">     IDBDatabaseIdentifier m_identifier;
</span><span class="cx">     
</span><del>-    Deque&lt;Ref&lt;IDBServerOperation&gt;&gt; m_pendingDatabaseOperations;
-    RefPtr&lt;IDBServerOperation&gt; m_currentOperation;
</del><ins>+    Deque&lt;Ref&lt;ServerOpenDBRequest&gt;&gt; m_pendingOpenDBRequests;
+    RefPtr&lt;ServerOpenDBRequest&gt; m_currentOpenDBRequest;
</ins><span class="cx"> 
</span><span class="cx">     HashSet&lt;RefPtr&lt;UniqueIDBDatabaseConnection&gt;&gt; m_openDatabaseConnections;
</span><span class="cx">     HashSet&lt;RefPtr&lt;UniqueIDBDatabaseConnection&gt;&gt; m_closePendingDatabaseConnections;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (194432 => 194433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-12-28 23:18:25 UTC (rev 194432)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-12-29 00:50:48 UTC (rev 194433)
</span><span class="lines">@@ -2032,6 +2032,8 @@
</span><span class="cx">                 516D7D701BB5F0BD00AF7C77 /* IDBConnectionToServerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 5185FCBD1BB5CB770012898F /* IDBConnectionToServerDelegate.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 516D7D711BB5F0BD00AF7C77 /* IDBConnectionToClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 516D7D6D1BB5F06500AF7C77 /* IDBConnectionToClient.cpp */; };
</span><span class="cx">                 516D7D721BB5F0BD00AF7C77 /* IDBConnectionToClientDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 516D7D6E1BB5F06500AF7C77 /* IDBConnectionToClientDelegate.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><ins>+                516F7F6D1C31E39A00F111DC /* ServerOpenDBRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 516F7F6C1C31C79D00F111DC /* ServerOpenDBRequest.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                516F7F6E1C31E39C00F111DC /* ServerOpenDBRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 516F7F6B1C31C79D00F111DC /* ServerOpenDBRequest.cpp */; };
</ins><span class="cx">                 517138EF1BED1D1A000D5F01 /* IndexKey.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 517138ED1BED1D17000D5F01 /* IndexKey.cpp */; };
</span><span class="cx">                 517138F01BED1D1A000D5F01 /* IndexKey.h in Headers */ = {isa = PBXBuildFile; fileRef = 517138EE1BED1D17000D5F01 /* IndexKey.h */; };
</span><span class="cx">                 517138F71BF128BB000D5F01 /* IndexValueStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 517138F51BF12262000D5F01 /* IndexValueStore.cpp */; };
</span><span class="lines">@@ -2116,8 +2118,6 @@
</span><span class="cx">                 5185FCBB1BB4CBF80012898F /* IDBServer.h in Headers */ = {isa = PBXBuildFile; fileRef = 510A58F01BAB720F00C19282 /* IDBServer.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 518864E01BBAF57100E540C9 /* UniqueIDBDatabase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 518864DE1BBAF30F00E540C9 /* UniqueIDBDatabase.cpp */; };
</span><span class="cx">                 518864E11BBAF57400E540C9 /* UniqueIDBDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = 518864DF1BBAF30F00E540C9 /* UniqueIDBDatabase.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                518864E61BBB4B8300E540C9 /* IDBServerOperation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 518864E41BBB4B7E00E540C9 /* IDBServerOperation.cpp */; };
-                518864E71BBB4B8300E540C9 /* IDBServerOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 518864E51BBB4B7E00E540C9 /* IDBServerOperation.h */; settings = {ATTRIBUTES = (Private, ); }; };
</del><span class="cx">                 5189F01D10B37BD900F3C739 /* JSPopStateEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5189F01B10B37BD900F3C739 /* JSPopStateEvent.cpp */; };
</span><span class="cx">                 5189F01E10B37BD900F3C739 /* JSPopStateEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 5189F01C10B37BD900F3C739 /* JSPopStateEvent.h */; };
</span><span class="cx">                 5189F0DE10B46B0E00F3C739 /* PopStateEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5189F0DD10B46B0E00F3C739 /* PopStateEvent.cpp */; };
</span><span class="lines">@@ -9485,6 +9485,8 @@
</span><span class="cx">                 516C62241950E2B900337E75 /* JSGamepadEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSGamepadEvent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 516D7D6D1BB5F06500AF7C77 /* IDBConnectionToClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IDBConnectionToClient.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 516D7D6E1BB5F06500AF7C77 /* IDBConnectionToClientDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDBConnectionToClientDelegate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                516F7F6B1C31C79D00F111DC /* ServerOpenDBRequest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ServerOpenDBRequest.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                516F7F6C1C31C79D00F111DC /* ServerOpenDBRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ServerOpenDBRequest.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 517138ED1BED1D17000D5F01 /* IndexKey.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IndexKey.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 517138EE1BED1D17000D5F01 /* IndexKey.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IndexKey.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 517138F51BF12262000D5F01 /* IndexValueStore.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IndexValueStore.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -9518,8 +9520,6 @@
</span><span class="cx">                 5185FCBD1BB5CB770012898F /* IDBConnectionToServerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDBConnectionToServerDelegate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 518864DE1BBAF30F00E540C9 /* UniqueIDBDatabase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UniqueIDBDatabase.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 518864DF1BBAF30F00E540C9 /* UniqueIDBDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniqueIDBDatabase.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                518864E41BBB4B7E00E540C9 /* IDBServerOperation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IDBServerOperation.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                518864E51BBB4B7E00E540C9 /* IDBServerOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDBServerOperation.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 5189F01B10B37BD900F3C739 /* JSPopStateEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSPopStateEvent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5189F01C10B37BD900F3C739 /* JSPopStateEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSPopStateEvent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5189F0DD10B46B0E00F3C739 /* PopStateEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PopStateEvent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -16912,8 +16912,6 @@
</span><span class="cx">                                 516D7D6E1BB5F06500AF7C77 /* IDBConnectionToClientDelegate.h */,
</span><span class="cx">                                 510A58EF1BAB720F00C19282 /* IDBServer.cpp */,
</span><span class="cx">                                 510A58F01BAB720F00C19282 /* IDBServer.h */,
</span><del>-                                518864E41BBB4B7E00E540C9 /* IDBServerOperation.cpp */,
-                                518864E51BBB4B7E00E540C9 /* IDBServerOperation.h */,
</del><span class="cx">                                 51EEAA711BEFFA7900218008 /* IndexValueEntry.cpp */,
</span><span class="cx">                                 51EEAA721BEFFA7900218008 /* IndexValueEntry.h */,
</span><span class="cx">                                 517138F51BF12262000D5F01 /* IndexValueStore.cpp */,
</span><span class="lines">@@ -16932,6 +16930,8 @@
</span><span class="cx">                                 51771DFD1BDB475600CAE8E4 /* MemoryObjectStore.h */,
</span><span class="cx">                                 517139031BF64DE3000D5F01 /* MemoryObjectStoreCursor.cpp */,
</span><span class="cx">                                 517139041BF64DE3000D5F01 /* MemoryObjectStoreCursor.h */,
</span><ins>+                                516F7F6B1C31C79D00F111DC /* ServerOpenDBRequest.cpp */,
+                                516F7F6C1C31C79D00F111DC /* ServerOpenDBRequest.h */,
</ins><span class="cx">                                 518864DE1BBAF30F00E540C9 /* UniqueIDBDatabase.cpp */,
</span><span class="cx">                                 518864DF1BBAF30F00E540C9 /* UniqueIDBDatabase.h */,
</span><span class="cx">                                 5198F7A21BBDAA2900E2CC5F /* UniqueIDBDatabaseConnection.cpp */,
</span><span class="lines">@@ -25233,6 +25233,7 @@
</span><span class="cx">                                 85E711AE0AC5D5350053270F /* DOMHTMLHeadingElementInternal.h in Headers */,
</span><span class="cx">                                 85ECBEF10AA7626900544F0B /* DOMHTMLHRElement.h in Headers */,
</span><span class="cx">                                 85E711AF0AC5D5350053270F /* DOMHTMLHRElementInternal.h in Headers */,
</span><ins>+                                516F7F6D1C31E39A00F111DC /* ServerOpenDBRequest.h in Headers */,
</ins><span class="cx">                                 85992EBC0AA5069500AC0785 /* DOMHTMLHtmlElement.h in Headers */,
</span><span class="cx">                                 85E711B00AC5D5350053270F /* DOMHTMLHtmlElementInternal.h in Headers */,
</span><span class="cx">                                 85DF81990AA77E4B00486AD7 /* DOMHTMLIFrameElement.h in Headers */,
</span><span class="lines">@@ -25860,7 +25861,6 @@
</span><span class="cx">                                 5185FCBB1BB4CBF80012898F /* IDBServer.h in Headers */,
</span><span class="cx">                                 5185FCAB1BB4C4E80012898F /* IDBServerConnection.h in Headers */,
</span><span class="cx">                                 517139081BF64DEF000D5F01 /* MemoryCursor.h in Headers */,
</span><del>-                                518864E71BBB4B8300E540C9 /* IDBServerOperation.h in Headers */,
</del><span class="cx">                                 5185FCAD1BB4C4E80012898F /* IDBTransaction.h in Headers */,
</span><span class="cx">                                 51F41A741BA73B5B002E053B /* IDBTransactionBackend.h in Headers */,
</span><span class="cx">                                 51F41A761BA73B5B002E053B /* IDBTransactionBackendOperations.h in Headers */,
</span><span class="lines">@@ -29474,7 +29474,6 @@
</span><span class="cx">                                 5145B1091BC48E2E00E86219 /* IDBResourceIdentifier.cpp in Sources */,
</span><span class="cx">                                 51D7236C1BB6174900478CA3 /* IDBResultData.cpp in Sources */,
</span><span class="cx">                                 5185FCBA1BB4CBF80012898F /* IDBServer.cpp in Sources */,
</span><del>-                                518864E61BBB4B8300E540C9 /* IDBServerOperation.cpp in Sources */,
</del><span class="cx">                                 5185FCAC1BB4C4E80012898F /* IDBTransaction.cpp in Sources */,
</span><span class="cx">                                 51F41A731BA73B5B002E053B /* IDBTransactionBackend.cpp in Sources */,
</span><span class="cx">                                 51F41A751BA73B5B002E053B /* IDBTransactionBackendOperations.cpp in Sources */,
</span><span class="lines">@@ -30406,6 +30405,7 @@
</span><span class="cx">                                 CD3A495E17A9D01B00274E42 /* MediaSource.cpp in Sources */,
</span><span class="cx">                                 CDC8B5A6180474F70016E685 /* MediaSourcePrivateAVFObjC.mm in Sources */,
</span><span class="cx">                                 CD61FE671794AADB004101EB /* MediaSourceRegistry.cpp in Sources */,
</span><ins>+                                516F7F6E1C31E39C00F111DC /* ServerOpenDBRequest.cpp in Sources */,
</ins><span class="cx">                                 07C59B6817F784BA000FBCBB /* MediaSourceSettings.cpp in Sources */,
</span><span class="cx">                                 078E08FF17D14CEE00420AA1 /* MediaStream.cpp in Sources */,
</span><span class="cx">                                 078E094B17D1709600420AA1 /* MediaStreamAudioDestinationNode.cpp in Sources */,
</span></span></pre>
</div>
</div>

</body>
</html>