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

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

Issue 1308273007: Make classes and structures in core/inspector fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/core/inspector/IdentifiersFactory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class FormData; 48 class FormData;
49 class HTTPHeaderMap; 49 class HTTPHeaderMap;
50 class KURL; 50 class KURL;
51 class MutationObserver; 51 class MutationObserver;
52 class ThreadableLoaderClient; 52 class ThreadableLoaderClient;
53 class XMLHttpRequest; 53 class XMLHttpRequest;
54 54
55 class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFi nalized<AsyncCallTracker>, public V8DebuggerAgent::AsyncCallTrackingListener { 55 class CORE_EXPORT AsyncCallTracker final : public NoBaseWillBeGarbageCollectedFi nalized<AsyncCallTracker>, public V8DebuggerAgent::AsyncCallTrackingListener {
56 WTF_MAKE_NONCOPYABLE(AsyncCallTracker); 56 WTF_MAKE_NONCOPYABLE(AsyncCallTracker);
57 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AsyncCallTracker); 57 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AsyncCallTracker);
58 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(AsyncCallTracker);
58 public: 59 public:
59 AsyncCallTracker(V8DebuggerAgent*, InstrumentingAgents*); 60 AsyncCallTracker(V8DebuggerAgent*, InstrumentingAgents*);
60 ~AsyncCallTracker() override; 61 ~AsyncCallTracker() override;
61 62
62 // V8DebuggerAgent::AsyncCallTrackingListener implementation: 63 // V8DebuggerAgent::AsyncCallTrackingListener implementation:
63 void asyncCallTrackingStateChanged(bool tracking) override; 64 void asyncCallTrackingStateChanged(bool tracking) override;
64 void resetAsyncOperations() override; 65 void resetAsyncOperations() override;
65 66
66 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot); 67 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot);
67 void didRemoveTimer(ExecutionContext*, int timerId); 68 void didRemoveTimer(ExecutionContext*, int timerId);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 113
113 using ExecutionContextDataMap = WillBeHeapHashMap<RawPtrWillBeMember<Executi onContext>, OwnPtrWillBeMember<ExecutionContextData>>; 114 using ExecutionContextDataMap = WillBeHeapHashMap<RawPtrWillBeMember<Executi onContext>, OwnPtrWillBeMember<ExecutionContextData>>;
114 ExecutionContextDataMap m_executionContextDataMap; 115 ExecutionContextDataMap m_executionContextDataMap;
115 RawPtrWillBeMember<V8DebuggerAgent> m_debuggerAgent; 116 RawPtrWillBeMember<V8DebuggerAgent> m_debuggerAgent;
116 RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; 117 RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
117 }; 118 };
118 119
119 } // namespace blink 120 } // namespace blink
120 121
121 #endif // AsyncCallTracker_h 122 #endif // AsyncCallTracker_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/IdentifiersFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698