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

Unified Diff: sky/engine/core/inspector/PromiseTracker.h

Issue 772563003: Move many of v8_inspector dependencies out of core/ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/core/inspector/JSONParser.cpp ('k') | sky/engine/core/inspector/PromiseTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/inspector/PromiseTracker.h
diff --git a/sky/engine/core/inspector/PromiseTracker.h b/sky/engine/core/inspector/PromiseTracker.h
deleted file mode 100644
index 310208e44dae8183237aea2cfdf8a84ee7ea2851..0000000000000000000000000000000000000000
--- a/sky/engine/core/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_CORE_INSPECTOR_PROMISETRACKER_H_
-#define SKY_ENGINE_CORE_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_CORE_INSPECTOR_PROMISETRACKER_H_
« no previous file with comments | « sky/engine/core/inspector/JSONParser.cpp ('k') | sky/engine/core/inspector/PromiseTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698