| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 private: | 159 private: |
| 160 void dispose() | 160 void dispose() |
| 161 { | 161 { |
| 162 m_loader = 0; | 162 m_loader = 0; |
| 163 delete this; | 163 delete this; |
| 164 } | 164 } |
| 165 | 165 |
| 166 RefPtr<LoadResourceForFrontendCallback> m_callback; | 166 RefPtr<LoadResourceForFrontendCallback> m_callback; |
| 167 RefPtr<ThreadableLoader> m_loader; | 167 RefPtr<ThreadableLoader> m_loader; |
| 168 RefPtr<TextResourceDecoder> m_decoder; | 168 OwnPtr<TextResourceDecoder> m_decoder; |
| 169 ScriptString m_responseText; | 169 ScriptString m_responseText; |
| 170 int m_statusCode; | 170 int m_statusCode; |
| 171 HTTPHeaderMap m_responseHeaders; | 171 HTTPHeaderMap m_responseHeaders; |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 KURL urlWithoutFragment(const KURL& url) | 174 KURL urlWithoutFragment(const KURL& url) |
| 175 { | 175 { |
| 176 KURL result = url; | 176 KURL result = url; |
| 177 result.removeFragmentIdentifier(); | 177 result.removeFragmentIdentifier(); |
| 178 return result; | 178 return result; |
| (...skipping 611 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 |