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 * * 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "core/inspector/InspectorState.h" | 43 #include "core/inspector/InspectorState.h" |
44 #include "core/inspector/InstrumentingAgents.h" | 44 #include "core/inspector/InstrumentingAgents.h" |
45 #include "core/inspector/NetworkResourcesData.h" | 45 #include "core/inspector/NetworkResourcesData.h" |
46 #include "core/inspector/ScriptCallStack.h" | 46 #include "core/inspector/ScriptCallStack.h" |
47 #include "core/loader/DocumentLoader.h" | 47 #include "core/loader/DocumentLoader.h" |
48 #include "core/loader/DocumentThreadableLoader.h" | 48 #include "core/loader/DocumentThreadableLoader.h" |
49 #include "core/loader/FrameLoader.h" | 49 #include "core/loader/FrameLoader.h" |
50 #include "core/loader/ResourceLoader.h" | 50 #include "core/loader/ResourceLoader.h" |
51 #include "core/loader/ThreadableLoader.h" | 51 #include "core/loader/ThreadableLoader.h" |
52 #include "core/loader/ThreadableLoaderClient.h" | 52 #include "core/loader/ThreadableLoaderClient.h" |
53 #include "core/loader/UniqueIdentifier.h" | |
54 #include "core/loader/cache/CachedRawResource.h" | |
55 #include "core/loader/cache/CachedResource.h" | 53 #include "core/loader/cache/CachedResource.h" |
56 #include "core/loader/cache/CachedResourceInitiatorInfo.h" | 54 #include "core/loader/cache/CachedResourceInitiatorInfo.h" |
57 #include "core/loader/cache/MemoryCache.h" | 55 #include "core/loader/cache/MemoryCache.h" |
58 #include "core/page/Frame.h" | 56 #include "core/page/Frame.h" |
59 #include "core/page/Page.h" | 57 #include "core/page/Page.h" |
60 #include "core/platform/JSONValues.h" | 58 #include "core/platform/JSONValues.h" |
61 #include "core/platform/network/HTTPHeaderMap.h" | 59 #include "core/platform/network/HTTPHeaderMap.h" |
62 #include "core/platform/network/ResourceError.h" | 60 #include "core/platform/network/ResourceError.h" |
63 #include "core/platform/network/ResourceRequest.h" | 61 #include "core/platform/network/ResourceRequest.h" |
64 #include "core/platform/network/ResourceResponse.h" | 62 #include "core/platform/network/ResourceResponse.h" |
65 #include "core/xml/XMLHttpRequest.h" | 63 #include "core/xml/XMLHttpRequest.h" |
66 #include "modules/websockets/WebSocketFrame.h" | 64 #include "modules/websockets/WebSocketFrame.h" |
67 #include "modules/websockets/WebSocketHandshakeRequest.h" | 65 #include "modules/websockets/WebSocketHandshakeRequest.h" |
68 #include "modules/websockets/WebSocketHandshakeResponse.h" | 66 #include "modules/websockets/WebSocketHandshakeResponse.h" |
69 #include "weborigin/KURL.h" | 67 #include "weborigin/KURL.h" |
70 #include "wtf/CurrentTime.h" | 68 #include "wtf/CurrentTime.h" |
71 #include "wtf/HexNumber.h" | |
72 #include "wtf/ListHashSet.h" | |
73 #include "wtf/MemoryInstrumentationHashMap.h" | 69 #include "wtf/MemoryInstrumentationHashMap.h" |
74 #include "wtf/RefPtr.h" | 70 #include "wtf/RefPtr.h" |
75 #include "wtf/text/StringBuilder.h" | |
76 | 71 |
77 typedef WebCore::InspectorBackendDispatcher::NetworkCommandHandler::LoadResource
ForFrontendCallback LoadResourceForFrontendCallback; | 72 typedef WebCore::InspectorBackendDispatcher::NetworkCommandHandler::LoadResource
ForFrontendCallback LoadResourceForFrontendCallback; |
78 | 73 |
79 namespace WebCore { | 74 namespace WebCore { |
80 | 75 |
81 namespace ResourceAgentState { | 76 namespace ResourceAgentState { |
82 static const char resourceAgentEnabled[] = "resourceAgentEnabled"; | 77 static const char resourceAgentEnabled[] = "resourceAgentEnabled"; |
83 static const char extraRequestHeaders[] = "extraRequestHeaders"; | 78 static const char extraRequestHeaders[] = "extraRequestHeaders"; |
84 static const char cacheDisabled[] = "cacheDisabled"; | 79 static const char cacheDisabled[] = "cacheDisabled"; |
85 static const char userAgentOverride[] = "userAgentOverride"; | 80 static const char userAgentOverride[] = "userAgentOverride"; |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 , m_overlay(overlay) | 780 , m_overlay(overlay) |
786 , m_frontend(0) | 781 , m_frontend(0) |
787 , m_resourcesData(adoptPtr(new NetworkResourcesData())) | 782 , m_resourcesData(adoptPtr(new NetworkResourcesData())) |
788 , m_loadingXHRSynchronously(false) | 783 , m_loadingXHRSynchronously(false) |
789 , m_isRecalculatingStyle(false) | 784 , m_isRecalculatingStyle(false) |
790 { | 785 { |
791 } | 786 } |
792 | 787 |
793 } // namespace WebCore | 788 } // namespace WebCore |
794 | 789 |
OLD | NEW |