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

Side by Side Diff: webkit/glue/idb_bindings.h

Issue 3043037: Adds IDBKeyPath parser / extractor, and provides a mechanism to call it sandboxed. (Closed)
Patch Set: Makes MSVC happy. Created 10 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 unified diff | Download patch
« no previous file with comments | « chrome/utility/utility_thread.cc ('k') | webkit/glue/idb_bindings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <vector>
6
7 #include "base/basictypes.h"
8 #include "base/string16.h"
9
10 namespace WebKit {
11 class WebIDBKey;
12 class WebSerializedScriptValue;
13 }
14
15 namespace webkit_glue {
16
17 // Warning: this method holds a V8 lock, it should only be called within a
18 // sandbox.
19 bool IDBKeysFromValuesAndKeyPath(
20 const std::vector<WebKit::WebSerializedScriptValue>&
21 serialized_script_values,
22 const string16& idb_key_path,
23 std::vector<WebKit::WebIDBKey>* values);
24
25 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « chrome/utility/utility_thread.cc ('k') | webkit/glue/idb_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698