Chromium Code Reviews| Index: content/worker/worker_webkitplatformsupport_impl.cc |
| diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc |
| index d37621a600c2ee529fa4565f7afc3c2129a73683..d544d4bc50a1d7735143bdebeda508decb7862c1 100644 |
| --- a/content/worker/worker_webkitplatformsupport_impl.cc |
| +++ b/content/worker/worker_webkitplatformsupport_impl.cc |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -9,6 +9,7 @@ |
| #include "content/common/database_util.h" |
| #include "content/common/file_system/webfilesystem_impl.h" |
| #include "content/common/file_utilities_messages.h" |
| +#include "content/common/indexed_db/proxy_webidbfactory_impl.h" |
| #include "content/common/mime_registry_messages.h" |
| #include "content/common/webblobregistry_impl.h" |
| #include "content/common/webmessageportchannel_impl.h" |
| @@ -208,6 +209,12 @@ long long WorkerWebKitPlatformSupportImpl::databaseGetSpaceAvailableForOrigin( |
| return DatabaseUtil::DatabaseGetSpaceAvailable(origin_identifier); |
| } |
| +WebKit::WebIDBFactory* WorkerWebKitPlatformSupportImpl::idbFactory() { |
| + if (!web_idb_factory_.get()) |
| + web_idb_factory_.reset(new RendererWebIDBFactoryImpl()); |
|
jsbell
2012/02/15 16:44:31
This will only ever be called on the worker thread
|
| + return web_idb_factory_.get(); |
| +} |
| + |
| WebMimeRegistry::SupportsType |
| WorkerWebKitPlatformSupportImpl::supportsMIMEType( |
| const WebString&) { |