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

Unified Diff: third_party/WebKit/Source/core/inspector/AsyncCallChain.h

Issue 1650283002: DevTools: remove DOM and Bindings dependencies from inspector/v8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 11 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/core/inspector/AsyncCallChain.h
diff --git a/third_party/WebKit/Source/core/inspector/AsyncCallChain.h b/third_party/WebKit/Source/core/inspector/AsyncCallChain.h
deleted file mode 100644
index 55383dd55b6891c606dc611c2bc3629f65d3370d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/inspector/AsyncCallChain.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef AsyncCallChain_h
-#define AsyncCallChain_h
-
-#include "wtf/Deque.h"
-#include "wtf/Forward.h"
-#include "wtf/RefCounted.h"
-#include "wtf/text/WTFString.h"
-#include <v8.h>
-
-namespace blink {
-
-class AsyncCallStack final : public RefCounted<AsyncCallStack> {
-public:
- AsyncCallStack(const String&, v8::Local<v8::Object>);
- ~AsyncCallStack();
-
- String description() const { return m_description; }
- v8::Local<v8::Object> callFrames(v8::Isolate* isolate) const { return v8::Local<v8::Object>::New(isolate, m_callFrames); }
-private:
- String m_description;
- v8::Global<v8::Object> m_callFrames;
-};
-
-using AsyncCallStackVector = Deque<RefPtr<AsyncCallStack>, 4>;
-
-class AsyncCallChain final : public RefCounted<AsyncCallChain> {
-public:
- static PassRefPtr<AsyncCallChain> create(v8::Local<v8::Context>, PassRefPtr<AsyncCallStack>, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength);
- ~AsyncCallChain();
- const AsyncCallStackVector& callStacks() const { return m_callStacks; }
- v8::Local<v8::Context> creationContext(v8::Isolate* isolate) const { return m_creationContext.Get(isolate); }
-
-private:
- AsyncCallChain(v8::Local<v8::Context>, PassRefPtr<AsyncCallStack>, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength);
-
- AsyncCallStackVector m_callStacks;
- v8::Global<v8::Context> m_creationContext;
-};
-
-} // namespace blink
-
-
-#endif // !defined(AsyncCallChain_h)

Powered by Google App Engine
This is Rietveld 408576698