| Index: third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h b/third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h
|
| deleted file mode 100644
|
| index 9af348d4ccc31a56abda8a044cc6b08f8791533f..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h
|
| +++ /dev/null
|
| @@ -1,55 +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 V8AsyncCallTracker_h
|
| -#define V8AsyncCallTracker_h
|
| -
|
| -#include "platform/inspector_protocol/Allocator.h"
|
| -#include "platform/inspector_protocol/Collections.h"
|
| -#include "platform/v8_inspector/V8DebuggerAgentImpl.h"
|
| -
|
| -#include <v8.h>
|
| -
|
| -namespace blink {
|
| -
|
| -class V8AsyncCallTracker final {
|
| - PROTOCOL_DISALLOW_COPY(V8AsyncCallTracker);
|
| -public:
|
| - static PassOwnPtr<V8AsyncCallTracker> create(V8DebuggerAgentImpl* debuggerAgent)
|
| - {
|
| - return adoptPtr(new V8AsyncCallTracker(debuggerAgent));
|
| - }
|
| -
|
| - ~V8AsyncCallTracker();
|
| -
|
| - void asyncCallTrackingStateChanged(bool tracking);
|
| - void resetAsyncOperations();
|
| -
|
| - void didReceiveV8AsyncTaskEvent(v8::Local<v8::Context>, const String16& eventType, const String16& eventName, int id);
|
| -
|
| - void contextDisposed(int contextId);
|
| -
|
| -private:
|
| - struct Operations {
|
| - protocol::HashMap<String16, int> map;
|
| - int contextId;
|
| - V8AsyncCallTracker* target;
|
| - v8::Global<v8::Context> context;
|
| - };
|
| -
|
| - static void weakCallback(const v8::WeakCallbackInfo<Operations>& data);
|
| -
|
| - explicit V8AsyncCallTracker(V8DebuggerAgentImpl*);
|
| -
|
| - void didEnqueueV8AsyncTask(v8::Local<v8::Context>, const String16& eventName, int id);
|
| - void willHandleV8AsyncTask(v8::Local<v8::Context>, const String16& eventName, int id);
|
| - void completeOperations(const protocol::HashMap<String16, int>& contextCallChains);
|
| -
|
| - V8DebuggerAgentImpl* m_debuggerAgent;
|
| - protocol::HashMap<int, OwnPtr<Operations>> m_idToOperations;
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif // V8AsyncCallTracker_h
|
|
|