diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 12:59:11 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 12:59:11 +0000 |
commit | 70c19a930beddde0e382777cb8799e7c8ebb1625 (patch) | |
tree | 887ab4d3962e19a5d114f205c0871ba2f9cf1e98 /chrome/renderer/renderer_webkitclient_impl.h | |
parent | 7d754b0c3f04087aad0931141cdbdfbf1a82ba41 (diff) | |
download | chromium_src-70c19a930beddde0e382777cb8799e7c8ebb1625.zip chromium_src-70c19a930beddde0e382777cb8799e7c8ebb1625.tar.gz chromium_src-70c19a930beddde0e382777cb8799e7c8ebb1625.tar.bz2 |
Implement IndexedDatabase::open up until re-entrance into WebKit. That (and the
rest of IndexedDB) will be done in subsequent patches. Included in this patch
is a lot of other infrastructure for making IndexedDB work. Included is a
conversion from the DOMStorageDispatcherHost into a dispatcher host for all APIs
that have a backend in WebKit.
I named it WebKitAPIDispatcherHost. Since it's in browser/in_process_webkit and
it is for APIs that connect up to the WebKit API and it's used for APIs whose
backend is implemented in WebKit I thought the name was decent and not _too_
confusing, but if you have better ideas, please let me know.
This includes some code that you've already reviewed (darin), but a lot has
changed so please take a look at all of it.
TEST=Not much to test yet + behind a flag.
BUG=none
Review URL: http://codereview.chromium.org/1599009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webkitclient_impl.h')
-rw-r--r-- | chrome/renderer/renderer_webkitclient_impl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/renderer/renderer_webkitclient_impl.h b/chrome/renderer/renderer_webkitclient_impl.h index adcad69..82c40295 100644 --- a/chrome/renderer/renderer_webkitclient_impl.h +++ b/chrome/renderer/renderer_webkitclient_impl.h @@ -6,6 +6,7 @@ #define CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ #include "base/platform_file.h" +#include "base/scoped_ptr.h" #include "chrome/renderer/websharedworkerrepository_impl.h" #include "webkit/glue/simple_webmimeregistry_impl.h" #include "webkit/glue/webclipboard_impl.h" @@ -27,7 +28,8 @@ class SyncMessage; class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl { public: - RendererWebKitClientImpl() : sudden_termination_disables_(0) {} + RendererWebKitClientImpl(); + virtual ~RendererWebKitClientImpl(); // WebKitClient methods: virtual WebKit::WebClipboard* clipboard(); @@ -62,6 +64,8 @@ class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl { unsigned key_size_index, const WebKit::WebString& challenge, const WebKit::WebURL& url); + virtual WebKit::WebIndexedDatabase* indexedDatabase(); + virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); virtual WebKit::WebGLES2Context* createGLES2Context(); @@ -129,6 +133,7 @@ class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl { // to WorkerService on the browser thread. WebSharedWorkerRepositoryImpl shared_worker_repository_; + scoped_ptr<WebKit::WebIndexedDatabase> web_indexed_database_; }; #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |