OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_INSPECTOR_V8INJECTEDSCRIPTHOST_H_ | 5 #ifndef V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_ |
6 #define V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_ | 6 #define V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_ |
7 | 7 |
8 #include <v8.h> | 8 #include "include/v8.h" |
9 | 9 |
10 namespace v8_inspector { | 10 namespace v8_inspector { |
11 | 11 |
12 class V8InspectorImpl; | 12 class V8InspectorImpl; |
13 | 13 |
14 // SECURITY NOTE: Although the InjectedScriptHost is intended for use solely by | 14 // SECURITY NOTE: Although the InjectedScriptHost is intended for use solely by |
15 // the inspector, | 15 // the inspector, |
16 // a reference to the InjectedScriptHost may be leaked to the page being | 16 // a reference to the InjectedScriptHost may be leaked to the page being |
17 // inspected. Thus, the | 17 // inspected. Thus, the |
18 // InjectedScriptHost must never implemment methods that have more power over | 18 // InjectedScriptHost must never implemment methods that have more power over |
(...skipping 18 matching lines...) Expand all Loading... |
37 static void objectHasOwnPropertyCallback( | 37 static void objectHasOwnPropertyCallback( |
38 const v8::FunctionCallbackInfo<v8::Value>&); | 38 const v8::FunctionCallbackInfo<v8::Value>&); |
39 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 39 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
40 static void proxyTargetValueCallback( | 40 static void proxyTargetValueCallback( |
41 const v8::FunctionCallbackInfo<v8::Value>&); | 41 const v8::FunctionCallbackInfo<v8::Value>&); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace v8_inspector | 44 } // namespace v8_inspector |
45 | 45 |
46 #endif // V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_ | 46 #endif // V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_ |
OLD | NEW |