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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8JavaScriptCallFrame.h

Issue 1804043002: Revert of Remove V8RecrusionScope, cleanup call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 V8JavaScriptCallFrame_h 5 #ifndef V8JavaScriptCallFrame_h
6 #define V8JavaScriptCallFrame_h 6 #define V8JavaScriptCallFrame_h
7 7
8 #include "platform/inspector_protocol/Allocator.h" 8 #include "platform/inspector_protocol/Allocator.h"
9 #include "wtf/PassOwnPtr.h" 9 #include "wtf/PassOwnPtr.h"
10 #include <v8.h> 10 #include <v8.h>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class JavaScriptCallFrame; 14 class JavaScriptCallFrame;
15 class V8DebuggerClient; 15 class V8DebuggerClient;
16 16
17 class V8JavaScriptCallFrame { 17 class V8JavaScriptCallFrame {
18 public: 18 public:
19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); 19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*);
20 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo rTemplate, v8::Local<v8::Context>, PassOwnPtr<JavaScriptCallFrame>); 20 static v8::Local<v8::Object> wrap(V8DebuggerClient*, v8::Local<v8::FunctionT emplate> constructorTemplate, v8::Local<v8::Context>, PassOwnPtr<JavaScriptCallF rame>);
21 static JavaScriptCallFrame* unwrap(v8::Local<v8::Context>, v8::Local<v8::Obj ect>); 21 static JavaScriptCallFrame* unwrap(v8::Local<v8::Context>, v8::Local<v8::Obj ect>);
22 }; 22 };
23 23
24 } // namespace blink 24 } // namespace blink
25 25
26 #endif // V8JavaScriptCallFrame_h 26 #endif // V8JavaScriptCallFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698