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

Unified Diff: sky/engine/v8_inspector/PromiseTracker.h

Issue 922053002: Remove unused V8 integration code in Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/v8_inspector/PageScriptDebugServer.cpp ('k') | sky/engine/v8_inspector/PromiseTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/v8_inspector/PromiseTracker.h
diff --git a/sky/engine/v8_inspector/PromiseTracker.h b/sky/engine/v8_inspector/PromiseTracker.h
deleted file mode 100644
index f497496d17e7a9db18cebb24aef68657ede9d0fd..0000000000000000000000000000000000000000
--- a/sky/engine/v8_inspector/PromiseTracker.h
+++ /dev/null
@@ -1,44 +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 SKY_ENGINE_V8_INSPECTOR_PROMISETRACKER_H_
-#define SKY_ENGINE_V8_INSPECTOR_PROMISETRACKER_H_
-
-#include "sky/engine/wtf/HashMap.h"
-#include "sky/engine/wtf/Noncopyable.h"
-#include "sky/engine/wtf/RefPtr.h"
-#include "sky/engine/wtf/Vector.h"
-#include "v8/include/v8.h"
-
-namespace blink {
-
-class ScriptState;
-
-class PromiseTracker {
- WTF_MAKE_NONCOPYABLE(PromiseTracker);
-public:
- PromiseTracker();
- ~PromiseTracker();
-
- bool isEnabled() const { return m_isEnabled; }
- void enable();
- void disable();
-
- void clear();
-
- void didReceiveV8PromiseEvent(ScriptState*, v8::Handle<v8::Object> promise, v8::Handle<v8::Value> parentPromise, int status);
-
- class PromiseData;
-
- typedef Vector<RefPtr<PromiseData> > PromiseDataVector;
- typedef HashMap<int, PromiseDataVector> PromiseDataMap;
-
-private:
- bool m_isEnabled;
- PromiseDataMap m_promiseDataMap;
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_V8_INSPECTOR_PROMISETRACKER_H_
« no previous file with comments | « sky/engine/v8_inspector/PageScriptDebugServer.cpp ('k') | sky/engine/v8_inspector/PromiseTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698