OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 static PassRefPtr<InspectorResourceAgent> restore(Page*, InspectorCompositeS
tate*, InspectorFrontend*); | 87 static PassRefPtr<InspectorResourceAgent> restore(Page*, InspectorCompositeS
tate*, InspectorFrontend*); |
88 | 88 |
89 ~InspectorResourceAgent(); | 89 ~InspectorResourceAgent(); |
90 | 90 |
91 void willSendRequest(unsigned long identifier, DocumentLoader*, ResourceRequ
est&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); | 91 void willSendRequest(unsigned long identifier, DocumentLoader*, ResourceRequ
est&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); |
92 void markResourceAsCached(unsigned long identifier); | 92 void markResourceAsCached(unsigned long identifier); |
93 void didReceiveResourceResponse(unsigned long identifier, DocumentLoader*, c
onst ResourceResponse&, ResourceLoader*); | 93 void didReceiveResourceResponse(unsigned long identifier, DocumentLoader*, c
onst ResourceResponse&, ResourceLoader*); |
94 void didReceiveData(unsigned long identifier, const char* data, int dataLeng
th, int encodedDataLength); | 94 void didReceiveData(unsigned long identifier, const char* data, int dataLeng
th, int encodedDataLength); |
95 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono
tonicFinishTime); | 95 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono
tonicFinishTime); |
| 96 void didReceiveCORSRedirectResponse(unsigned long identifier, DocumentLoader
*, const ResourceResponse&, ResourceLoader*); |
96 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); | 97 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); |
97 void didCommitLoad(Frame*, DocumentLoader*); | 98 void didCommitLoad(Frame*, DocumentLoader*); |
98 void scriptImported(unsigned long identifier, const String& sourceString); | 99 void scriptImported(unsigned long identifier, const String& sourceString); |
99 void didReceiveScriptResponse(unsigned long identifier); | 100 void didReceiveScriptResponse(unsigned long identifier); |
100 | 101 |
101 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); | 102 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); |
102 void willLoadXHR(ThreadableLoaderClient*, const String& method, const KURL&,
bool async, PassRefPtr<FormData> body, const HTTPHeaderMap& headers, bool inclu
deCrendentials); | 103 void willLoadXHR(ThreadableLoaderClient*, const String& method, const KURL&,
bool async, PassRefPtr<FormData> body, const HTTPHeaderMap& headers, bool inclu
deCrendentials); |
103 void didFailXHRLoading(ThreadableLoaderClient*); | 104 void didFailXHRLoading(ThreadableLoaderClient*); |
104 void didFinishXHRLoading(ThreadableLoaderClient*, unsigned long identifier,
ScriptString sourceString, const String&, const String&, unsigned); | 105 void didFinishXHRLoading(ThreadableLoaderClient*, unsigned long identifier,
ScriptString sourceString, const String&, const String&, unsigned); |
105 void didReceiveXHRResponse(unsigned long identifier); | 106 void didReceiveXHRResponse(unsigned long identifier); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 170 |
170 // FIXME: InspectorResourceAgent should now be aware of style recalculation. | 171 // FIXME: InspectorResourceAgent should now be aware of style recalculation. |
171 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; | 172 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; |
172 bool m_isRecalculatingStyle; | 173 bool m_isRecalculatingStyle; |
173 }; | 174 }; |
174 | 175 |
175 } // namespace WebCore | 176 } // namespace WebCore |
176 | 177 |
177 | 178 |
178 #endif // !defined(InspectorResourceAgent_h) | 179 #endif // !defined(InspectorResourceAgent_h) |
OLD | NEW |