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

Side by Side Diff: third_party/WebKit/Source/core/inspector/AsyncCallTracker.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class EventListener; 46 class EventListener;
47 class EventTarget; 47 class EventTarget;
48 class ExecutionContext; 48 class ExecutionContext;
49 class ExecutionContextTask; 49 class ExecutionContextTask;
50 class HTTPHeaderMap; 50 class HTTPHeaderMap;
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> { 56 class CORE_EXPORT AsyncCallTracker final : public GarbageCollectedFinalized<Asyn cCallTracker> {
57 WTF_MAKE_NONCOPYABLE(AsyncCallTracker); 57 WTF_MAKE_NONCOPYABLE(AsyncCallTracker);
58 USING_FAST_MALLOC_WILL_BE_REMOVED(AsyncCallTracker);
59 public: 58 public:
60 AsyncCallTracker(V8DebuggerAgent*, InstrumentingAgents*); 59 AsyncCallTracker(V8DebuggerAgent*, InstrumentingAgents*);
61 ~AsyncCallTracker(); 60 ~AsyncCallTracker();
62 61
63 void asyncCallTrackingStateChanged(bool tracking); 62 void asyncCallTrackingStateChanged(bool tracking);
64 void resetAsyncOperations(); 63 void resetAsyncOperations();
65 64
66 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot); 65 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot);
67 void didRemoveTimer(ExecutionContext*, int timerId); 66 void didRemoveTimer(ExecutionContext*, int timerId);
68 bool willFireTimer(ExecutionContext*, int timerId); 67 bool willFireTimer(ExecutionContext*, int timerId);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 102
104 private: 103 private:
105 void willHandleXHREvent(XMLHttpRequest*, Event*); 104 void willHandleXHREvent(XMLHttpRequest*, Event*);
106 105
107 bool isKnownAsyncOperationId(ExecutionContext*, int operationId) const; 106 bool isKnownAsyncOperationId(ExecutionContext*, int operationId) const;
108 void willFireAsyncCall(int operationId); 107 void willFireAsyncCall(int operationId);
109 void didFireAsyncCall(); 108 void didFireAsyncCall();
110 109
111 ExecutionContextData* createContextDataIfNeeded(ExecutionContext*); 110 ExecutionContextData* createContextDataIfNeeded(ExecutionContext*);
112 111
113 using ExecutionContextDataMap = WillBeHeapHashMap<RawPtrWillBeMember<Executi onContext>, OwnPtrWillBeMember<ExecutionContextData>>; 112 using ExecutionContextDataMap = HeapHashMap<Member<ExecutionContext>, Member <ExecutionContextData>>;
114 ExecutionContextDataMap m_executionContextDataMap; 113 ExecutionContextDataMap m_executionContextDataMap;
115 V8DebuggerAgent* m_debuggerAgent; 114 V8DebuggerAgent* m_debuggerAgent;
116 RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; 115 Member<InstrumentingAgents> m_instrumentingAgents;
117 }; 116 };
118 117
119 } // namespace blink 118 } // namespace blink
120 119
121 #endif // AsyncCallTracker_h 120 #endif // AsyncCallTracker_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698