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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual void restore(); | 85 virtual void restore(); |
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 didReceiveDataWithoutData(unsigned long identifier, int dataLength, int
encodedDataLength); |
95 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono
tonicFinishTime); | 96 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono
tonicFinishTime); |
96 void didReceiveCORSRedirectResponse(unsigned long identifier, DocumentLoader
*, const ResourceResponse&, ResourceLoader*); | 97 void didReceiveCORSRedirectResponse(unsigned long identifier, DocumentLoader
*, const ResourceResponse&, ResourceLoader*); |
97 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); | 98 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); |
98 void didCommitLoad(Frame*, DocumentLoader*); | 99 void didCommitLoad(Frame*, DocumentLoader*); |
99 void scriptImported(unsigned long identifier, const String& sourceString); | 100 void scriptImported(unsigned long identifier, const String& sourceString); |
100 void didReceiveScriptResponse(unsigned long identifier); | 101 void didReceiveScriptResponse(unsigned long identifier); |
101 | 102 |
102 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); | 103 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); |
103 void willLoadXHR(ThreadableLoaderClient*, const String& method, const KURL&,
bool async, PassRefPtr<FormData> body, const HTTPHeaderMap& headers, bool inclu
deCrendentials); | 104 void willLoadXHR(ThreadableLoaderClient*, const String& method, const KURL&,
bool async, PassRefPtr<FormData> body, const HTTPHeaderMap& headers, bool inclu
deCrendentials); |
104 void didFailXHRLoading(ThreadableLoaderClient*); | 105 void didFailXHRLoading(ThreadableLoaderClient*); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 171 |
171 // FIXME: InspectorResourceAgent should now be aware of style recalculation. | 172 // FIXME: InspectorResourceAgent should now be aware of style recalculation. |
172 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; | 173 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; |
173 bool m_isRecalculatingStyle; | 174 bool m_isRecalculatingStyle; |
174 }; | 175 }; |
175 | 176 |
176 } // namespace WebCore | 177 } // namespace WebCore |
177 | 178 |
178 | 179 |
179 #endif // !defined(InspectorResourceAgent_h) | 180 #endif // !defined(InspectorResourceAgent_h) |
OLD | NEW |