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

Side by Side Diff: gin/public/wrapper_info.h

Issue 69293015: Add a gin/public directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « gin/per_isolate_data.h ('k') | gin/test/gtest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 GIN_WRAPPER_INFO_H_ 5 #ifndef GIN_PUBLIC_WRAPPER_INFO_H_
6 #define GIN_WRAPPER_INFO_H_ 6 #define GIN_PUBLIC_WRAPPER_INFO_H_
7 7
8 #include "v8/include/v8.h" 8 #include "v8/include/v8.h"
9 9
10 namespace gin { 10 namespace gin {
11 11
12 enum InternalFields { 12 enum InternalFields {
13 kWrapperInfoIndex, 13 kWrapperInfoIndex,
14 kEncodedValueIndex, 14 kEncodedValueIndex,
15 kNumberOfInternalFields, 15 kNumberOfInternalFields,
16 }; 16 };
17 17
18 struct WrapperInfo { 18 struct WrapperInfo {
19 static WrapperInfo* From(v8::Handle<v8::Object> object); 19 static WrapperInfo* From(v8::Handle<v8::Object> object);
20 // Currently we just use the address of this struct for identity. 20 // Currently we just use the address of this struct for identity.
21 }; 21 };
22 22
23 } // namespace gin 23 } // namespace gin
24 24
25 #endif // GIN_WRAPPER_INFO_H_ 25 #endif // GIN_PUBLIC_WRAPPER_INFO_H_
OLDNEW
« no previous file with comments | « gin/per_isolate_data.h ('k') | gin/test/gtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698