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

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

Issue 1436793002: Oilpan: move NetworkResourcesData to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non-oilpan compile fix Created 5 years, 1 month 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 | third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void willSendRequestInternal(LocalFrame*, unsigned long identifier, Document Loader*, const ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); 161 void willSendRequestInternal(LocalFrame*, unsigned long identifier, Document Loader*, const ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&);
162 void delayedRemoveReplayXHR(XMLHttpRequest*); 162 void delayedRemoveReplayXHR(XMLHttpRequest*);
163 void removeFinishedReplayXHRFired(Timer<InspectorResourceAgent>*); 163 void removeFinishedReplayXHRFired(Timer<InspectorResourceAgent>*);
164 void didFinishXHRInternal(ExecutionContext*, XMLHttpRequest*, ThreadableLoad erClient*, const AtomicString&, const String&, bool); 164 void didFinishXHRInternal(ExecutionContext*, XMLHttpRequest*, ThreadableLoad erClient*, const AtomicString&, const String&, bool);
165 165
166 bool getResponseBodyBlob(const String& requestId, PassRefPtrWillBeRawPtr<Get ResponseBodyCallback>); 166 bool getResponseBodyBlob(const String& requestId, PassRefPtrWillBeRawPtr<Get ResponseBodyCallback>);
167 167
168 InspectedFrames* m_inspectedFrames; 168 InspectedFrames* m_inspectedFrames;
169 String m_userAgentOverride; 169 String m_userAgentOverride;
170 String m_hostId; 170 String m_hostId;
171 OwnPtr<NetworkResourcesData> m_resourcesData; 171 OwnPtrWillBeMember<NetworkResourcesData> m_resourcesData;
172 172
173 typedef HashMap<ThreadableLoaderClient*, unsigned long> ThreadableLoaderClie ntRequestIdMap; 173 typedef HashMap<ThreadableLoaderClient*, unsigned long> ThreadableLoaderClie ntRequestIdMap;
174 174
175 // Stores the pending ThreadableLoaderClient till an identifier for 175 // Stores the pending ThreadableLoaderClient till an identifier for
176 // the load is generated by the loader and passed to the inspector 176 // the load is generated by the loader and passed to the inspector
177 // via the documentThreadableLoaderStartedLoadingForClient() method. 177 // via the documentThreadableLoaderStartedLoadingForClient() method.
178 ThreadableLoaderClient* m_pendingRequest; 178 ThreadableLoaderClient* m_pendingRequest;
179 InspectorPageAgent::ResourceType m_pendingRequestType; 179 InspectorPageAgent::ResourceType m_pendingRequestType;
180 ThreadableLoaderClientRequestIdMap m_knownRequestIdMap; 180 ThreadableLoaderClientRequestIdMap m_knownRequestIdMap;
181 181
182 RefPtrWillBeMember<XHRReplayData> m_pendingXHRReplayData; 182 RefPtrWillBeMember<XHRReplayData> m_pendingXHRReplayData;
183 183
184 typedef HashMap<String, RefPtr<TypeBuilder::Network::Initiator> > FrameNavig ationInitiatorMap; 184 typedef HashMap<String, RefPtr<TypeBuilder::Network::Initiator> > FrameNavig ationInitiatorMap;
185 FrameNavigationInitiatorMap m_frameNavigationInitiatorMap; 185 FrameNavigationInitiatorMap m_frameNavigationInitiatorMap;
186 186
187 // FIXME: InspectorResourceAgent should now be aware of style recalculation. 187 // FIXME: InspectorResourceAgent should now be aware of style recalculation.
188 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; 188 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator;
189 bool m_isRecalculatingStyle; 189 bool m_isRecalculatingStyle;
190 190
191 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; 191 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
192 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRsT oBeDeleted; 192 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRsT oBeDeleted;
193 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer; 193 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer;
194 }; 194 };
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 198
199 #endif // !defined(InspectorResourceAgent_h) 199 #endif // !defined(InspectorResourceAgent_h)
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698