Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1321)

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 10834350: Remove all the indexeddb-related utility process code (Closed) Base URL: http://git.chromium.org/chromium/src.git@opencursor-cleanup
Patch Set: Rebase, attempt to reland Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.h ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webkitplatformsupport_impl.cc
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
index c7e274782cde98582fd08da29feb1239d521e2aa..b2096ac0f01a0b551f96d3c0390c75c5f8577023 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
@@ -39,14 +39,11 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStreamCenter.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStreamCenterClient.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConnectionHandler.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConnectionHandlerClient.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerializedScriptValue.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
#include "webkit/glue/simple_webmimeregistry_impl.h"
@@ -87,8 +84,6 @@ using WebKit::WebFileSystem;
using WebKit::WebFrame;
using WebKit::WebGamepads;
using WebKit::WebIDBFactory;
-using WebKit::WebIDBKey;
-using WebKit::WebIDBKeyPath;
using WebKit::WebKitPlatformSupport;
using WebKit::WebMediaStreamCenter;
using WebKit::WebMediaStreamCenterClient;
@@ -96,7 +91,6 @@ using WebKit::WebPeerConnection00Handler;
using WebKit::WebPeerConnection00HandlerClient;
using WebKit::WebPeerConnectionHandler;
using WebKit::WebPeerConnectionHandlerClient;
-using WebKit::WebSerializedScriptValue;
using WebKit::WebStorageNamespace;
using WebKit::WebString;
using WebKit::WebURL;
@@ -345,29 +339,6 @@ WebIDBFactory* RendererWebKitPlatformSupportImpl::idbFactory() {
return web_idb_factory_.get();
}
-void RendererWebKitPlatformSupportImpl::createIDBKeysFromSerializedValuesAndKeyPath(
- const WebVector<WebSerializedScriptValue>& values,
- const WebIDBKeyPath& keyPath,
- WebVector<WebIDBKey>& keys_out) {
- DCHECK(CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess));
- WebVector<WebIDBKey> keys(values.size());
- for (size_t i = 0; i < values.size(); ++i) {
- keys[i] = WebIDBKey::createFromValueAndKeyPath(
- values[i], keyPath);
- }
- keys_out.swap(keys);
-}
-
-WebSerializedScriptValue
-RendererWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue(
- const WebIDBKey& key,
- const WebSerializedScriptValue& value,
- const WebIDBKeyPath& keyPath) {
- DCHECK(CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess));
- return WebIDBKey::injectIDBKeyIntoSerializedValue(
- key, value, keyPath);
-}
-
//------------------------------------------------------------------------------
WebFileSystem* RendererWebKitPlatformSupportImpl::fileSystem() {
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.h ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698