<!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>[162148] trunk/Source</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/162148">162148</a></dd>
<dt>Author</dt> <dd>beidson@apple.com</dd>
<dt>Date</dt> <dd>2014-01-16 13:45:34 -0800 (Thu, 16 Jan 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Use KeyedCoding as a persistent storage mechanism for blobs
https://bugs.webkit.org/show_bug.cgi?id=127012

Reviewed by Anders Carlsson.

Source/WebCore:

Add basic KeyedDecoder interface that is the inverse of KeyedEncoder:
* platform/KeyedCoding.h:
(WebCore::KeyedDecoder::decodeVerifiedEnum):
(WebCore::KeyedDecoder::decodeObject):
(WebCore::KeyedDecoder::decodeObjects):

Use KeyedEncoder/Decoder to encode/decode IDBKeyPath:
* Modules/indexeddb/IDBKeyPath.cpp:
(WebCore::IDBKeyPath::encode):
(WebCore::IDBKeyPath::decode):
* Modules/indexeddb/IDBKeyPath.h:

* WebCore.exp.in:

Source/WebKit2:

Add a way to get the encoded buffer to save:
* Shared/cf/KeyedEncoder.cpp:
(WebKit::KeyedEncoder::finishEncoding):
* Shared/cf/KeyedEncoder.h:

Add a WebKit KeyedDecoder for CF platforms that can decode the previously encoded buffer:
* Shared/cf/KeyedDecoder.cpp: Added.
(WebKit::KeyedDecoder::KeyedDecoder):
(WebKit::KeyedDecoder::~KeyedDecoder):
(WebKit::KeyedDecoder::decodeInt64):
(WebKit::KeyedDecoder::decodeUInt32):
(WebKit::KeyedDecoder::decodeString):
(WebKit::KeyedDecoder::beginObject):
(WebKit::KeyedDecoder::endObject):
(WebKit::KeyedDecoder::beginArray):
(WebKit::KeyedDecoder::beginArrayElement):
(WebKit::KeyedDecoder::endArrayElement):
(WebKit::KeyedDecoder::endArray):
* Shared/cf/KeyedDecoder.h:

Create a WebKit KeyedEncoder/Decoder and use to encode/decode IDBKeyPaths:
* DatabaseProcess/IndexedDB/IDBSerialization.cpp:
(WebKit::serializeIDBKeyPath):
(WebKit::deserializeIDBKeyPath):
* DatabaseProcess/IndexedDB/IDBSerialization.h:

* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::createObjectStore):

