OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 class KURL; | 51 class KURL; |
52 class MutationObserver; | 52 class MutationObserver; |
53 class ThreadableLoaderClient; | 53 class ThreadableLoaderClient; |
54 class XMLHttpRequest; | 54 class XMLHttpRequest; |
55 | 55 |
56 class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFi
nalized<AsyncCallTracker>, public InspectorDebuggerAgent::AsyncCallTrackingListe
ner { | 56 class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFi
nalized<AsyncCallTracker>, public InspectorDebuggerAgent::AsyncCallTrackingListe
ner { |
57 WTF_MAKE_NONCOPYABLE(AsyncCallTracker); | 57 WTF_MAKE_NONCOPYABLE(AsyncCallTracker); |
58 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AsyncCallTracker); | 58 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AsyncCallTracker); |
59 public: | 59 public: |
60 AsyncCallTracker(InspectorDebuggerAgent*, InstrumentingAgents*); | 60 AsyncCallTracker(InspectorDebuggerAgent*, InstrumentingAgents*); |
61 virtual ~AsyncCallTracker(); | 61 ~AsyncCallTracker() override; |
62 | 62 |
63 // InspectorDebuggerAgent::AsyncCallTrackingListener implementation: | 63 // InspectorDebuggerAgent::AsyncCallTrackingListener implementation: |
64 void asyncCallTrackingStateChanged(bool tracking) override; | 64 void asyncCallTrackingStateChanged(bool tracking) override; |
65 void resetAsyncOperations() override; | 65 void resetAsyncOperations() override; |
66 | 66 |
67 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl
eShot); | 67 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl
eShot); |
68 void didRemoveTimer(ExecutionContext*, int timerId); | 68 void didRemoveTimer(ExecutionContext*, int timerId); |
69 bool willFireTimer(ExecutionContext*, int timerId); | 69 bool willFireTimer(ExecutionContext*, int timerId); |
70 void didFireTimer() { didFireAsyncCall(); } | 70 void didFireTimer() { didFireAsyncCall(); } |
71 | 71 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 using ExecutionContextDataMap = WillBeHeapHashMap<RawPtrWillBeMember<Executi
onContext>, OwnPtrWillBeMember<ExecutionContextData>>; | 114 using ExecutionContextDataMap = WillBeHeapHashMap<RawPtrWillBeMember<Executi
onContext>, OwnPtrWillBeMember<ExecutionContextData>>; |
115 ExecutionContextDataMap m_executionContextDataMap; | 115 ExecutionContextDataMap m_executionContextDataMap; |
116 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; | 116 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; |
117 RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; | 117 RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; |
118 }; | 118 }; |
119 | 119 |
120 } // namespace blink | 120 } // namespace blink |
121 | 121 |
122 #endif // AsyncCallTracker_h | 122 #endif // AsyncCallTracker_h |
OLD | NEW |