<!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>[80635] 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/80635">80635</a></dd>
<dt>Author</dt> <dd>hans@chromium.org</dd>
<dt>Date</dt> <dd>2011-03-09 04:05:48 -0800 (Wed, 09 Mar 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>2011-03-08  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
        https://bugs.webkit.org/show_bug.cgi?id=55948

        Add a parameter that allows for selection of alternative backing store
        implementations.

        No new tests: no new functionality.

        * storage/IDBFactory.cpp:
        (WebCore::IDBFactory::open):
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::open):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBFactoryBackendInterface.h:
2011-03-08  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
        https://bugs.webkit.org/show_bug.cgi?id=55948

        Add a parameter that allows for selection of alternative backing store
        implementations.

        * public/WebIDBFactory.h:
        (WebKit::WebIDBFactory::open):
        * src/AssertMatchingEnums.cpp:
        * src/IDBFactoryBackendProxy.cpp:
        (WebCore::IDBFactoryBackendProxy::open):
        * src/IDBFactoryBackendProxy.h:
        * src/WebIDBFactoryImpl.cpp:
        (WebKit::WebIDBFactoryImpl::open):
        * src/WebIDBFactoryImpl.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorestorageIDBFactorycpp">trunk/Source/WebCore/storage/IDBFactory.cpp</a></li>