* WebKit2.xcodeproj/project.pbxproj:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBKeyPathcpp">trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBKeyPathh">trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.h</a></li>
<li><a href="#trunkSourceWebCoreWebCoreexpin">trunk/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#trunkSourceWebCoreplatformKeyedCodingh">trunk/Source/WebCore/platform/KeyedCoding.h</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBIDBSerializationcpp">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.cpp</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBIDBSerializationh">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.h</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLitecpp">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedcfKeyedEncodercpp">trunk/Source/WebKit2/Shared/cf/KeyedEncoder.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedcfKeyedEncoderh">trunk/Source/WebKit2/Shared/cf/KeyedEncoder.h</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2SharedcfKeyedDecodercpp">trunk/Source/WebKit2/Shared/cf/KeyedDecoder.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedcfKeyedDecoderh">trunk/Source/WebKit2/Shared/cf/KeyedDecoder.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebCore/ChangeLog        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -1,3 +1,24 @@
</span><ins>+2014-01-16  Brady Eidson  &lt;beidson@apple.com&gt;
+
+        Use KeyedCoding as a persistent storage mechanism for blobs
+        https://bugs.webkit.org/show_bug.cgi?id=127012
+
+        Reviewed by Anders Carlsson.
+
+        Add basic KeyedDecoder interface that is the inverse of KeyedEncoder:
+        * platform/KeyedCoding.h:
+        (WebCore::KeyedDecoder::decodeVerifiedEnum):
+        (WebCore::KeyedDecoder::decodeObject):
+        (WebCore::KeyedDecoder::decodeObjects):
+
+        Use KeyedEncoder/Decoder to encode/decode IDBKeyPath:
+        * Modules/indexeddb/IDBKeyPath.cpp:
+        (WebCore::IDBKeyPath::encode):
+        (WebCore::IDBKeyPath::decode):
+        * Modules/indexeddb/IDBKeyPath.h:
+
+        * WebCore.exp.in:
+
</ins><span class="cx"> 2014-01-16  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Allow MediaSessionManager to restrict inline &lt;video&gt; playback
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBKeyPathcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.cpp (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.cpp        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.cpp        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -28,6 +28,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(INDEXED_DATABASE)
</span><span class="cx"> 
</span><ins>+#include &quot;KeyedCoding.h&quot;
</ins><span class="cx"> #include &lt;wtf/ASCIICType.h&gt;
</span><span class="cx"> #include &lt;wtf/dtoa.h&gt;
</span><span class="cx"> #include &lt;wtf/unicode/Unicode.h&gt;
</span><span class="lines">@@ -261,6 +262,49 @@
</span><span class="cx">     return result;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void IDBKeyPath::encode(KeyedEncoder&amp; encoder) const
+{
+    encoder.encodeEnum(&quot;type&quot;, m_type);
+    switch (m_type) {
+    case IDBKeyPath::NullType:
+        break;
+    case IDBKeyPath::StringType:
+        encoder.encodeString(&quot;string&quot;, m_string);
+        break;
+    case IDBKeyPath::ArrayType:
+        encoder.encodeObjects(&quot;array&quot;, m_array.begin(), m_array.end(), [](WebCore::KeyedEncoder&amp; encoder, const String&amp; string) {
+            encoder.encodeString(&quot;string&quot;, string);
+        });
+        break;
+    default:
+        ASSERT_NOT_REACHED();
+    };
+}
+
+bool IDBKeyPath::decode(KeyedDecoder&amp; decoder, IDBKeyPath&amp; result)
+{
+    auto enumFunction = [](int64_t value) {
+        return value == NullType || value == StringType || value == ArrayType;
+    };
+
+    if (!decoder.decodeVerifiedEnum(&quot;type&quot;, result.m_type, enumFunction))
+        return false;
+
+    if (result.m_type == NullType)
+        return true;
+
+    if (result.m_type == StringType)
+        return decoder.decodeString(&quot;string&quot;, result.m_string);
+
+    ASSERT(result.m_type == ArrayType);
+
+    auto arrayFunction = [](KeyedDecoder&amp; decoder, String&amp; result) {
+        return decoder.decodeString(&quot;string&quot;, result);
+    };
+
+    return decoder.decodeObjects(&quot;array&quot;, result.m_array, arrayFunction);
+}
+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(INDEXED_DATABASE)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBKeyPathh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.h (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.h        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKeyPath.h        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -33,6 +33,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+class KeyedDecoder;
+class KeyedEncoder;
+
</ins><span class="cx"> enum IDBKeyPathParseError {
</span><span class="cx">     IDBKeyPathParseErrorNone,
</span><span class="cx">     IDBKeyPathParseErrorStart,
</span><span class="lines">@@ -74,6 +77,9 @@
</span><span class="cx"> 
</span><span class="cx">     IDBKeyPath isolatedCopy() const;
</span><span class="cx"> 
</span><ins>+    void encode(KeyedEncoder&amp;) const;
+    static bool decode(KeyedDecoder&amp;, IDBKeyPath&amp;);
+
</ins><span class="cx"> private:
</span><span class="cx">     Type m_type;
</span><span class="cx">     String m_string;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.exp.in (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.exp.in        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebCore/WebCore.exp.in        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -3074,8 +3074,10 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(INDEXED_DATABASE)
</span><ins>+__ZNK7WebCore10IDBKeyPath6encodeERNS_12KeyedEncoderE
</ins><span class="cx"> __ZN7WebCore10IDBKeyPathC1ERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore10IDBKeyPathC1ERKN3WTF6VectorINS1_6StringELm0ENS1_15CrashOnOverflowEEE
</span><ins>+__ZN7WebCore10IDBKeyPath6decodeERNS_12KeyedDecoderERS0_
</ins><span class="cx"> __ZN7WebCore18IDBDatabaseBackend14openConnectionEN3WTF10PassRefPtrINS_12IDBCallbacksEEENS2_INS_20IDBDatabaseCallbacksEEExy
</span><span class="cx"> __ZN7WebCore18IDBDatabaseBackend6createERKN3WTF6StringES4_PNS_26IDBFactoryBackendInterfaceERNS_19IDBServerConnectionE
</span><span class="cx"> __ZN7WebCore18IDBDatabaseBackendD1Ev
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformKeyedCodingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/KeyedCoding.h (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/KeyedCoding.h        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebCore/platform/KeyedCoding.h        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -26,16 +26,78 @@
</span><span class="cx"> #ifndef KeyedCoding_h
</span><span class="cx"> #define KeyedCoding_h
</span><span class="cx"> 
</span><ins>+#include &lt;functional&gt;
</ins><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><ins>+#include &lt;wtf/Vector.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+class SharedBuffer;
+
</ins><span class="cx"> class KeyedDecoder {
</span><span class="cx"> protected:
</span><span class="cx">     virtual ~KeyedDecoder() { }
</span><span class="cx"> 
</span><span class="cx"> public:
</span><ins>+    virtual bool decodeInt64(const String&amp; key, int64_t&amp;) = 0;
</ins><span class="cx">     virtual bool decodeUInt32(const String&amp; key, uint32_t&amp;) = 0;
</span><ins>+    virtual bool decodeString(const String&amp; key, String&amp;) = 0;
+
+    template&lt;typename T, typename F&gt;
+    bool decodeVerifiedEnum(const String&amp; key, T&amp; value, F&amp;&amp; function)
+    {
+        static_assert(std::is_enum&lt;T&gt;::value, &quot;T must be an enum type&quot;);
+
+        int64_t intValue;
+        if (!decodeInt64(key, intValue))
+            return false;
+
+        if (!function(intValue))
+            return false;
+
+        value = static_cast&lt;T&gt;(intValue);
+        return true;
+    }
+
+    template&lt;typename T, typename F&gt;
+    bool decodeObject(const String&amp; key, T&amp; object, F&amp;&amp; function)
+    {
+        if (!beginObject(key))
+            return false;
+        bool result = function(*this, object);
+        endObject();
+        return result;
+    }
+
+    template&lt;typename T, typename F&gt;
+    bool decodeObjects(const String&amp; key, Vector&lt;T&gt;&amp; objects, F&amp;&amp; function)
+    {
+        if (!beginArray(key))
+            return false;
+
+        bool result = true;
+        while (beginArrayElement()) {
+            T element;
+            if (!function(*this, element)) {
+                result = false;
+                break;
+            }
+            objects.append(std::move(element));
+            endArrayElement();
+        }
+
+        endArray();
+        return result;
+    }
+
+private:
+    virtual bool beginObject(const String&amp; key) = 0;
+    virtual void endObject() = 0;
+
+    virtual bool beginArray(const String&amp; key) = 0;
+    virtual bool beginArrayElement() = 0;
+    virtual void endArrayElement() = 0;
+    virtual void endArray() = 0;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> class KeyedEncoder {
</span><span class="lines">@@ -52,6 +114,8 @@
</span><span class="cx">     virtual void encodeDouble(const String&amp; key, double) = 0;
</span><span class="cx">     virtual void encodeString(const String&amp; key, const String&amp;) = 0;
</span><span class="cx"> 
</span><ins>+    virtual PassRefPtr&lt;SharedBuffer&gt; finishEncoding() = 0;
+
</ins><span class="cx">     template&lt;typename T&gt;
</span><span class="cx">     void encodeEnum(const String&amp; key, T value)
</span><span class="cx">     {
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebKit2/ChangeLog        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -1,3 +1,41 @@
</span><ins>+2014-01-15  Brady Eidson  &lt;beidson@apple.com&gt;
+
+        Use KeyedCoding as a persistent storage mechanism for blobs
+        https://bugs.webkit.org/show_bug.cgi?id=127012
+
+        Reviewed by Anders Carlsson.
+
+        Add a way to get the encoded buffer to save:
+        * Shared/cf/KeyedEncoder.cpp:
+        (WebKit::KeyedEncoder::finishEncoding):
+        * Shared/cf/KeyedEncoder.h:
+
+        Add a WebKit KeyedDecoder for CF platforms that can decode the previously encoded buffer:
+        * Shared/cf/KeyedDecoder.cpp: Added.
+        (WebKit::KeyedDecoder::KeyedDecoder):
+        (WebKit::KeyedDecoder::~KeyedDecoder):
+        (WebKit::KeyedDecoder::decodeInt64):
+        (WebKit::KeyedDecoder::decodeUInt32):
+        (WebKit::KeyedDecoder::decodeString):
+        (WebKit::KeyedDecoder::beginObject):
+        (WebKit::KeyedDecoder::endObject):
+        (WebKit::KeyedDecoder::beginArray):
+        (WebKit::KeyedDecoder::beginArrayElement):
+        (WebKit::KeyedDecoder::endArrayElement):
+        (WebKit::KeyedDecoder::endArray):
+        * Shared/cf/KeyedDecoder.h:
+
+        Create a WebKit KeyedEncoder/Decoder and use to encode/decode IDBKeyPaths:
+        * DatabaseProcess/IndexedDB/IDBSerialization.cpp:
+        (WebKit::serializeIDBKeyPath):
+        (WebKit::deserializeIDBKeyPath):
+        * DatabaseProcess/IndexedDB/IDBSerialization.h:
+
+        * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
+        (WebKit::UniqueIDBDatabaseBackingStoreSQLite::createObjectStore):
+
+        * WebKit2.xcodeproj/project.pbxproj:
+
</ins><span class="cx"> 2014-01-16  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Stop copying WKOriginDataManager.cpp into WebKit2.framework
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBIDBSerializationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.cpp (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.cpp        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.cpp        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -28,24 +28,29 @@
</span><span class="cx"> #if ENABLE(INDEXED_DATABASE)
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ArgumentEncoder.h&quot;
</span><ins>+#include &quot;KeyedDecoder.h&quot;
+#include &quot;KeyedEncoder.h&quot;
</ins><span class="cx"> #include &lt;WebCore/IDBKeyPath.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-std::unique_ptr&lt;Vector&lt;uint8_t&gt;&gt; serializeIDBKeyPath(const WebCore::IDBKeyPath&amp;)
</del><ins>+RefPtr&lt;SharedBuffer&gt; serializeIDBKeyPath(const WebCore::IDBKeyPath&amp; keyPath)
</ins><span class="cx"> {
</span><del>-    // FIXME: Once we have a serialization solution appropriate for persistent storage to disk, use that here.
-
-    return nullptr;
</del><ins>+    KeyedEncoder encoder;
+    keyPath.encode(encoder);
+    return encoder.finishEncoding();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-std::unique_ptr&lt;WebCore::IDBKeyPath&gt; deserializeIDBKeyPath(const uint8_t*, size_t)
</del><ins>+std::unique_ptr&lt;WebCore::IDBKeyPath&gt; deserializeIDBKeyPath(const uint8_t* data, size_t size)
</ins><span class="cx"> {
</span><del>-    // FIXME: Once we have a serialization solution appropriate for persistent storage to disk, use that here.
</del><ins>+    KeyedDecoder decoder(data, size);
+    std::unique_ptr&lt;IDBKeyPath&gt; result = std::make_unique&lt;IDBKeyPath&gt;();
+    if (!IDBKeyPath::decode(decoder, *result))
+        return nullptr;
</ins><span class="cx"> 
</span><del>-    return nullptr;
</del><ins>+    return result;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBIDBSerializationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.h (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.h        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.h        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -28,6 +28,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(INDEXED_DATABASE)
</span><span class="cx"> 
</span><ins>+#include &lt;WebCore/SharedBuffer.h&gt;
</ins><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -36,7 +37,7 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-std::unique_ptr&lt;Vector&lt;uint8_t&gt;&gt; serializeIDBKeyPath(const WebCore::IDBKeyPath&amp;);
</del><ins>+RefPtr&lt;WebCore::SharedBuffer&gt; serializeIDBKeyPath(const WebCore::IDBKeyPath&amp;);
</ins><span class="cx"> std::unique_ptr&lt;WebCore::IDBKeyPath&gt; deserializeIDBKeyPath(const uint8_t* buffer, size_t bufferSize);
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLitecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -362,7 +362,7 @@
</span><span class="cx">         return false;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    std::unique_ptr&lt;Vector&lt;uint8_t&gt;&gt; keyPathBlob = serializeIDBKeyPath(metadata.keyPath);
</del><ins>+    RefPtr&lt;SharedBuffer&gt; keyPathBlob = serializeIDBKeyPath(metadata.keyPath);
</ins><span class="cx">     if (!keyPathBlob) {
</span><span class="cx">         LOG_ERROR(&quot;Unable to serialize IDBKeyPath to save in database&quot;);
</span><span class="cx">         return false;
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedcfKeyedDecodercpp"></a>
<div class="addfile"><h4>Added: trunk/Source/WebKit2/Shared/cf/KeyedDecoder.cpp (0 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/cf/KeyedDecoder.cpp                                (rev 0)
+++ trunk/Source/WebKit2/Shared/cf/KeyedDecoder.cpp        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -0,0 +1,151 @@
</span><ins>+/*
+ * Copyright (C) 2014 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;KeyedDecoder.h&quot;
+
+#include &lt;wtf/text/WTFString.h&gt;
+
+namespace WebKit {
+
+KeyedDecoder::KeyedDecoder(const uint8_t* data, size_t size)
+{
+    auto cfData = adoptCF(CFDataCreate(kCFAllocatorDefault, data, size));
+    m_rootDictionary = adoptCF(static_cast&lt;CFDictionaryRef&gt;(CFPropertyListCreateWithData(kCFAllocatorDefault, cfData.get(), kCFPropertyListImmutable, 0, 0)));
+
+    if (m_rootDictionary &amp;&amp; CFGetTypeID(m_rootDictionary.get()) != CFDictionaryGetTypeID())
+        m_rootDictionary = nullptr;
+
+    if (m_rootDictionary)
+        m_dictionaryStack.append(m_rootDictionary.get());
+}
+
+KeyedDecoder::~KeyedDecoder()
+{
+    ASSERT(m_dictionaryStack.size() == 1);
+    ASSERT(m_dictionaryStack.last() == m_rootDictionary);
+    ASSERT(m_arrayStack.isEmpty());
+    ASSERT(m_arrayIndexStack.isEmpty());
+}
+
+bool KeyedDecoder::decodeInt64(const String&amp; key, int64_t&amp; result)
+{
+    if (!m_dictionaryStack.last())
+        return false;
+
+    CFNumberRef number = static_cast&lt;CFNumberRef&gt;(CFDictionaryGetValue(m_dictionaryStack.last(), key.createCFString().get()));
+    if (!number || CFGetTypeID(number) != CFNumberGetTypeID() || CFNumberGetType(number) != kCFNumberSInt64Type)
+        return false;
+
+    return CFNumberGetValue(number, kCFNumberSInt64Type, &amp;result);
+}
+
+bool KeyedDecoder::decodeUInt32(const String&amp; key, uint32_t&amp; result)
+{
+    if (!m_dictionaryStack.last())
+        return false;
+
+    CFNumberRef number = static_cast&lt;CFNumberRef&gt;(CFDictionaryGetValue(m_dictionaryStack.last(), key.createCFString().get()));
+    if (!number || CFGetTypeID(number) != CFNumberGetTypeID() || CFNumberGetType(number) != kCFNumberSInt32Type)
+        return false;
+
+    return CFNumberGetValue(number, kCFNumberSInt32Type, &amp;result);
+}
+
+bool KeyedDecoder::decodeString(const String&amp; key, String&amp; result)
+{
+    if (!m_dictionaryStack.last())
+        return false;
+
+    CFStringRef string = static_cast&lt;CFStringRef&gt;(CFDictionaryGetValue(m_dictionaryStack.last(), key.createCFString().get()));
+    if (!string || CFGetTypeID(string) != CFStringGetTypeID())
+        return false;
+
+    result = string;
+    return true;
+}
+
+bool KeyedDecoder::beginObject(const String&amp; key)
+{
+    if (!m_dictionaryStack.last())
+        return false;
+
+    CFDictionaryRef dictionary = static_cast&lt;CFDictionaryRef&gt;(CFDictionaryGetValue(m_dictionaryStack.last(), key.createCFString().get()));
+    if (!dictionary || CFGetTypeID(dictionary) != CFDictionaryGetTypeID())
+        return false;
+
+    m_dictionaryStack.append(dictionary);
+    return true;
+}
+
+void KeyedDecoder::endObject()
+{
+    m_dictionaryStack.removeLast();
+}
+
+bool KeyedDecoder::beginArray(const String&amp; key)
+{
+    if (!m_dictionaryStack.last())
+        return false;
+
+    CFArrayRef array = static_cast&lt;CFArrayRef&gt;(CFDictionaryGetValue(m_dictionaryStack.last(), key.createCFString().get()));
+    if (!array || CFGetTypeID(array) != CFArrayGetTypeID())
+        return false;
+
+    for (CFIndex i = 0; i &lt; CFArrayGetCount(array); ++i) {
+        CFTypeRef object = CFArrayGetValueAtIndex(array, i);
+        if (CFGetTypeID(object) != CFDictionaryGetTypeID())
+            return false;
+    }
+
+    m_arrayStack.append(array);
+    m_arrayIndexStack.append(0);
+    return true;
+}
+
+bool KeyedDecoder::beginArrayElement()
+{
+    ASSERT(m_dictionaryStack.last());
+
+    if (m_arrayIndexStack.last() &gt;= CFArrayGetCount(m_arrayStack.last()))
+        return false;
+
+    CFDictionaryRef dictionary = static_cast&lt;CFDictionaryRef&gt;(CFArrayGetValueAtIndex(m_arrayStack.last(), m_arrayIndexStack.last()++));
+    m_dictionaryStack.append(dictionary);
+    return true;
+}
+
+void KeyedDecoder::endArrayElement()
+{
+    m_dictionaryStack.removeLast();
+}
+
+void KeyedDecoder::endArray()
+{
+    m_arrayStack.removeLast();
+    m_arrayIndexStack.removeLast();
+}
+
+} // namespace WebKit
</ins></span></pre></div>
<a id="trunkSourceWebKit2SharedcfKeyedDecoderhfromrev162147trunkSourceWebKit2DatabaseProcessIndexedDBIDBSerializationh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/Shared/cf/KeyedDecoder.h (from rev 162147, trunk/Source/WebKit2/DatabaseProcess/IndexedDB/IDBSerialization.h) (0 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/cf/KeyedDecoder.h                                (rev 0)
+++ trunk/Source/WebKit2/Shared/cf/KeyedDecoder.h        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+/*
+ * Copyright (C) 2014 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 KeyedDecoder_h
+#define KeyedDecoder_h
+
+#include &lt;WebCore/KeyedCoding.h&gt;
+#include &lt;wtf/RetainPtr.h&gt;
+#include &lt;wtf/Vector.h&gt;
+
+namespace WebKit {
+
+class KeyedDecoder FINAL : public WebCore::KeyedDecoder {
+public:
+    KeyedDecoder(const uint8_t* data, size_t);
+    virtual ~KeyedDecoder();
+
+private:
+    virtual bool decodeInt64(const String&amp; key, int64_t&amp;);
+    virtual bool decodeUInt32(const String&amp; key, uint32_t&amp;);
+    virtual bool decodeString(const String&amp; key, String&amp;);
+
+    virtual bool beginObject(const String&amp; key);
+    virtual void endObject();
+
+    virtual bool beginArray(const String&amp; key);
+    virtual bool beginArrayElement();
+    virtual void endArrayElement();
+    virtual void endArray();
+
+    RetainPtr&lt;CFDictionaryRef&gt; m_rootDictionary;
+
+    Vector&lt;CFDictionaryRef, 16&gt; m_dictionaryStack;
+    Vector&lt;CFArrayRef, 16&gt; m_arrayStack;
+    Vector&lt;CFIndex&gt; m_arrayIndexStack;
+};
+
+} // namespace WebKit
+
+#endif // KeyedDecoder_h
</ins></span></pre></div>
<a id="trunkSourceWebKit2SharedcfKeyedEncodercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/cf/KeyedEncoder.cpp (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/cf/KeyedEncoder.cpp        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebKit2/Shared/cf/KeyedEncoder.cpp        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -27,8 +27,11 @@
</span><span class="cx"> #include &quot;KeyedEncoder.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &lt;CoreFoundation/CoreFoundation.h&gt;
</span><ins>+#include &lt;WebCore/SharedBuffer.h&gt;
</ins><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><ins>+using namespace WebCore;
+
</ins><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><span class="cx"> static RetainPtr&lt;CFMutableDictionaryRef&gt; createDictionary()
</span><span class="lines">@@ -134,4 +137,14 @@
</span><span class="cx">     m_arrayStack.removeLast();
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+PassRefPtr&lt;SharedBuffer&gt; KeyedEncoder::finishEncoding()
+{
+    CFErrorRef error = nullptr;
+    RetainPtr&lt;CFDataRef&gt; data = adoptCF(CFPropertyListCreateData(kCFAllocatorDefault, m_rootDictionary.get(), kCFPropertyListBinaryFormat_v1_0, 0, &amp;error));
+    if (error)
+        return nullptr;
+
+    return SharedBuffer::wrapCFData(data.get());
+}
+
</ins><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedcfKeyedEncoderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/cf/KeyedEncoder.h (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/cf/KeyedEncoder.h        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebKit2/Shared/cf/KeyedEncoder.h        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -37,6 +37,8 @@
</span><span class="cx">     KeyedEncoder();
</span><span class="cx">     ~KeyedEncoder();
</span><span class="cx"> 
</span><ins>+    virtual PassRefPtr&lt;WebCore::SharedBuffer&gt; finishEncoding() OVERRIDE;
+
</ins><span class="cx"> private:
</span><span class="cx">     virtual void encodeBytes(const String&amp; key, const uint8_t*, size_t) override;
</span><span class="cx">     virtual void encodeBool(const String&amp; key, bool) override;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (162147 => 162148)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2014-01-16 21:30:55 UTC (rev 162147)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2014-01-16 21:45:34 UTC (rev 162148)
</span><span class="lines">@@ -685,6 +685,8 @@
</span><span class="cx">                 51834593134532E90092B696 /* WebIconDatabaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 51834591134532E80092B696 /* WebIconDatabaseClient.h */; };
</span><span class="cx">                 518353DA1885BF8C00D9FE44 /* IDBSerialization.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 518353D81885BF8C00D9FE44 /* IDBSerialization.cpp */; };
</span><span class="cx">                 518353DB1885BF8C00D9FE44 /* IDBSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 518353D91885BF8C00D9FE44 /* IDBSerialization.h */; };
</span><ins>+                518353DE1887128B00D9FE44 /* KeyedDecoder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 518353DC1887128B00D9FE44 /* KeyedDecoder.cpp */; };
+                518353DF1887128B00D9FE44 /* KeyedDecoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 518353DD1887128B00D9FE44 /* KeyedDecoder.h */; };
</ins><span class="cx">                 5183DDEC1630BDFC008BE5C7 /* NetworkProcessConnection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5105B0D4162F7A7A00E27709 /* NetworkProcessConnection.cpp */; };
</span><span class="cx">                 51871B5B127CB89D00F76232 /* WebContextMenu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51871B59127CB89D00F76232 /* WebContextMenu.cpp */; };
</span><span class="cx">                 51871B5C127CB89D00F76232 /* WebContextMenu.h in Headers */ = {isa = PBXBuildFile; fileRef = 51871B5A127CB89D00F76232 /* WebContextMenu.h */; };
</span><span class="lines">@@ -2338,6 +2340,8 @@
</span><span class="cx">                 51834591134532E80092B696 /* WebIconDatabaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebIconDatabaseClient.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 518353D81885BF8C00D9FE44 /* IDBSerialization.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IDBSerialization.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 518353D91885BF8C00D9FE44 /* IDBSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDBSerialization.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                518353DC1887128B00D9FE44 /* KeyedDecoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = KeyedDecoder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                518353DD1887128B00D9FE44 /* KeyedDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KeyedDecoder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 5183B3931379F85C00E8754E /* Shim.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Shim.xcconfig; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5184BC4A132E907A006B9E28 /* WebIconDatabase.messages.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebIconDatabase.messages.in; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 51871B59127CB89D00F76232 /* WebContextMenu.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebContextMenu.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -3833,6 +3837,8 @@
</span><span class="cx">                         children = (
</span><span class="cx">                                 1AAF0C4912B16334008E49E2 /* ArgumentCodersCF.cpp */,
</span><span class="cx">                                 1AAF0C4812B16334008E49E2 /* ArgumentCodersCF.h */,
</span><ins>+                                518353DC1887128B00D9FE44 /* KeyedDecoder.cpp */,
+                                518353DD1887128B00D9FE44 /* KeyedDecoder.h */,
</ins><span class="cx">                                 1AE00D5A182DADE100087DD7 /* KeyedEncoder.cpp */,
</span><span class="cx">                                 1AE00D5B182DADE100087DD7 /* KeyedEncoder.h */,
</span><span class="cx">                         );
</span><span class="lines">@@ -6043,6 +6049,7 @@
</span><span class="cx">                                 2984F589164BA095004BC0C6 /* CustomProtocolManagerMessages.h in Headers */,
</span><span class="cx">                                 29AD3093164B4C5D0072DEA9 /* CustomProtocolManagerProxy.h in Headers */,
</span><span class="cx">                                 2984F57D164B915F004BC0C6 /* CustomProtocolManagerProxyMessages.h in Headers */,
</span><ins>+                                518353DF1887128B00D9FE44 /* KeyedDecoder.h in Headers */,
</ins><span class="cx">                                 93FC67BE12D3CCF200A60610 /* DecoderAdapter.h in Headers */,
</span><span class="cx">                                 BCE81D99131AE02100241910 /* DictionaryPopupInfo.h in Headers */,
</span><span class="cx">                                 C58CDF2E1887609F00871536 /* InteractionInformationAtPosition.h in Headers */,
</span><span class="lines">@@ -7871,6 +7878,7 @@
</span><span class="cx">                                 BCA0EF8012331E78007D3CFB /* WebUndoStep.cpp in Sources */,
</span><span class="cx">                                 2DA944AF1884E9BA00ED86DB /* WebPageProxyIOS.mm in Sources */,
</span><span class="cx">                                 BCE2315E122C30CA00D5C35A /* APIURLRequest.cpp in Sources */,
</span><ins>+                                518353DE1887128B00D9FE44 /* KeyedDecoder.cpp in Sources */,
</ins><span class="cx">                                 BC90A1D3122DD55E00CC8C50 /* APIURLResponse.cpp in Sources */,
</span><span class="cx">                                 C0337DD1127A2980008FF4F4 /* WebWheelEvent.cpp in Sources */,
</span><span class="cx">                                 51FCB18517BBFE0300394CD8 /* AsynchronousNetworkLoaderClient.cpp in Sources */,
</span></span></pre>
</div>
</div>

</body>
</html>