| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * | 10 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #include "config.h" | 29 #include "config.h" |
| 30 | 30 |
| 31 #if ENABLE(INSPECTOR) | |
| 32 | 31 |
| 33 #include "NetworkResourcesData.h" | 32 #include "NetworkResourcesData.h" |
| 34 | 33 |
| 35 #include "CachedResource.h" | 34 #include "CachedResource.h" |
| 36 #include "DOMImplementation.h" | 35 #include "DOMImplementation.h" |
| 37 #include "ResourceResponse.h" | 36 #include "ResourceResponse.h" |
| 38 #include "SharedBuffer.h" | 37 #include "SharedBuffer.h" |
| 39 #include "TextResourceDecoder.h" | 38 #include "TextResourceDecoder.h" |
| 40 #include <wtf/MemoryInstrumentationHashMap.h> | 39 #include <wtf/MemoryInstrumentationHashMap.h> |
| 41 | 40 |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 void NetworkResourcesData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo)
const | 417 void NetworkResourcesData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo)
const |
| 419 { | 418 { |
| 420 MemoryClassInfo info(memoryObjectInfo, this); | 419 MemoryClassInfo info(memoryObjectInfo, this); |
| 421 info.addMember(m_requestIdsDeque, "requestIdsDeque"); | 420 info.addMember(m_requestIdsDeque, "requestIdsDeque"); |
| 422 info.addMember(m_reusedXHRReplayDataRequestIds, "reusedXHRReplayDataRequestI
ds"); | 421 info.addMember(m_reusedXHRReplayDataRequestIds, "reusedXHRReplayDataRequestI
ds"); |
| 423 info.addMember(m_requestIdToResourceDataMap, "requestIdToResourceDataMap"); | 422 info.addMember(m_requestIdToResourceDataMap, "requestIdToResourceDataMap"); |
| 424 } | 423 } |
| 425 | 424 |
| 426 } // namespace WebCore | 425 } // namespace WebCore |
| 427 | 426 |
| 428 #endif // ENABLE(INSPECTOR) | |
| OLD | NEW |