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

Side by Side Diff: Source/core/inspector/NetworkResourcesData.cpp

Issue 18444005: core/inspector: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 5 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
OLDNEW
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 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/inspector/NetworkResourcesData.h" 30 #include "core/inspector/NetworkResourcesData.h"
31 31
32 #include "core/dom/DOMImplementation.h" 32 #include "core/dom/DOMImplementation.h"
33 #include "core/loader/TextResourceDecoder.h" 33 #include "core/loader/TextResourceDecoder.h"
34 #include "core/loader/cache/CachedResource.h" 34 #include "core/loader/cache/CachedResource.h"
35 #include "core/platform/SharedBuffer.h" 35 #include "core/platform/SharedBuffer.h"
36 #include "core/platform/network/ResourceResponse.h" 36 #include "core/platform/network/ResourceResponse.h"
37 #include <wtf/MemoryInstrumentationHashMap.h> 37 #include "wtf/MemoryInstrumentationHashMap.h"
38 38
39 namespace { 39 namespace {
40 // 100MB 40 // 100MB
41 static size_t maximumResourcesContentSize = 100 * 1000 * 1000; 41 static size_t maximumResourcesContentSize = 100 * 1000 * 1000;
42 42
43 // 10MB 43 // 10MB
44 static size_t maximumSingleResourceContentSize = 10 * 1000 * 1000; 44 static size_t maximumSingleResourceContentSize = 10 * 1000 * 1000;
45 } 45 }
46 46
47 namespace WebCore { 47 namespace WebCore {
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 void NetworkResourcesData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 415 void NetworkResourcesData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
416 { 416 {
417 MemoryClassInfo info(memoryObjectInfo, this); 417 MemoryClassInfo info(memoryObjectInfo, this);
418 info.addMember(m_requestIdsDeque, "requestIdsDeque"); 418 info.addMember(m_requestIdsDeque, "requestIdsDeque");
419 info.addMember(m_reusedXHRReplayDataRequestIds, "reusedXHRReplayDataRequestI ds"); 419 info.addMember(m_reusedXHRReplayDataRequestIds, "reusedXHRReplayDataRequestI ds");
420 info.addMember(m_requestIdToResourceDataMap, "requestIdToResourceDataMap"); 420 info.addMember(m_requestIdToResourceDataMap, "requestIdToResourceDataMap");
421 } 421 }
422 422
423 } // namespace WebCore 423 } // namespace WebCore
424 424
OLDNEW
« no previous file with comments | « Source/core/inspector/MemoryInstrumentationImpl.h ('k') | Source/core/inspector/PageConsoleAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698