OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8BindingForModules_h | 5 #ifndef V8BindingForModules_h |
6 #define V8BindingForModules_h | 6 #define V8BindingForModules_h |
7 | 7 |
8 #include "bindings/core/v8/V8Binding.h" | 8 #include "bindings/core/v8/V8Binding.h" |
9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
10 #include "modules/webdatabase/sqlite/SQLValue.h" | 10 #include "modules/webdatabase/sqlite/SQLValue.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class IDBAny; | |
15 class IDBKey; | 14 class IDBKey; |
16 class IDBKeyPath; | 15 class IDBKeyPath; |
17 class IDBKeyRange; | 16 class IDBKeyRange; |
18 class IDBValue; | 17 class IDBValue; |
19 class SerializedScriptValue; | 18 class SerializedScriptValue; |
20 class SharedBuffer; | |
21 class WebBlobInfo; | 19 class WebBlobInfo; |
22 | 20 |
23 // Exposed for unit testing: | 21 // Exposed for unit testing: |
24 MODULES_EXPORT bool injectV8KeyIntoV8Value(v8::Isolate*, | 22 MODULES_EXPORT bool injectV8KeyIntoV8Value(v8::Isolate*, |
25 v8::Local<v8::Value> key, | 23 v8::Local<v8::Value> key, |
26 v8::Local<v8::Value>, | 24 v8::Local<v8::Value>, |
27 const IDBKeyPath&); | 25 const IDBKeyPath&); |
28 | 26 |
29 // For use by Source/modules/indexeddb (and unit testing): | 27 // For use by Source/modules/indexeddb (and unit testing): |
30 MODULES_EXPORT bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, | 28 MODULES_EXPORT bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, |
(...skipping 30 matching lines...) Expand all Loading... |
61 static IDBKeyRange* nativeValue(v8::Isolate*, | 59 static IDBKeyRange* nativeValue(v8::Isolate*, |
62 v8::Local<v8::Value>, | 60 v8::Local<v8::Value>, |
63 ExceptionState&); | 61 ExceptionState&); |
64 }; | 62 }; |
65 | 63 |
66 void registerInstallOriginTrialsForModules(); | 64 void registerInstallOriginTrialsForModules(); |
67 | 65 |
68 } // namespace blink | 66 } // namespace blink |
69 | 67 |
70 #endif // V8BindingForModules_h | 68 #endif // V8BindingForModules_h |
OLD | NEW |