Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Side by Side Diff: Source/core/inspector/InspectorResourceAgent.h

Issue 156623005: Add transfer size paramater to didFinishLoading [3/3] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698