| 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" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 struct NativeValueTraits<IDBKey*> { | 40 struct NativeValueTraits<IDBKey*> { |
| 41 static IDBKey* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionStat
e&); | 41 static IDBKey* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionStat
e&); |
| 42 MODULES_EXPORT static IDBKey* nativeValue(v8::Isolate*, v8::Local<v8::Value>
, ExceptionState&, const IDBKeyPath&); | 42 MODULES_EXPORT static IDBKey* nativeValue(v8::Isolate*, v8::Local<v8::Value>
, ExceptionState&, const IDBKeyPath&); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 template <> | 45 template <> |
| 46 struct NativeValueTraits<IDBKeyRange*> { | 46 struct NativeValueTraits<IDBKeyRange*> { |
| 47 static IDBKeyRange* nativeValue(v8::Isolate*, v8::Local<v8::Value>, Exceptio
nState&); | 47 static IDBKeyRange* nativeValue(v8::Isolate*, v8::Local<v8::Value>, Exceptio
nState&); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 ExecutionContext* toExecutionContextForModules(v8::Local<v8::Context>); | |
| 51 | |
| 52 void registerInstallOriginTrialsForModules(); | 50 void registerInstallOriginTrialsForModules(); |
| 53 | 51 |
| 54 } // namespace blink | 52 } // namespace blink |
| 55 | 53 |
| 56 #endif // V8BindingForModules_h | 54 #endif // V8BindingForModules_h |
| OLD | NEW |