<!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>[176913] 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/176913">176913</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2014-12-06 13:27:34 -0800 (Sat, 06 Dec 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add a stubbed out version of WebStorageNamespaceProvider
https://bugs.webkit.org/show_bug.cgi?id=139213

Reviewed by Sam Weinig.

Source/WebKit:

* Storage/WebStorageNamespaceProvider.cpp: Added.
* Storage/WebStorageNamespaceProvider.h: Added.

* WebKit.vcxproj/WebKit/WebKit.vcxproj:
* WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
* WebKit.xcodeproj/project.pbxproj:
Add new files.

Source/WebKit/mac:

* WebCoreSupport/WebViewGroup.h:
(WebViewGroup::storageNamespaceProvider):
* WebCoreSupport/WebViewGroup.mm:
(WebViewGroup::getOrCreate):
(WebViewGroup::WebViewGroup):
Give WebViewGroup a storage namespace provider.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreWebCoreexpin">trunk/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitWebKitvcxprojWebKitWebKitvcxproj">trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj</a></li>
<li><a href="#trunkSourceWebKitWebKitvcxprojWebKitWebKitvcxprojfilters">trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebKitWebKitxcodeprojprojectpbxproj">trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebViewGrouph">trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.h</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebViewGroupmm">trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.mm</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/Source/WebKit/Storage/</li>
<li><a href="#trunkSourceWebKitStorageWebStorageNamespaceProvidercpp">trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.cpp</a></li>
<li><a href="#trunkSourceWebKitStorageWebStorageNamespaceProviderh">trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.exp.in (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.exp.in        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebCore/WebCore.exp.in        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -1046,6 +1046,8 @@
</span><span class="cx"> __ZN7WebCore24FrameDestructionObserverC2EPNS_5FrameE
</span><span class="cx"> __ZN7WebCore24FrameDestructionObserverD2Ev
</span><span class="cx"> __ZN7WebCore24ImmutableStylePropertiesD1Ev
</span><ins>+__ZN7WebCore24StorageNamespaceProviderC2Ev
+__ZN7WebCore24StorageNamespaceProviderD2Ev
</ins><span class="cx"> __ZN7WebCore24createFragmentFromMarkupERNS_8DocumentERKN3WTF6StringES5_NS_19ParserContentPolicyE
</span><span class="cx"> __ZN7WebCore24decodeURLEscapeSequencesERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore24deleteCookiesForHostnameERKNS_21NetworkStorageSessionERKN3WTF6StringE
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -700,7 +700,7 @@
</span><span class="cx">                 1A3586E015264C450022A659 /* RenderMultiColumnFlowThread.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A3586DE15264C450022A659 /* RenderMultiColumnFlowThread.h */; };
</span><span class="cx">                 1A3586E115264F950022A659 /* SVGAnimatedIntegerOptionalInteger.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 71E623CE151F72A60036E2F4 /* SVGAnimatedIntegerOptionalInteger.cpp */; };
</span><span class="cx">                 1A37636B1A2E68BB009A7EE2 /* StorageNamespaceProvider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A3763691A2E68BB009A7EE2 /* StorageNamespaceProvider.cpp */; };
</span><del>-                1A37636C1A2E68BB009A7EE2 /* StorageNamespaceProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A37636A1A2E68BB009A7EE2 /* StorageNamespaceProvider.h */; };
</del><ins>+                1A37636C1A2E68BB009A7EE2 /* StorageNamespaceProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A37636A1A2E68BB009A7EE2 /* StorageNamespaceProvider.h */; settings = {ATTRIBUTES = (Private, ); }; };
</ins><span class="cx">                 1A3FF9C315265359002288A1 /* RenderNamedFlowThread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC85F23E1519187300BC17BE /* RenderNamedFlowThread.cpp */; };
</span><span class="cx">                 1A494BFA0A122F4400FDAFC1 /* JSHTMLElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A494BF80A122F4400FDAFC1 /* JSHTMLElement.cpp */; };
</span><span class="cx">                 1A494BFB0A122F4400FDAFC1 /* JSHTMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A494BF90A122F4400FDAFC1 /* JSHTMLElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebKit/ChangeLog        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2014-12-06  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add a stubbed out version of WebStorageNamespaceProvider
+        https://bugs.webkit.org/show_bug.cgi?id=139213
+
+        Reviewed by Sam Weinig.
+
+        * Storage/WebStorageNamespaceProvider.cpp: Added.
+        * Storage/WebStorageNamespaceProvider.h: Added.
+
+        * WebKit.vcxproj/WebKit/WebKit.vcxproj:
+        * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
+        * WebKit.xcodeproj/project.pbxproj:
+        Add new files.
+
</ins><span class="cx"> 2014-12-05  Roger Fong  &lt;roger_fong@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Win] proj files copying over too many resources..
</span></span></pre></div>
<a id="trunkSourceWebKitStorageWebStorageNamespaceProvidercppfromrev176912trunkSourceWebKitmacWebCoreSupportWebViewGrouph"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.cpp (from rev 176912, trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.h) (0 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.cpp                                (rev 0)
+++ trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.cpp        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -0,0 +1,61 @@
</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;WebStorageNamespaceProvider.h&quot;
+
+#include &lt;WebCore/StorageNamespace.h&gt;
+
+using namespace WebCore;
+
+RefPtr&lt;WebStorageNamespaceProvider&gt; WebStorageNamespaceProvider::create()
+{
+    return adoptRef(new WebStorageNamespaceProvider);
+}
+
+WebStorageNamespaceProvider::WebStorageNamespaceProvider()
+{
+}
+
+WebStorageNamespaceProvider::~WebStorageNamespaceProvider()
+{
+}
+
+RefPtr&lt;StorageNamespace&gt; WebStorageNamespaceProvider::createSessionStorageNamespace(Page&amp;)
+{
+    // FIXME: Implement.
+    return nullptr;
+}
+
+RefPtr&lt;StorageNamespace&gt; WebStorageNamespaceProvider::createLocalStorageNamespace()
+{
+    // FIXME: Implement.
+    return nullptr;
+}
+
+RefPtr&lt;StorageNamespace&gt; WebStorageNamespaceProvider::createTransientLocalStorageNamespace(SecurityOrigin&amp;)
+{
+    // FIXME: Implement.
+    return nullptr;
+}
</ins></span></pre></div>
<a id="trunkSourceWebKitStorageWebStorageNamespaceProviderhfromrev176912trunkSourceWebKitmacWebCoreSupportWebViewGrouph"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.h (from rev 176912, trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.h) (0 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.h                                (rev 0)
+++ trunk/Source/WebKit/Storage/WebStorageNamespaceProvider.h        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -0,0 +1,44 @@
</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 WebStorageNamespaceProvider_h
+#define WebStorageNamespaceProvider_h
+
+#include &lt;WebCore/StorageNamespaceProvider.h&gt;
+
+class WebStorageNamespaceProvider final : public WebCore::StorageNamespaceProvider {
+public:
+    static RefPtr&lt;WebStorageNamespaceProvider&gt; create();
+    virtual ~WebStorageNamespaceProvider();
+
+private:
+    WebStorageNamespaceProvider();
+
+    virtual RefPtr&lt;WebCore::StorageNamespace&gt; createSessionStorageNamespace(WebCore::Page&amp;) override;
+    virtual RefPtr&lt;WebCore::StorageNamespace&gt; createLocalStorageNamespace() override;
+    virtual RefPtr&lt;WebCore::StorageNamespace&gt; createTransientLocalStorageNamespace(WebCore::SecurityOrigin&amp;) override;
+};
+
+#endif // WebStorageNamespaceProvider_h
</ins></span></pre></div>
<a id="trunkSourceWebKitWebKitvcxprojWebKitWebKitvcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -285,6 +285,7 @@
</span><span class="cx">     &lt;/Link&gt;
</span><span class="cx">   &lt;/ItemDefinitionGroup&gt;
</span><span class="cx">   &lt;ItemGroup&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\..\Storage\WebStorageNamespaceProvider.cpp&quot; /&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\..\cf\WebCoreSupport\WebInspectorClientCF.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\..\win\AccessibleBase.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\..\win\AccessibleDocument.cpp&quot; /&gt;
</span><span class="lines">@@ -497,6 +498,7 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebScriptWorld.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebSecurityOrigin.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebSerializedJSValue.h&quot; /&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\..\Storage\WebStorageNamespaceProvider.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebTextRenderer.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebURLAuthenticationChallenge.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebURLAuthenticationChallengeSender.h&quot; /&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitvcxprojWebKitWebKitvcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj.filters (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj.filters        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebKit/WebKit.vcxproj/WebKit/WebKit.vcxproj.filters        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -217,6 +217,9 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\..\win\WebSerializedJSValue.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;Sources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\..\Storage\WebStorageNamespaceProvider.cpp&quot;&gt;
+      &lt;Filter&gt;Sources&lt;/Filter&gt;
+    &lt;/ClCompile&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\..\win\WebTextRenderer.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;Sources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -496,6 +499,9 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebSerializedJSValue.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;Header Files&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\..\Storage\WebStorageNamespaceProvider.h&quot;&gt;
+      &lt;Filter&gt;Sources&lt;/Filter&gt;
+    &lt;/ClCompile&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\..\win\WebTextRenderer.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;Header Files&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitxcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -25,6 +25,8 @@
</span><span class="cx">                 1A4DF5230EC8C74D006BD4B4 /* WebNetscapePluginView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A4DF5210EC8C74D006BD4B4 /* WebNetscapePluginView.mm */; settings = {COMPILER_FLAGS = &quot;-Wno-deprecated-declarations&quot;; }; };
</span><span class="cx">                 1A4DF5E40EC8D104006BD4B4 /* WebBaseNetscapePluginView.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A4DF5E20EC8D104006BD4B4 /* WebBaseNetscapePluginView.h */; };
</span><span class="cx">                 1A4DF5E50EC8D104006BD4B4 /* WebBaseNetscapePluginView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A4DF5E30EC8D104006BD4B4 /* WebBaseNetscapePluginView.mm */; };
</span><ins>+                1A591D451A2E91BB000907C4 /* WebStorageNamespaceProvider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A591D431A2E91BB000907C4 /* WebStorageNamespaceProvider.cpp */; };
+                1A591D461A2E91BB000907C4 /* WebStorageNamespaceProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A591D441A2E91BB000907C4 /* WebStorageNamespaceProvider.h */; };
</ins><span class="cx">                 1A60519117502A5D00BC62F5 /* BinaryPropertyList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A60518D17502A5D00BC62F5 /* BinaryPropertyList.cpp */; };
</span><span class="cx">                 1A60519217502A5D00BC62F5 /* BinaryPropertyList.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A60518E17502A5D00BC62F5 /* BinaryPropertyList.h */; };
</span><span class="cx">                 1A60519317502A5D00BC62F5 /* HistoryPropertyList.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A60518F17502A5D00BC62F5 /* HistoryPropertyList.mm */; };
</span><span class="lines">@@ -471,6 +473,8 @@
</span><span class="cx">                 1A4DF5210EC8C74D006BD4B4 /* WebNetscapePluginView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebNetscapePluginView.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A4DF5E20EC8D104006BD4B4 /* WebBaseNetscapePluginView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebBaseNetscapePluginView.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A4DF5E30EC8D104006BD4B4 /* WebBaseNetscapePluginView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebBaseNetscapePluginView.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                1A591D431A2E91BB000907C4 /* WebStorageNamespaceProvider.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebStorageNamespaceProvider.cpp; path = ../../Storage/WebStorageNamespaceProvider.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1A591D441A2E91BB000907C4 /* WebStorageNamespaceProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebStorageNamespaceProvider.h; path = ../../Storage/WebStorageNamespaceProvider.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 1A60518D17502A5D00BC62F5 /* BinaryPropertyList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BinaryPropertyList.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A60518E17502A5D00BC62F5 /* BinaryPropertyList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BinaryPropertyList.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A60518F17502A5D00BC62F5 /* HistoryPropertyList.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = HistoryPropertyList.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -1194,6 +1198,8 @@
</span><span class="cx">                                 511F3FD20CECC88F00852565 /* WebDatabaseManagerPrivate.h */,
</span><span class="cx">                                 A5DEFC0D11D5343E00885273 /* WebDatabaseQuotaManager.h */,
</span><span class="cx">                                 A5DEFC0E11D5343E00885273 /* WebDatabaseQuotaManager.mm */,
</span><ins>+                                1A591D431A2E91BB000907C4 /* WebStorageNamespaceProvider.cpp */,
+                                1A591D441A2E91BB000907C4 /* WebStorageNamespaceProvider.h */,
</ins><span class="cx">                                 3AB02AF512C1319B00FBB694 /* WebStorageManager.mm */,
</span><span class="cx">                                 3AE15D4F12DBDED4009323C8 /* WebStorageManagerInternal.h */,
</span><span class="cx">                                 3AB02AFF12C132B200FBB694 /* WebStorageManagerPrivate.h */,
</span><span class="lines">@@ -1864,6 +1870,7 @@
</span><span class="cx">                                 939810250824BF01008DF038 /* WebNSWindowExtras.h in Headers */,
</span><span class="cx">                                 A58A5799143E727000125F50 /* WebOpenPanelResultListener.h in Headers */,
</span><span class="cx">                                 2D25396618CE85C200270222 /* WebSharingServicePickerController.h in Headers */,
</span><ins>+                                1A591D461A2E91BB000907C4 /* WebStorageNamespaceProvider.h in Headers */,
</ins><span class="cx">                                 9398102A0824BF01008DF038 /* WebPanelAuthenticationHandler.h in Headers */,
</span><span class="cx">                                 37B6FB4E1063530C000FDB3B /* WebPDFDocumentExtras.h in Headers */,
</span><span class="cx">                                 939810A50824BF01008DF038 /* WebPDFRepresentation.h in Headers */,
</span><span class="lines">@@ -2272,6 +2279,7 @@
</span><span class="cx">                                 1AA879B711CBE9BF003C664F /* WebPlatformStrategies.mm in Sources */,
</span><span class="cx">                                 939811260824BF01008DF038 /* WebPluginContainerCheck.mm in Sources */,
</span><span class="cx">                                 939810DA0824BF01008DF038 /* WebPluginController.mm in Sources */,
</span><ins>+                                1A591D451A2E91BB000907C4 /* WebStorageNamespaceProvider.cpp in Sources */,
</ins><span class="cx">                                 939810DB0824BF01008DF038 /* WebPluginDatabase.mm in Sources */,
</span><span class="cx">                                 939810DC0824BF01008DF038 /* WebPluginPackage.mm in Sources */,
</span><span class="cx">                                 1A77B02F0EE7730500C8A1F9 /* WebPluginRequest.m in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebKit/mac/ChangeLog        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -1,5 +1,19 @@
</span><span class="cx"> 2014-12-06  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Add a stubbed out version of WebStorageNamespaceProvider
+        https://bugs.webkit.org/show_bug.cgi?id=139213
+
+        Reviewed by Sam Weinig.
+
+        * WebCoreSupport/WebViewGroup.h:
+        (WebViewGroup::storageNamespaceProvider):
+        * WebCoreSupport/WebViewGroup.mm:
+        (WebViewGroup::getOrCreate):
+        (WebViewGroup::WebViewGroup):
+        Give WebViewGroup a storage namespace provider.
+
+2014-12-06  Anders Carlsson  &lt;andersca@apple.com&gt;
+
</ins><span class="cx">         Fix build with newer versions of clang.
</span><span class="cx">         rdar://problem/18978687
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebViewGrouph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.h (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.h        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.h        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -23,15 +23,22 @@
</span><span class="cx">  * THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#import &lt;WebCore/UserContentController.h&gt;
</del><ins>+#include &lt;wtf/HashSet.h&gt;
+#include &lt;wtf/RefCounted.h&gt;
+#include &lt;wtf/text/WTFString.h&gt;
</ins><span class="cx"> 
</span><ins>+namespace WebCore {
+class StorageNamespaceProvider;
+class UserContentController;
+}
+
</ins><span class="cx"> class WebVisitedLinkStore;
</span><span class="cx"> 
</span><span class="cx"> @class WebView;
</span><span class="cx"> 
</span><span class="cx"> class WebViewGroup : public RefCounted&lt;WebViewGroup&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebViewGroup&gt; getOrCreate(const String&amp; name);
</del><ins>+    static RefPtr&lt;WebViewGroup&gt; getOrCreate(const String&amp; name);
</ins><span class="cx">     ~WebViewGroup();
</span><span class="cx"> 
</span><span class="cx">     static WebViewGroup* get(const String&amp; name);
</span><span class="lines">@@ -39,6 +46,7 @@
</span><span class="cx">     void addWebView(WebView *);
</span><span class="cx">     void removeWebView(WebView *);
</span><span class="cx"> 
</span><ins>+    WebCore::StorageNamespaceProvider&amp; storageNamespaceProvider() { return m_storageNamespaceProvider.get(); }
</ins><span class="cx">     WebCore::UserContentController&amp; userContentController() { return m_userContentController.get(); }
</span><span class="cx">     WebVisitedLinkStore&amp; visitedLinkStore() { return m_visitedLinkStore.get(); }
</span><span class="cx"> 
</span><span class="lines">@@ -48,6 +56,7 @@
</span><span class="cx">     String m_name;
</span><span class="cx">     HashSet&lt;WebView *&gt; m_webViews;
</span><span class="cx"> 
</span><ins>+    Ref&lt;WebCore::StorageNamespaceProvider&gt; m_storageNamespaceProvider;
</ins><span class="cx">     Ref&lt;WebCore::UserContentController&gt; m_userContentController;
</span><span class="cx">     Ref&lt;WebVisitedLinkStore&gt; m_visitedLinkStore;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebViewGroupmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.mm (176912 => 176913)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.mm        2014-12-06 21:23:57 UTC (rev 176912)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebViewGroup.mm        2014-12-06 21:27:34 UTC (rev 176913)
</span><span class="lines">@@ -25,8 +25,10 @@
</span><span class="cx"> 
</span><span class="cx"> #import &quot;WebViewGroup.h&quot;
</span><span class="cx"> 
</span><ins>+#import &quot;WebStorageNamespaceProvider.h&quot;
</ins><span class="cx"> #import &quot;WebView.h&quot;
</span><span class="cx"> #import &quot;WebVisitedLinkStore.h&quot;
</span><ins>+#import &lt;WebCore/UserContentController.h&gt;
</ins><span class="cx"> #import &lt;wtf/NeverDestroyed.h&gt;
</span><span class="cx"> #import &lt;wtf/text/StringHash.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -40,7 +42,7 @@
</span><span class="cx">     return webViewGroups;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebViewGroup&gt; WebViewGroup::getOrCreate(const String&amp; name)
</del><ins>+RefPtr&lt;WebViewGroup&gt; WebViewGroup::getOrCreate(const String&amp; name)
</ins><span class="cx"> {
</span><span class="cx">     if (name.isEmpty())
</span><span class="cx">         return adoptRef(new WebViewGroup(String()));
</span><span class="lines">@@ -61,6 +63,7 @@
</span><span class="cx"> 
</span><span class="cx"> WebViewGroup::WebViewGroup(const String&amp; name)
</span><span class="cx">     : m_name(name)
</span><ins>+    , m_storageNamespaceProvider(*WebStorageNamespaceProvider::create())
</ins><span class="cx">     , m_userContentController(*UserContentController::create())
</span><span class="cx">     , m_visitedLinkStore(WebVisitedLinkStore::create())
</span><span class="cx"> {
</span></span></pre>
</div>
</div>

</body>
</html>