| OLD | NEW |
| 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 Loading... |
| 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 typedef WillBeHeapHashMap<ThreadableLoaderClient*, RefPtrWillBeMember<XHRRep
layData> > PendingXHRReplayDataMap; | 165 ThreadableLoaderClient* m_pendingXHR; |
| 166 PendingXHRReplayDataMap m_pendingXHRReplayData; | 166 RefPtrWillBeMember<XHRReplayData> 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 Loading... |
| 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) |
| OLD | NEW |