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

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: Formatting nit. 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 45ca84a492ac585e6291e001d0e1111a2acb253d..278a176d2068588a0910457b1f57ffd887b228c1 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 {
+ IndexedDBKeyPath result;
IndexedDBDispatcher::Send(
new IndexedDBHostMsg_IndexKeyPath(idb_index_id_, &result));
return result;

Powered by Google App Engine
This is Rietveld 408576698