• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_PUBLIC_GIN_EMBEDDERS_H_
6 #define GIN_PUBLIC_GIN_EMBEDDERS_H_
7 
8 namespace gin {
9 
10 // The GinEmbedder is used to identify the owner of embedder data stored on
11 // v8 objects, and is used as in index into the embedder data slots of a
12 // v8::Isolate.
13 
14 enum GinEmbedder {
15   kEmbedderNativeGin,
16   kEmbedderBlink,
17 };
18 
19 }  // namespace gin
20 
21 #endif  // GIN_PUBLIC_GIN_EMBEDDERS_H_
22