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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.h

Issue 2005433002: [Origin Trials] Install origin trial bindings on V8 context conditionally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-ef-install
Patch Set: Fix multiple definition of signature; addressing nits Created 4 years, 6 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
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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>); 50 ExecutionContext* toExecutionContextForModules(v8::Local<v8::Context>);
51 51
52 void registerInstallOriginTrialsForModules();
53
52 } // namespace blink 54 } // namespace blink
53 55
54 #endif // V8BindingForModules_h 56 #endif // V8BindingForModules_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698