Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: src/keys.h

Issue 2087823002: Optionally invoke an interceptor on failed access checks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/isolate.cc ('k') | src/keys.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project 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 V8_KEYS_H_ 5 #ifndef V8_KEYS_H_
6 #define V8_KEYS_H_ 6 #define V8_KEYS_H_
7 7
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 bool filter_proxy_keys = true, bool is_for_in = false); 42 bool filter_proxy_keys = true, bool is_for_in = false);
43 43
44 Handle<FixedArray> GetKeys( 44 Handle<FixedArray> GetKeys(
45 GetKeysConversion convert = GetKeysConversion::kKeepNumbers); 45 GetKeysConversion convert = GetKeysConversion::kKeepNumbers);
46 Maybe<bool> CollectKeys(Handle<JSReceiver> receiver, 46 Maybe<bool> CollectKeys(Handle<JSReceiver> receiver,
47 Handle<JSReceiver> object); 47 Handle<JSReceiver> object);
48 Maybe<bool> CollectOwnElementIndices(Handle<JSReceiver> receiver, 48 Maybe<bool> CollectOwnElementIndices(Handle<JSReceiver> receiver,
49 Handle<JSObject> object); 49 Handle<JSObject> object);
50 Maybe<bool> CollectOwnPropertyNames(Handle<JSReceiver> receiver, 50 Maybe<bool> CollectOwnPropertyNames(Handle<JSReceiver> receiver,
51 Handle<JSObject> object); 51 Handle<JSObject> object);
52 Maybe<bool> CollectAccessCheckInterceptorKeys(
53 Handle<AccessCheckInfo> access_check_info, Handle<JSReceiver> receiver,
54 Handle<JSObject> object);
52 55
53 static Handle<FixedArray> GetEnumPropertyKeys(Isolate* isolate, 56 static Handle<FixedArray> GetEnumPropertyKeys(Isolate* isolate,
54 Handle<JSObject> object); 57 Handle<JSObject> object);
55 58
56 void AddKey(Object* key, AddKeyConversion convert = DO_NOT_CONVERT); 59 void AddKey(Object* key, AddKeyConversion convert = DO_NOT_CONVERT);
57 void AddKey(Handle<Object> key, AddKeyConversion convert = DO_NOT_CONVERT); 60 void AddKey(Handle<Object> key, AddKeyConversion convert = DO_NOT_CONVERT);
58 void AddKeys(Handle<FixedArray> array, AddKeyConversion convert); 61 void AddKeys(Handle<FixedArray> array, AddKeyConversion convert);
59 void AddKeys(Handle<JSObject> array_like, AddKeyConversion convert); 62 void AddKeys(Handle<JSObject> array_like, AddKeyConversion convert);
60 63
61 // Jump to the next level, pushing the current |levelLength_| to 64 // Jump to the next level, pushing the current |levelLength_| to
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 bool is_receiver_simple_enum_ = false; 133 bool is_receiver_simple_enum_ = false;
131 bool has_empty_prototype_ = false; 134 bool has_empty_prototype_ = false;
132 135
133 DISALLOW_COPY_AND_ASSIGN(FastKeyAccumulator); 136 DISALLOW_COPY_AND_ASSIGN(FastKeyAccumulator);
134 }; 137 };
135 138
136 } // namespace internal 139 } // namespace internal
137 } // namespace v8 140 } // namespace v8
138 141
139 #endif // V8_KEYS_H_ 142 #endif // V8_KEYS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698