| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_INTERCEPTOR_H_ | 5 #ifndef GIN_INTERCEPTOR_H_ |
| 6 #define GIN_INTERCEPTOR_H_ | 6 #define GIN_INTERCEPTOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
| 12 #include "gin/gin_export.h" | 14 #include "gin/gin_export.h" |
| 13 #include "v8/include/v8.h" | 15 #include "v8/include/v8.h" |
| 14 | 16 |
| 15 namespace gin { | 17 namespace gin { |
| 16 | 18 |
| 17 class WrappableBase; | 19 class WrappableBase; |
| 18 | 20 |
| 19 // Base class for gin::Wrappable-derived classes that want to implement a | 21 // Base class for gin::Wrappable-derived classes that want to implement a |
| 20 // property interceptor. | 22 // property interceptor. |
| 21 class GIN_EXPORT NamedPropertyInterceptor { | 23 class GIN_EXPORT NamedPropertyInterceptor { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 private: | 58 private: |
| 57 v8::Isolate* isolate_; | 59 v8::Isolate* isolate_; |
| 58 WrappableBase* base_; | 60 WrappableBase* base_; |
| 59 | 61 |
| 60 DISALLOW_COPY_AND_ASSIGN(IndexedPropertyInterceptor); | 62 DISALLOW_COPY_AND_ASSIGN(IndexedPropertyInterceptor); |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 } // namespace gin | 65 } // namespace gin |
| 64 | 66 |
| 65 #endif // GIN_INTERCEPTOR_H_ | 67 #endif // GIN_INTERCEPTOR_H_ |
| OLD | NEW |