summaryrefslogtreecommitdiffstats
path: root/gin/public/gin_embedders.h
blob: bffe6e0856e52a932a0c8f5bd52ea40f3d2693f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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_PUBLIC_GIN_EMBEDDERS_H_
#define GIN_PUBLIC_GIN_EMBEDDERS_H_

namespace gin {

// The GinEmbedder is used to identify the owner of embedder data stored on
// v8 objects, and is used as in index into the embedder data slots of a
// v8::Isolate.

enum GinEmbedder {
  kEmbedderNativeGin,
  kEmbedderBlink,
};

}  // namespace gin

#endif  // GIN_PUBLIC_GIN_EMBEDDERS_H_