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

Unified Diff: content/common/indexed_db/proxy_webidbindex_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
Index: content/common/indexed_db/proxy_webidbindex_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbindex_impl.cc b/content/common/indexed_db/proxy_webidbindex_impl.cc
index 4a58327c2a9f9adeb174988df65c03dbea5a3ced..9535d6a160393ec4db789285a92382f98d479476 100644
--- a/content/common/indexed_db/proxy_webidbindex_impl.cc
+++ b/content/common/indexed_db/proxy_webidbindex_impl.cc
@@ -8,11 +8,13 @@
#include "content/common/indexed_db/indexed_db_messages.h"
#include "content/common/indexed_db/proxy_webidbtransaction_impl.h"
#include "content/common/child_thread.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
using WebKit::WebExceptionCode;
using WebKit::WebDOMStringList;
+using WebKit::WebIDBKeyPath;
using WebKit::WebString;
using WebKit::WebVector;
@@ -43,8 +45,8 @@ WebString RendererWebIDBIndexImpl::storeName() const {
return result;
}
-WebString RendererWebIDBIndexImpl::keyPathString() const {
- NullableString16 result;
+WebIDBKeyPath RendererWebIDBIndexImpl::keyPath() const {
+ content::IndexedDBKeyPath result;
IndexedDBDispatcher::Send(
new IndexedDBHostMsg_IndexKeyPath(idb_index_id_, &result));
return result;
« no previous file with comments | « content/common/indexed_db/proxy_webidbindex_impl.h ('k') | content/common/indexed_db/proxy_webidbobjectstore_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698