Make SimpleCache creation threadsafe.
[chromium-blink-merge.git] / gin / public / gin_embedders.h
blobbffe6e0856e52a932a0c8f5bd52ea40f3d2693f1
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.
5 #ifndef GIN_PUBLIC_GIN_EMBEDDERS_H_
6 #define GIN_PUBLIC_GIN_EMBEDDERS_H_
8 namespace gin {
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.
14 enum GinEmbedder {
15 kEmbedderNativeGin,
16 kEmbedderBlink,
19 } // namespace gin
21 #endif // GIN_PUBLIC_GIN_EMBEDDERS_H_