| Index: content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
|
| diff --git a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
|
| index fdbec8cf422eabedaa1846dac122b0092be247a6..93ab39c15033e7cb251fd9630f03254d580160fe 100644
|
| --- a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
|
| +++ b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
|
| @@ -7,20 +7,12 @@
|
| #include "base/file_util.h"
|
| #include "base/logging.h"
|
| #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
|
| -#include "content/browser/in_process_webkit/indexed_db_key_utility_client.h"
|
| -#include "content/common/indexed_db/indexed_db_key.h"
|
| -#include "content/common/indexed_db/indexed_db_key_path.h"
|
| #include "content/public/common/serialized_script_value.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebData.h"
|
| -#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerializedScriptValue.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
|
| #include "webkit/glue/webkit_glue.h"
|
|
|
| -using content::IndexedDBKey;
|
| -using content::IndexedDBKeyPath;
|
| -using content::SerializedScriptValue;
|
| -
|
| BrowserWebKitPlatformSupportImpl::BrowserWebKitPlatformSupportImpl() {
|
| file_utilities_.set_sandbox_enabled(false);
|
| }
|
| @@ -132,35 +124,6 @@ int BrowserWebKitPlatformSupportImpl::databaseDeleteFile(
|
| return file_util::Delete(path, false) ? 0 : 1;
|
| }
|
|
|
| -void
|
| -BrowserWebKitPlatformSupportImpl::createIDBKeysFromSerializedValuesAndKeyPath(
|
| - const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values,
|
| - const WebKit::WebIDBKeyPath& keyPath,
|
| - WebKit::WebVector<WebKit::WebIDBKey>& keys) {
|
| -
|
| - std::vector<SerializedScriptValue> std_values;
|
| - size_t size = values.size();
|
| - std_values.reserve(size);
|
| - for (size_t i = 0; i < size; ++i)
|
| - std_values.push_back(SerializedScriptValue(values[i]));
|
| -
|
| - std::vector<IndexedDBKey> std_keys;
|
| - IndexedDBKeyUtilityClient::
|
| - CreateIDBKeysFromSerializedValuesAndKeyPath(
|
| - std_values, IndexedDBKeyPath(keyPath), &std_keys);
|
| -
|
| - keys = std_keys;
|
| -}
|
| -
|
| -WebKit::WebSerializedScriptValue
|
| -BrowserWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue(
|
| - const WebKit::WebIDBKey& key, const WebKit::WebSerializedScriptValue& value,
|
| - const WebKit::WebIDBKeyPath& keyPath) {
|
| - return IndexedDBKeyUtilityClient::InjectIDBKeyIntoSerializedValue(
|
| - IndexedDBKey(key), SerializedScriptValue(value),
|
| - IndexedDBKeyPath(keyPath));
|
| -}
|
| -
|
| GpuChannelHostFactory*
|
| BrowserWebKitPlatformSupportImpl::GetGpuChannelHostFactory() {
|
| return content::BrowserGpuChannelHostFactory::instance();
|
|
|