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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual void clearFrontend() OVERRIDE; | 83 virtual void clearFrontend() OVERRIDE; |
84 virtual void restore() OVERRIDE; | 84 virtual void restore() OVERRIDE; |
85 | 85 |
86 virtual ~InspectorResourceAgent(); | 86 virtual ~InspectorResourceAgent(); |
87 | 87 |
88 // Called from instrumentation. | 88 // Called from instrumentation. |
89 void willSendRequest(unsigned long identifier, DocumentLoader*, ResourceRequ
est&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); | 89 void willSendRequest(unsigned long identifier, DocumentLoader*, ResourceRequ
est&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); |
90 void markResourceAsCached(unsigned long identifier); | 90 void markResourceAsCached(unsigned long identifier); |
91 void didReceiveResourceResponse(Frame*, unsigned long identifier, DocumentLo
ader*, const ResourceResponse&, ResourceLoader*); | 91 void didReceiveResourceResponse(Frame*, unsigned long identifier, DocumentLo
ader*, const ResourceResponse&, ResourceLoader*); |
92 void didReceiveData(unsigned long identifier, const char* data, int dataLeng
th, int encodedDataLength); | 92 void didReceiveData(unsigned long identifier, const char* data, int dataLeng
th, int encodedDataLength); |
93 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono
tonicFinishTime); | 93 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono
tonicFinishTime, int64_t encodedDataLength); |
94 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume
ntLoader*, const ResourceResponse&, ResourceLoader*); | 94 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume
ntLoader*, const ResourceResponse&, ResourceLoader*); |
95 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); | 95 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); |
96 void didCommitLoad(Frame*, DocumentLoader*); | 96 void didCommitLoad(Frame*, DocumentLoader*); |
97 void scriptImported(unsigned long identifier, const String& sourceString); | 97 void scriptImported(unsigned long identifier, const String& sourceString); |
98 void didReceiveScriptResponse(unsigned long identifier); | 98 void didReceiveScriptResponse(unsigned long identifier); |
99 | 99 |
100 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); | 100 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); |
101 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin
g& method, const KURL&, bool async, PassRefPtr<FormData> body, const HTTPHeaderM
ap& headers, bool includeCrendentials); | 101 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin
g& method, const KURL&, bool async, PassRefPtr<FormData> body, const HTTPHeaderM
ap& headers, bool includeCrendentials); |
102 void didFailXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*); | 102 void didFailXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*); |
103 void didFinishXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*, unsigned
long identifier, ScriptString sourceString, const AtomicString&, const String&,
const String&, unsigned); | 103 void didFinishXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*, unsigned
long identifier, ScriptString sourceString, const AtomicString&, const String&,
const String&, unsigned); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 // FIXME: InspectorResourceAgent should now be aware of style recalculation. | 167 // FIXME: InspectorResourceAgent should now be aware of style recalculation. |
168 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; | 168 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; |
169 bool m_isRecalculatingStyle; | 169 bool m_isRecalculatingStyle; |
170 }; | 170 }; |
171 | 171 |
172 } // namespace WebCore | 172 } // namespace WebCore |
173 | 173 |
174 | 174 |
175 #endif // !defined(InspectorResourceAgent_h) | 175 #endif // !defined(InspectorResourceAgent_h) |
OLD | NEW |