| 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 #include "gin/interceptor.h" | 5 #include "gin/interceptor.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <map> | 9 #include <map> |
| 8 | 10 |
| 9 #include "gin/per_isolate_data.h" | 11 #include "gin/per_isolate_data.h" |
| 10 | 12 |
| 11 namespace gin { | 13 namespace gin { |
| 12 | 14 |
| 13 NamedPropertyInterceptor::NamedPropertyInterceptor(v8::Isolate* isolate, | 15 NamedPropertyInterceptor::NamedPropertyInterceptor(v8::Isolate* isolate, |
| 14 WrappableBase* base) | 16 WrappableBase* base) |
| 15 : isolate_(isolate), base_(base) { | 17 : isolate_(isolate), base_(base) { |
| 16 PerIsolateData::From(isolate_)->SetNamedPropertyInterceptor(base_, this); | 18 PerIsolateData::From(isolate_)->SetNamedPropertyInterceptor(base_, this); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 v8::Local<v8::Value> value) { | 61 v8::Local<v8::Value> value) { |
| 60 return false; | 62 return false; |
| 61 } | 63 } |
| 62 | 64 |
| 63 std::vector<uint32_t> IndexedPropertyInterceptor::EnumerateIndexedProperties( | 65 std::vector<uint32_t> IndexedPropertyInterceptor::EnumerateIndexedProperties( |
| 64 v8::Isolate* isolate) { | 66 v8::Isolate* isolate) { |
| 65 return std::vector<uint32_t>(); | 67 return std::vector<uint32_t>(); |
| 66 } | 68 } |
| 67 | 69 |
| 68 } // namespace gin | 70 } // namespace gin |
| OLD | NEW |