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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h

Issue 1827993002: [DevTools] Remove promise inspector experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h
index f0cff42a7990583f7b26ae5d8f0bdcf1596be921..0a47745c1ebc1878247e090747b07d73964e39b7 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h
@@ -132,13 +132,6 @@ public:
PassOwnPtr<protocol::Runtime::CallArgument> newValue,
const String16& callFrame) override;
void setAsyncCallStackDepth(ErrorString*, int depth) override;
- void enablePromiseTracker(ErrorString*,
- const Maybe<bool>& captureStacks) override;
- void disablePromiseTracker(ErrorString*) override;
- void getPromiseById(ErrorString*,
- int promiseId,
- const Maybe<String16>& objectGroup,
- OwnPtr<protocol::Runtime::RemoteObject>* promise) override;
void flushAsyncOperationEvents(ErrorString*) override;
void setAsyncOperationBreakpoint(ErrorString*, int operationId) override;
void removeAsyncOperationBreakpoint(ErrorString*, int operationId) override;
@@ -167,7 +160,6 @@ public:
void traceAsyncOperationCompleted(int operationId) override;
bool trackingAsyncCalls() const override { return m_maxAsyncCallStackDepth; }
- void didUpdatePromise(const String16& eventType, PassOwnPtr<protocol::Debugger::PromiseDetails>);
void reset();
// Interface for V8DebuggerImpl
@@ -176,8 +168,6 @@ public:
void didParseSource(const V8DebuggerParsedScript&);
bool v8AsyncTaskEventsEnabled() const;
void didReceiveV8AsyncTaskEvent(v8::Local<v8::Context>, const String16& eventType, const String16& eventName, int id);
- bool v8PromiseEventsEnabled() const;
- void didReceiveV8PromiseEvent(v8::Local<v8::Context>, v8::Local<v8::Object> promise, v8::Local<v8::Value> parentPromise, int status);
v8::Isolate* isolate() { return m_isolate; }
int maxAsyncCallChainDepth() { return m_maxAsyncCallStackDepth; }
@@ -256,7 +246,6 @@ private:
// This field must be destroyed before the listeners set above.
OwnPtr<V8AsyncCallTracker> m_v8AsyncCallTracker;
- OwnPtr<PromiseTracker> m_promiseTracker;
using AsyncOperationIdToStackTrace = protocol::HashMap<int, OwnPtr<V8StackTraceImpl>>;
AsyncOperationIdToStackTrace m_asyncOperations;

Powered by Google App Engine
This is Rietveld 408576698