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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 10204003: Use WebIDBKeyPath type in WebKit API, implement IndexedDBKeyPath type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move IndexedDBKeyPath to content namespace, formatting nits. Created 8 years, 8 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 03b7444b91f98e75a60d66d039dbdb1b5ca51beb..19db1dba2ab8d21191cdd971fe2fc13ad3d961a7 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
@@ -328,13 +328,13 @@ WebIDBFactory* RendererWebKitPlatformSupportImpl::idbFactory() {
void RendererWebKitPlatformSupportImpl::createIDBKeysFromSerializedValuesAndKeyPath(
const WebVector<WebSerializedScriptValue>& values,
- const WebString& keyPath,
+ 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], WebIDBKeyPath::create(keyPath));
+ values[i], keyPath);
}
keys_out.swap(keys);
}
@@ -343,10 +343,10 @@ WebSerializedScriptValue
RendererWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue(
const WebIDBKey& key,
const WebSerializedScriptValue& value,
- const WebString& keyPath) {
+ const WebIDBKeyPath& keyPath) {
DCHECK(CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess));
return WebIDBKey::injectIDBKeyIntoSerializedValue(
- key, value, WebIDBKeyPath::create(keyPath));
+ key, value, keyPath);
}
//------------------------------------------------------------------------------
« 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