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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "core/inspector/InspectorState.h" | 42 #include "core/inspector/InspectorState.h" |
43 #include "core/inspector/InstrumentingAgents.h" | 43 #include "core/inspector/InstrumentingAgents.h" |
44 #include "core/inspector/NetworkResourcesData.h" | 44 #include "core/inspector/NetworkResourcesData.h" |
45 #include "core/inspector/ScriptCallStack.h" | 45 #include "core/inspector/ScriptCallStack.h" |
46 #include "core/loader/DocumentLoader.h" | 46 #include "core/loader/DocumentLoader.h" |
47 #include "core/loader/DocumentThreadableLoader.h" | 47 #include "core/loader/DocumentThreadableLoader.h" |
48 #include "core/loader/FrameLoader.h" | 48 #include "core/loader/FrameLoader.h" |
49 #include "core/loader/ResourceLoader.h" | 49 #include "core/loader/ResourceLoader.h" |
50 #include "core/loader/ThreadableLoader.h" | 50 #include "core/loader/ThreadableLoader.h" |
51 #include "core/loader/ThreadableLoaderClient.h" | 51 #include "core/loader/ThreadableLoaderClient.h" |
52 #include "core/loader/UniqueIdentifier.h" | |
53 #include "core/loader/cache/CachedRawResource.h" | |
54 #include "core/loader/cache/CachedResource.h" | 52 #include "core/loader/cache/CachedResource.h" |
55 #include "core/loader/cache/CachedResourceInitiatorInfo.h" | 53 #include "core/loader/cache/CachedResourceInitiatorInfo.h" |
56 #include "core/loader/cache/MemoryCache.h" | 54 #include "core/loader/cache/MemoryCache.h" |
57 #include "core/page/Frame.h" | 55 #include "core/page/Frame.h" |
58 #include "core/page/Page.h" | 56 #include "core/page/Page.h" |
59 #include "core/platform/JSONValues.h" | 57 #include "core/platform/JSONValues.h" |
60 #include "core/platform/network/HTTPHeaderMap.h" | 58 #include "core/platform/network/HTTPHeaderMap.h" |
61 #include "core/platform/network/ResourceError.h" | 59 #include "core/platform/network/ResourceError.h" |
62 #include "core/platform/network/ResourceRequest.h" | 60 #include "core/platform/network/ResourceRequest.h" |
63 #include "core/platform/network/ResourceResponse.h" | 61 #include "core/platform/network/ResourceResponse.h" |
64 #include "core/xml/XMLHttpRequest.h" | 62 #include "core/xml/XMLHttpRequest.h" |
65 #include "modules/websockets/WebSocketFrame.h" | 63 #include "modules/websockets/WebSocketFrame.h" |
66 #include "modules/websockets/WebSocketHandshakeRequest.h" | 64 #include "modules/websockets/WebSocketHandshakeRequest.h" |
67 #include "modules/websockets/WebSocketHandshakeResponse.h" | 65 #include "modules/websockets/WebSocketHandshakeResponse.h" |
68 #include "weborigin/KURL.h" | 66 #include "weborigin/KURL.h" |
69 #include "wtf/CurrentTime.h" | 67 #include "wtf/CurrentTime.h" |
70 #include "wtf/HexNumber.h" | |
71 #include "wtf/ListHashSet.h" | |
72 #include "wtf/MemoryInstrumentationHashMap.h" | 68 #include "wtf/MemoryInstrumentationHashMap.h" |
73 #include "wtf/RefPtr.h" | 69 #include "wtf/RefPtr.h" |
74 #include "wtf/text/StringBuilder.h" | |
75 | 70 |
76 typedef WebCore::InspectorBackendDispatcher::NetworkCommandHandler::LoadResource
ForFrontendCallback LoadResourceForFrontendCallback; | 71 typedef WebCore::InspectorBackendDispatcher::NetworkCommandHandler::LoadResource
ForFrontendCallback LoadResourceForFrontendCallback; |
77 | 72 |
78 namespace WebCore { | 73 namespace WebCore { |
79 | 74 |
80 namespace ResourceAgentState { | 75 namespace ResourceAgentState { |
81 static const char resourceAgentEnabled[] = "resourceAgentEnabled"; | 76 static const char resourceAgentEnabled[] = "resourceAgentEnabled"; |
82 static const char extraRequestHeaders[] = "extraRequestHeaders"; | 77 static const char extraRequestHeaders[] = "extraRequestHeaders"; |
83 static const char cacheDisabled[] = "cacheDisabled"; | 78 static const char cacheDisabled[] = "cacheDisabled"; |
84 static const char userAgentOverride[] = "userAgentOverride"; | 79 static const char userAgentOverride[] = "userAgentOverride"; |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 , m_client(client) | 760 , m_client(client) |
766 , m_frontend(0) | 761 , m_frontend(0) |
767 , m_resourcesData(adoptPtr(new NetworkResourcesData())) | 762 , m_resourcesData(adoptPtr(new NetworkResourcesData())) |
768 , m_loadingXHRSynchronously(false) | 763 , m_loadingXHRSynchronously(false) |
769 , m_isRecalculatingStyle(false) | 764 , m_isRecalculatingStyle(false) |
770 { | 765 { |
771 } | 766 } |
772 | 767 |
773 } // namespace WebCore | 768 } // namespace WebCore |
774 | 769 |
OLD | NEW |