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

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

Issue 1175263003: Revert of [DevTools] Show sync XHR info during request loading. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 bool getResponseBodyBlob(const String& requestId, PassRefPtrWillBeRawPtr<Get ResponseBodyCallback>); 155 bool getResponseBodyBlob(const String& requestId, PassRefPtrWillBeRawPtr<Get ResponseBodyCallback>);
156 156
157 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 157 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
158 String m_userAgentOverride; 158 String m_userAgentOverride;
159 String m_hostId; 159 String m_hostId;
160 OwnPtr<NetworkResourcesData> m_resourcesData; 160 OwnPtr<NetworkResourcesData> m_resourcesData;
161 161
162 // Stores the data for replaying XHR until an identifier for the load is 162 // Stores the data for replaying XHR until an identifier for the load is
163 // generated by the loader and passed to the inspector via the 163 // generated by the loader and passed to the inspector via the
164 // documentThreadableLoaderStartedLoadingForClient() method. 164 // documentThreadableLoaderStartedLoadingForClient() method.
165 ThreadableLoaderClient* m_pendingXHR; 165 typedef WillBeHeapHashMap<ThreadableLoaderClient*, RefPtrWillBeMember<XHRRep layData> > PendingXHRReplayDataMap;
166 RefPtrWillBeMember<XHRReplayData> m_pendingXHRReplayData; 166 PendingXHRReplayDataMap m_pendingXHRReplayData;
167 167
168 // Stores the pointer to the ThreadableLoaderClient for an EventSource 168 // Stores the pointer to the ThreadableLoaderClient for an EventSource
169 // (actually, the EventSource instance itself) for which a loader is being 169 // (actually, the EventSource instance itself) for which a loader is being
170 // initialized, until an identifier for the load is generated by the loader 170 // initialized, until an identifier for the load is generated by the loader
171 // and passed to the inspector via the 171 // and passed to the inspector via the
172 // documentThreadableLoaderStartedLoadingForClient() method. 172 // documentThreadableLoaderStartedLoadingForClient() method.
173 // 173 //
174 // Since the DocumentThreadableLoader may call 174 // Since the DocumentThreadableLoader may call
175 // documentThreadableLoaderStartedLoadingForClient() only synchronously to 175 // documentThreadableLoaderStartedLoadingForClient() only synchronously to
176 // the creation of the loader, it's unnecessary to store the pointer to a 176 // the creation of the loader, it's unnecessary to store the pointer to a
(...skipping 11 matching lines...) Expand all
188 188
189 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRs; 189 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRs;
190 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRsToBeDelet ed; 190 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRsToBeDelet ed;
191 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer; 191 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer;
192 }; 192 };
193 193
194 } // namespace blink 194 } // namespace blink
195 195
196 196
197 #endif // !defined(InspectorResourceAgent_h) 197 #endif // !defined(InspectorResourceAgent_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698