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

Side by Side Diff: third_party/WebKit/Source/core/inspector/ThreadDebugger.h

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ThreadDebugger_h 5 #ifndef ThreadDebugger_h
6 #define ThreadDebugger_h 6 #define ThreadDebugger_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/Timer.h" 9 #include "platform/Timer.h"
10 #include "platform/UserGestureIndicator.h" 10 #include "platform/UserGestureIndicator.h"
(...skipping 21 matching lines...) Expand all
32 static void didExecuteScript(v8::Isolate*); 32 static void didExecuteScript(v8::Isolate*);
33 static void idleStarted(v8::Isolate*); 33 static void idleStarted(v8::Isolate*);
34 static void idleFinished(v8::Isolate*); 34 static void idleFinished(v8::Isolate*);
35 35
36 void asyncTaskScheduled(const String& taskName, void* task, bool recurring); 36 void asyncTaskScheduled(const String& taskName, void* task, bool recurring);
37 void asyncTaskCanceled(void* task); 37 void asyncTaskCanceled(void* task);
38 void allAsyncTasksCanceled(); 38 void allAsyncTasksCanceled();
39 void asyncTaskStarted(void* task); 39 void asyncTaskStarted(void* task);
40 void asyncTaskFinished(void* task); 40 void asyncTaskFinished(void* task);
41 unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessag e, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>); 41 unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessag e, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>);
42 void promiseRejectionRevoked(v8::Local<v8::Context>, unsigned promiseRejecti onId);
42 43
43 // V8DebuggerClient implementation. 44 // V8DebuggerClient implementation.
44 void beginUserGesture() override; 45 void beginUserGesture() override;
45 void endUserGesture() override; 46 void endUserGesture() override;
46 String16 valueSubtype(v8::Local<v8::Value>) override; 47 String16 valueSubtype(v8::Local<v8::Value>) override;
47 bool formatAccessorsAsProperties(v8::Local<v8::Value>) override; 48 bool formatAccessorsAsProperties(v8::Local<v8::Value>) override;
48 bool isExecutionAllowed() override; 49 bool isExecutionAllowed() override;
49 double currentTimeMS() override; 50 double currentTimeMS() override;
50 bool isInspectableHeapObject(v8::Local<v8::Object>) override; 51 bool isInspectableHeapObject(v8::Local<v8::Object>) override;
51 void enableAsyncInstrumentation() override; 52 void enableAsyncInstrumentation() override;
(...skipping 27 matching lines...) Expand all
79 bool m_asyncInstrumentationEnabled; 80 bool m_asyncInstrumentationEnabled;
80 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers; 81 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers;
81 Vector<V8DebuggerClient::TimerCallback> m_timerCallbacks; 82 Vector<V8DebuggerClient::TimerCallback> m_timerCallbacks;
82 Vector<void*> m_timerData; 83 Vector<void*> m_timerData;
83 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator; 84 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator;
84 }; 85 };
85 86
86 } // namespace blink 87 } // namespace blink
87 88
88 #endif // ThreadDebugger_h 89 #endif // ThreadDebugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698