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

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

Issue 2010603002: Use SourceLocation when reporting runtime exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2004243002
Patch Set: test fixes Created 4 years, 6 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 V8Debugger_h 5 #ifndef V8Debugger_h
6 #define V8Debugger_h 6 #define V8Debugger_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/inspector_protocol/Frontend.h" 9 #include "platform/inspector_protocol/Frontend.h"
10 #include "wtf/PtrUtil.h" 10 #include "wtf/PtrUtil.h"
(...skipping 29 matching lines...) Expand all
40 virtual void idleStarted() = 0; 40 virtual void idleStarted() = 0;
41 virtual void idleFinished() = 0; 41 virtual void idleFinished() = 0;
42 42
43 virtual std::unique_ptr<V8InspectorSession> connect(int contextGroupId, V8In spectorSessionClient*, const String16* state) = 0; 43 virtual std::unique_ptr<V8InspectorSession> connect(int contextGroupId, V8In spectorSessionClient*, const String16* state) = 0;
44 virtual bool isPaused() = 0; 44 virtual bool isPaused() = 0;
45 45
46 static v8::Local<v8::Private> scopeExtensionPrivate(v8::Isolate*); 46 static v8::Local<v8::Private> scopeExtensionPrivate(v8::Isolate*);
47 static bool isCommandLineAPIMethod(const String16& name); 47 static bool isCommandLineAPIMethod(const String16& name);
48 static bool isCommandLineAPIGetter(const String16& name); 48 static bool isCommandLineAPIGetter(const String16& name);
49 49
50 virtual std::unique_ptr<V8StackTrace> createStackTrace(v8::Local<v8::StackTr ace>, size_t maxStackSize) = 0; 50 virtual std::unique_ptr<V8StackTrace> createStackTrace(v8::Local<v8::StackTr ace>) = 0;
51 virtual std::unique_ptr<V8StackTrace> captureStackTrace(size_t maxStackSize) = 0; 51 virtual std::unique_ptr<V8StackTrace> captureStackTrace(size_t maxStackSize) = 0;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 56
57 #endif // V8Debugger_h 57 #endif // V8Debugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698