OLD | NEW |
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_PER_CONTEXT_DATA_H_ | 5 #ifndef GIN_PER_CONTEXT_DATA_H_ |
6 #define GIN_PER_CONTEXT_DATA_H_ | 6 #define GIN_PER_CONTEXT_DATA_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
10 #include "gin/gin_export.h" | 10 #include "gin/gin_export.h" |
11 #include "v8/include/v8.h" | 11 #include "v8/include/v8.h" |
12 | 12 |
13 namespace gin { | 13 namespace gin { |
14 | 14 |
15 class ContextHolder; | 15 class ContextHolder; |
16 class Runner; | 16 class Runner; |
17 | 17 |
18 // There is one instance of PerContextData per v8::Context managed by Gin. This | 18 // There is one instance of PerContextData per v8::Context managed by Gin. This |
(...skipping 20 matching lines...) Expand all Loading... |
39 private: | 39 private: |
40 ContextHolder* context_holder_; | 40 ContextHolder* context_holder_; |
41 Runner* runner_; | 41 Runner* runner_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(PerContextData); | 43 DISALLOW_COPY_AND_ASSIGN(PerContextData); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace gin | 46 } // namespace gin |
47 | 47 |
48 #endif // GIN_PER_CONTEXT_DATA_H_ | 48 #endif // GIN_PER_CONTEXT_DATA_H_ |
OLD | NEW |