| Index: gin/wrapper_info.h
|
| diff --git a/gin/wrapper_info.h b/gin/wrapper_info.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..16eef25536658c6efdba6ec7f592b4f876f25e9c
|
| --- /dev/null
|
| +++ b/gin/wrapper_info.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef GIN_WRAPPER_INFO_H_
|
| +#define GIN_WRAPPER_INFO_H_
|
| +
|
| +#include "v8/include/v8.h"
|
| +
|
| +namespace gin {
|
| +
|
| +enum InternalFields {
|
| + kWrapperInfoIndex,
|
| + kEncodedValueIndex,
|
| + kNumberOfInternalFields,
|
| +};
|
| +
|
| +struct WrapperInfo {
|
| + static WrapperInfo* From(v8::Handle<v8::Object> object);
|
| + // Currently we just use the address of this struct for identity.
|
| +};
|
| +
|
| +} // namespace gin
|
| +
|
| +#endif // GIN_WRAPPER_INFO_H_
|
|
|