OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 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 #ifndef GIN_WRAPPER_INFO_H_ |
| 6 #define GIN_WRAPPER_INFO_H_ |
| 7 |
| 8 #include "v8/include/v8.h" |
| 9 |
| 10 namespace gin { |
| 11 |
| 12 enum InternalFields { |
| 13 kWrapperInfoIndex, |
| 14 kEncodedValueIndex, |
| 15 kNumberOfInternalFields, |
| 16 }; |
| 17 |
| 18 struct WrapperInfo { |
| 19 static WrapperInfo* From(v8::Handle<v8::Object> object); |
| 20 // Currently we just use the address of this struct for identity. |
| 21 }; |
| 22 |
| 23 } // namespace gin |
| 24 |
| 25 #endif // GIN_WRAPPER_INFO_H_ |
OLD | NEW |