| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PromiseTracker_h | 5 #ifndef SKY_ENGINE_CORE_INSPECTOR_PROMISETRACKER_H_ |
| 6 #define PromiseTracker_h | 6 #define SKY_ENGINE_CORE_INSPECTOR_PROMISETRACKER_H_ |
| 7 | 7 |
| 8 #include "sky/engine/wtf/HashMap.h" | 8 #include "sky/engine/wtf/HashMap.h" |
| 9 #include "sky/engine/wtf/Noncopyable.h" | 9 #include "sky/engine/wtf/Noncopyable.h" |
| 10 #include "sky/engine/wtf/RefPtr.h" | 10 #include "sky/engine/wtf/RefPtr.h" |
| 11 #include "sky/engine/wtf/Vector.h" | 11 #include "sky/engine/wtf/Vector.h" |
| 12 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class ScriptState; | 16 class ScriptState; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 typedef Vector<RefPtr<PromiseData> > PromiseDataVector; | 34 typedef Vector<RefPtr<PromiseData> > PromiseDataVector; |
| 35 typedef HashMap<int, PromiseDataVector> PromiseDataMap; | 35 typedef HashMap<int, PromiseDataVector> PromiseDataMap; |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 bool m_isEnabled; | 38 bool m_isEnabled; |
| 39 PromiseDataMap m_promiseDataMap; | 39 PromiseDataMap m_promiseDataMap; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace blink | 42 } // namespace blink |
| 43 | 43 |
| 44 #endif // !defined(PromiseTracker_h) | 44 #endif // SKY_ENGINE_CORE_INSPECTOR_PROMISETRACKER_H_ |
| OLD | NEW |