<li><a href="#trunkSourceWebCorestorageIDBFactoryBackendImplcpp">trunk/Source/WebCore/storage/IDBFactoryBackendImpl.cpp</a></li>
<li><a href="#trunkSourceWebCorestorageIDBFactoryBackendImplh">trunk/Source/WebCore/storage/IDBFactoryBackendImpl.h</a></li>
<li><a href="#trunkSourceWebCorestorageIDBFactoryBackendInterfaceh">trunk/Source/WebCore/storage/IDBFactoryBackendInterface.h</a></li>
<li><a href="#trunkSourceWebKitchromiumChangeLog">trunk/Source/WebKit/chromium/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitchromiumpublicWebIDBFactoryh">trunk/Source/WebKit/chromium/public/WebIDBFactory.h</a></li>
<li><a href="#trunkSourceWebKitchromiumsrcAssertMatchingEnumscpp">trunk/Source/WebKit/chromium/src/AssertMatchingEnums.cpp</a></li>
<li><a href="#trunkSourceWebKitchromiumsrcIDBFactoryBackendProxycpp">trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp</a></li>
<li><a href="#trunkSourceWebKitchromiumsrcIDBFactoryBackendProxyh">trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.h</a></li>
<li><a href="#trunkSourceWebKitchromiumsrcWebIDBFactoryImplcpp">trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.cpp</a></li>
<li><a href="#trunkSourceWebKitchromiumsrcWebIDBFactoryImplh">trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog   2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebCore/ChangeLog      2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2011-03-08  Hans Wennborg  <hans@chromium.org>
+
+        Reviewed by Jeremy Orlow.
+
+        IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
+        https://bugs.webkit.org/show_bug.cgi?id=55948
+
+        Add a parameter that allows for selection of alternative backing store
+        implementations.
+
+        No new tests: no new functionality.
+
+        * storage/IDBFactory.cpp:
+        (WebCore::IDBFactory::open):
+        * storage/IDBFactoryBackendImpl.cpp:
+        (WebCore::IDBFactoryBackendImpl::open):
+        * storage/IDBFactoryBackendImpl.h:
+        * storage/IDBFactoryBackendInterface.h:
+
</ins><span class="cx"> 2011-03-08  Steve Block  <steveblock@google.com>
</span><span class="cx"> 
</span><span class="cx">         Reviewed by Jeremy Orlow.
</span></span></pre></div>
<a id="trunkSourceWebCorestorageIDBFactorycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/storage/IDBFactory.cpp (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/storage/IDBFactory.cpp      2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebCore/storage/IDBFactory.cpp 2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx"> 
</span><span class="cx">     RefPtr<IDBRequest> request = IDBRequest::create(document, IDBAny::create(this), 0);
</span><span class="cx">     GroupSettings* groupSettings = document->page()->group().groupSettings();
</span><del>-    m_factoryBackend->open(name, request, document->securityOrigin(), document->frame(), groupSettings->indexedDBDatabasePath(), groupSettings->indexedDBQuotaBytes());
</del><ins>+    m_factoryBackend->open(name, request, document->securityOrigin(), document->frame(), groupSettings->indexedDBDatabasePath(), groupSettings->indexedDBQuotaBytes(), IDBFactoryBackendInterface::DefaultBackingStore);
</ins><span class="cx">     return request;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorestorageIDBFactoryBackendImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/storage/IDBFactoryBackendImpl.cpp (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/storage/IDBFactoryBackendImpl.cpp   2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebCore/storage/IDBFactoryBackendImpl.cpp      2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx">     m_backingStoreMap.remove(uniqueIdentifier);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void IDBFactoryBackendImpl::open(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> securityOrigin, Frame*, const String& dataDir, int64_t maximumSize)
</del><ins>+void IDBFactoryBackendImpl::open(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> securityOrigin, Frame*, const String& dataDir, int64_t maximumSize, BackingStoreType)
</ins><span class="cx"> {
</span><span class="cx">     String fileIdentifier = securityOrigin->databaseIdentifier();
</span><span class="cx">     String uniqueIdentifier = fileIdentifier + "@" + name;
</span></span></pre></div>
<a id="trunkSourceWebCorestorageIDBFactoryBackendImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/storage/IDBFactoryBackendImpl.h (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/storage/IDBFactoryBackendImpl.h     2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebCore/storage/IDBFactoryBackendImpl.h        2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">     void addIDBBackingStore(const String& uniqueIdentifier, IDBBackingStore*);
</span><span class="cx">     void removeIDBBackingStore(const String& uniqueIdentifier);
</span><span class="cx"> 
</span><del>-    virtual void open(const String& name, PassRefPtr<IDBCallbacks>, PassRefPtr<SecurityOrigin>, Frame*, const String& dataDir, int64_t maximumSize);
</del><ins>+    virtual void open(const String& name, PassRefPtr<IDBCallbacks>, PassRefPtr<SecurityOrigin>, Frame*, const String& dataDir, int64_t maximumSize, BackingStoreType);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     IDBFactoryBackendImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorestorageIDBFactoryBackendInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/storage/IDBFactoryBackendInterface.h (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/storage/IDBFactoryBackendInterface.h        2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebCore/storage/IDBFactoryBackendInterface.h   2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -51,7 +51,12 @@
</span><span class="cx">     static PassRefPtr<IDBFactoryBackendInterface> create();
</span><span class="cx">     virtual ~IDBFactoryBackendInterface() { }
</span><span class="cx"> 
</span><del>-    virtual void open(const String& name, PassRefPtr<IDBCallbacks>, PassRefPtr<SecurityOrigin>, Frame*, const String& dataDir, int64_t maximumSize) = 0;
</del><ins>+    enum BackingStoreType {
+        DefaultBackingStore,
+        LevelDBBackingStore
+    };
+
+    virtual void open(const String& name, PassRefPtr<IDBCallbacks>, PassRefPtr<SecurityOrigin>, Frame*, const String& dataDir, int64_t maximumSize, BackingStoreType) = 0;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebKitchromiumChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/chromium/ChangeLog (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/chromium/ChangeLog   2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebKit/chromium/ChangeLog      2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2011-03-08  Hans Wennborg  <hans@chromium.org>
+
+        Reviewed by Jeremy Orlow.
+
+        IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
+        https://bugs.webkit.org/show_bug.cgi?id=55948
+
+        Add a parameter that allows for selection of alternative backing store
+        implementations.
+
+        * public/WebIDBFactory.h:
+        (WebKit::WebIDBFactory::open):
+        * src/AssertMatchingEnums.cpp:
+        * src/IDBFactoryBackendProxy.cpp:
+        (WebCore::IDBFactoryBackendProxy::open):
+        * src/IDBFactoryBackendProxy.h:
+        * src/WebIDBFactoryImpl.cpp:
+        (WebKit::WebIDBFactoryImpl::open):
+        * src/WebIDBFactoryImpl.h:
+
</ins><span class="cx"> 2011-03-08  Kinuko Yasuda  <kinuko@chromium.org>
</span><span class="cx"> 
</span><span class="cx">         Reviewed by David Levin.
</span></span></pre></div>
<a id="trunkSourceWebKitchromiumpublicWebIDBFactoryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/chromium/public/WebIDBFactory.h (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/chromium/public/WebIDBFactory.h      2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebKit/chromium/public/WebIDBFactory.h 2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -51,8 +51,18 @@
</span><span class="cx"> 
</span><span class="cx">     virtual ~WebIDBFactory() { }
</span><span class="cx"> 
</span><ins>+    enum BackingStoreType {
+        DefaultBackingStore,
+        LevelDBBackingStore
+    };
+
</ins><span class="cx">     // The WebKit implementation of open ignores the WebFrame* parameter.
</span><del>-    virtual void open(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize) { WEBKIT_ASSERT_NOT_REACHED(); }
</del><ins>+    // FIXME: Assert not reached when Chromium side is updated.
+    virtual void open(const WebString& name, WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin, WebFrame* frame, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType) { open(name, callbacks, origin, frame, dataDir, maximumSize); }
+
+    // FIXME: Remove this when Chromium side is updated.
+    virtual void open(const WebString& name, WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin, WebFrame* frame, const WebString& dataDir, unsigned long long maximumSize) { open(name, callbacks, origin, frame, dataDir, maximumSize, DefaultBackingStore); }
+
</ins><span class="cx">     virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir) { WEBKIT_ASSERT_NOT_REACHED(); }
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitchromiumsrcAssertMatchingEnumscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/chromium/src/AssertMatchingEnums.cpp (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/chromium/src/AssertMatchingEnums.cpp 2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebKit/chromium/src/AssertMatchingEnums.cpp    2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -45,6 +45,7 @@
</span><span class="cx"> #include "GeolocationError.h"
</span><span class="cx"> #include "GeolocationPosition.h"
</span><span class="cx"> #include "HTMLInputElement.h"
</span><ins>+#include "IDBFactoryBackendInterface.h"
</ins><span class="cx"> #include "IDBKey.h"
</span><span class="cx"> #include "MediaPlayer.h"
</span><span class="cx"> #include "NotificationPresenter.h"
</span><span class="lines">@@ -67,6 +68,7 @@
</span><span class="cx"> #include "WebFontDescription.h"
</span><span class="cx"> #include "WebGeolocationError.h"
</span><span class="cx"> #include "WebGeolocationPosition.h"
</span><ins>+#include "WebIDBFactory.h"
</ins><span class="cx"> #include "WebIDBKey.h"
</span><span class="cx"> #include "WebInputElement.h"
</span><span class="cx"> #include "WebMediaPlayer.h"
</span><span class="lines">@@ -377,6 +379,9 @@
</span><span class="cx"> COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::DateType, IDBKey::DateType);
</span><span class="cx"> COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::NumberType, IDBKey::NumberType);
</span><span class="cx"> 
</span><ins>+COMPILE_ASSERT_MATCHING_ENUM(WebIDBFactory::DefaultBackingStore, IDBFactoryBackendInterface::DefaultBackingStore);
+COMPILE_ASSERT_MATCHING_ENUM(WebIDBFactory::LevelDBBackingStore, IDBFactoryBackendInterface::LevelDBBackingStore);
+
</ins><span class="cx"> #if ENABLE(FILE_SYSTEM)
</span><span class="cx"> COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypeTemporary, AsyncFileSystem::Temporary);
</span><span class="cx"> COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypePersistent, AsyncFileSystem::Persistent);
</span></span></pre></div>
<a id="trunkSourceWebKitchromiumsrcIDBFactoryBackendProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp      2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp 2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -59,13 +59,12 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void IDBFactoryBackendProxy::open(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> origin, Frame* frame, const String& dataDir, int64_t maximumSize)
</del><ins>+void IDBFactoryBackendProxy::open(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> origin, Frame* frame, const String& dataDir, int64_t maximumSize, BackingStoreType backingStoreType)
</ins><span class="cx"> {
</span><span class="cx">     WebKit::WebFrame* webFrame = WebKit::WebFrameImpl::fromFrame(frame);
</span><del>-    m_webIDBFactory->open(name, new WebIDBCallbacksImpl(callbacks), origin, webFrame, dataDir, maximumSize);
</del><ins>+    m_webIDBFactory->open(name, new WebIDBCallbacksImpl(callbacks), origin, webFrame, dataDir, maximumSize, static_cast<WebKit::WebIDBFactory::BackingStoreType>(backingStoreType));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(INDEXED_DATABASE)
</span><del>-
</del></span></pre></div>
<a id="trunkSourceWebKitchromiumsrcIDBFactoryBackendProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.h (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.h        2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.h   2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx">     virtual ~IDBFactoryBackendProxy();
</span><span class="cx"> 
</span><span class="cx">     PassRefPtr<DOMStringList> databases(void) const;
</span><del>-    virtual void open(const String& name, PassRefPtr<IDBCallbacks>, PassRefPtr<SecurityOrigin>, Frame*, const String& dataDir, int64_t maximumSize);
</del><ins>+    virtual void open(const String& name, PassRefPtr<IDBCallbacks>, PassRefPtr<SecurityOrigin>, Frame*, const String& dataDir, int64_t maximumSize, BackingStoreType);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     IDBFactoryBackendProxy();
</span><span class="lines">@@ -59,4 +59,3 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #endif // IDBFactoryBackendProxy_h
</span><del>-
</del></span></pre></div>
<a id="trunkSourceWebKitchromiumsrcWebIDBFactoryImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.cpp (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.cpp   2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.cpp      2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -58,9 +58,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebIDBFactoryImpl::open(const WebString& name, WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin, WebFrame*, const WebString& dataDir, unsigned long long maximumSize)
</del><ins>+void WebIDBFactoryImpl::open(const WebString& name, WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType backingStoreType)
</ins><span class="cx"> {
</span><del>-    m_idbFactoryBackend->open(name, IDBCallbacksProxy::create(callbacks), origin, 0, dataDir, maximumSize);
</del><ins>+    m_idbFactoryBackend->open(name, IDBCallbacksProxy::create(callbacks), origin, 0, dataDir, maximumSize, static_cast<IDBFactoryBackendInterface::BackingStoreType>(backingStoreType));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKitchromiumsrcWebIDBFactoryImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.h (80634 => 80635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.h     2011-03-09 11:52:23 UTC (rev 80634)
+++ trunk/Source/WebKit/chromium/src/WebIDBFactoryImpl.h        2011-03-09 12:05:48 UTC (rev 80635)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">     WebIDBFactoryImpl();
</span><span class="cx">     virtual ~WebIDBFactoryImpl();
</span><span class="cx"> 
</span><del>-    virtual void open(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize);
</del><ins>+    virtual void open(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     WTF::RefPtr<WebCore::IDBFactoryBackendInterface> m_idbFactoryBackend;
</span></span></pre>
</div>
</div>

</body>
</html>