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

Unified Diff: webkit/glue/idb_bindings.h

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/utility/utility_thread_impl.cc ('k') | webkit/glue/idb_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/idb_bindings.h
diff --git a/webkit/glue/idb_bindings.h b/webkit/glue/idb_bindings.h
index 4ad4b98d61e22ef0add00c324497a21bfdac3fc7..247dedf06a3fa26c6dd2b78d842c790b01d887f4 100644
--- a/webkit/glue/idb_bindings.h
+++ b/webkit/glue/idb_bindings.h
@@ -5,11 +5,11 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/string16.h"
#include "webkit/glue/webkit_glue_export.h"
namespace WebKit {
class WebIDBKey;
+class WebIDBKeyPath;
class WebSerializedScriptValue;
}
@@ -17,15 +17,15 @@ namespace webkit_glue {
// Warning: this method holds a V8 lock, it should only be called within a
// sandbox.
-WEBKIT_GLUE_EXPORT bool IDBKeysFromValuesAndKeyPath(
+WEBKIT_GLUE_EXPORT void IDBKeysFromValuesAndKeyPath(
const std::vector<WebKit::WebSerializedScriptValue>&
serialized_script_values,
- const string16& idb_key_path,
+ const WebKit::WebIDBKeyPath& idb_key_path,
std::vector<WebKit::WebIDBKey>* values);
WEBKIT_GLUE_EXPORT WebKit::WebSerializedScriptValue InjectIDBKey(
const WebKit::WebIDBKey& key,
const WebKit::WebSerializedScriptValue& value,
- const string16& idb_key_path);
+ const WebKit::WebIDBKeyPath& idb_key_path);
} // namespace webkit_glue
« no previous file with comments | « content/utility/utility_thread_impl.cc ('k') | webkit/glue/idb_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698