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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 #include "core/page/Page.h" | 59 #include "core/page/Page.h" |
60 #include "core/xml/XMLHttpRequest.h" | 60 #include "core/xml/XMLHttpRequest.h" |
61 #include "modules/websockets/WebSocketFrame.h" | 61 #include "modules/websockets/WebSocketFrame.h" |
62 #include "modules/websockets/WebSocketHandshakeRequest.h" | 62 #include "modules/websockets/WebSocketHandshakeRequest.h" |
63 #include "modules/websockets/WebSocketHandshakeResponse.h" | 63 #include "modules/websockets/WebSocketHandshakeResponse.h" |
64 #include "platform/JSONValues.h" | 64 #include "platform/JSONValues.h" |
65 #include "platform/network/HTTPHeaderMap.h" | 65 #include "platform/network/HTTPHeaderMap.h" |
66 #include "platform/network/ResourceError.h" | 66 #include "platform/network/ResourceError.h" |
67 #include "platform/network/ResourceRequest.h" | 67 #include "platform/network/ResourceRequest.h" |
68 #include "platform/network/ResourceResponse.h" | 68 #include "platform/network/ResourceResponse.h" |
69 #include "weborigin/KURL.h" | 69 #include "platform/weborigin/KURL.h" |
70 #include "wtf/CurrentTime.h" | 70 #include "wtf/CurrentTime.h" |
71 #include "wtf/RefPtr.h" | 71 #include "wtf/RefPtr.h" |
72 | 72 |
73 typedef WebCore::InspectorBackendDispatcher::NetworkCommandHandler::LoadResource
ForFrontendCallback LoadResourceForFrontendCallback; | 73 typedef WebCore::InspectorBackendDispatcher::NetworkCommandHandler::LoadResource
ForFrontendCallback LoadResourceForFrontendCallback; |
74 | 74 |
75 namespace WebCore { | 75 namespace WebCore { |
76 | 76 |
77 namespace ResourceAgentState { | 77 namespace ResourceAgentState { |
78 static const char resourceAgentEnabled[] = "resourceAgentEnabled"; | 78 static const char resourceAgentEnabled[] = "resourceAgentEnabled"; |
79 static const char extraRequestHeaders[] = "extraRequestHeaders"; | 79 static const char extraRequestHeaders[] = "extraRequestHeaders"; |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 : InspectorBaseAgent<InspectorResourceAgent>("Network", instrumentingAgents,
state) | 790 : InspectorBaseAgent<InspectorResourceAgent>("Network", instrumentingAgents,
state) |
791 , m_pageAgent(pageAgent) | 791 , m_pageAgent(pageAgent) |
792 , m_client(client) | 792 , m_client(client) |
793 , m_frontend(0) | 793 , m_frontend(0) |
794 , m_resourcesData(adoptPtr(new NetworkResourcesData())) | 794 , m_resourcesData(adoptPtr(new NetworkResourcesData())) |
795 , m_isRecalculatingStyle(false) | 795 , m_isRecalculatingStyle(false) |
796 { | 796 { |
797 } | 797 } |
798 | 798 |
799 } // namespace WebCore | 799 } // namespace WebCore |
OLD | NEW |