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

Unified Diff: Source/core/inspector/AsyncCallStackTracker.h

Issue 466243002: Support merged Dart-JS callstacks (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/ScriptDebugServer.cpp ('k') | Source/core/inspector/AsyncCallStackTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/AsyncCallStackTracker.h
diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h
index daa6f9036b3e17decd8d0f4035ab1f9e3df2efe7..2323ad45f67b4c801aa76c3d64ee0e3b54744adf 100644
--- a/Source/core/inspector/AsyncCallStackTracker.h
+++ b/Source/core/inspector/AsyncCallStackTracker.h
@@ -54,13 +54,13 @@ class AsyncCallStackTracker {
public:
class AsyncCallStack : public RefCounted<AsyncCallStack> {
public:
- AsyncCallStack(const String&, const StackTrace&);
+ AsyncCallStack(const String&, const StackTraces&);
~AsyncCallStack();
String description() const { return m_description; }
- StackTrace callFrames() const { return m_callFrames; }
+ StackTraces callFrames() const { return m_callFrames; }
private:
String m_description;
- StackTrace m_callFrames;
+ StackTraces m_callFrames;
};
typedef Deque<RefPtr<AsyncCallStack>, 4> AsyncCallStackVector;
@@ -81,20 +81,20 @@ public:
void setAsyncCallStackDepth(int);
const AsyncCallChain* currentAsyncCallChain() const;
- void didInstallTimer(ExecutionContext*, int timerId, bool singleShot, const StackTrace& callFrames);
+ void didInstallTimer(ExecutionContext*, int timerId, bool singleShot, const StackTraces& callFrames);
void didRemoveTimer(ExecutionContext*, int timerId);
void willFireTimer(ExecutionContext*, int timerId);
- void didRequestAnimationFrame(ExecutionContext*, int callbackId, const StackTrace& callFrames);
+ void didRequestAnimationFrame(ExecutionContext*, int callbackId, const StackTraces& callFrames);
void didCancelAnimationFrame(ExecutionContext*, int callbackId);
void willFireAnimationFrame(ExecutionContext*, int callbackId);
- void didEnqueueEvent(EventTarget*, Event*, const StackTrace& callFrames);
+ void didEnqueueEvent(EventTarget*, Event*, const StackTraces& callFrames);
void didRemoveEvent(EventTarget*, Event*);
void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture);
- void willLoadXHR(XMLHttpRequest*, const StackTrace& callFrames);
+ void willLoadXHR(XMLHttpRequest*, const StackTraces& callFrames);
- void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const StackTrace& callFrames);
+ void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const StackTraces& callFrames);
bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*);
void didClearAllMutationRecords(ExecutionContext*, MutationObserver*);
void willDeliverMutationRecords(ExecutionContext*, MutationObserver*);
@@ -105,11 +105,11 @@ public:
private:
void willHandleXHREvent(XMLHttpRequest*, EventTarget*, Event*);
- PassRefPtr<AsyncCallChain> createAsyncCallChain(const String& description, const StackTrace& callFrames);
+ PassRefPtr<AsyncCallChain> createAsyncCallChain(const String& description, const StackTraces& callFrames);
void setCurrentAsyncCallChain(PassRefPtr<AsyncCallChain>);
void clearCurrentAsyncCallChain();
static void ensureMaxAsyncCallChainDepth(AsyncCallChain*, unsigned);
- static bool validateCallFrames(const StackTrace& callFrames);
+ static bool validateCallFrames(const StackTraces& callFrames);
class ExecutionContextData;
ExecutionContextData* createContextDataIfNeeded(ExecutionContext*);
« no previous file with comments | « Source/bindings/v8/ScriptDebugServer.cpp ('k') | Source/core/inspector/AsyncCallStackTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698