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

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

Issue 667393002: [XHR] No need to remember line number and URL on send() for inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 1 month 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
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D ocumentLoader*, const ResourceResponse&, ResourceLoader*); 89 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D ocumentLoader*, const ResourceResponse&, ResourceLoader*);
90 void didFailLoading(unsigned long identifier, const ResourceError&); 90 void didFailLoading(unsigned long identifier, const ResourceError&);
91 void didCommitLoad(LocalFrame*, DocumentLoader*); 91 void didCommitLoad(LocalFrame*, DocumentLoader*);
92 void scriptImported(unsigned long identifier, const String& sourceString); 92 void scriptImported(unsigned long identifier, const String& sourceString);
93 void didReceiveScriptResponse(unsigned long identifier); 93 void didReceiveScriptResponse(unsigned long identifier);
94 bool shouldForceCORSPreflight(); 94 bool shouldForceCORSPreflight();
95 95
96 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie r, ThreadableLoaderClient*); 96 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie r, ThreadableLoaderClient*);
97 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, PassRefPtr<FormData> body, const HTTPHeaderM ap& headers, bool includeCrendentials); 97 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, PassRefPtr<FormData> body, const HTTPHeaderM ap& headers, bool includeCrendentials);
98 void didFailXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*); 98 void didFailXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*);
99 void didFinishXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*, unsigned long identifier, ScriptString sourceString, const AtomicString&, const String&, const String&, unsigned); 99 void didFinishXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*, unsigned long identifier, ScriptString sourceString, const AtomicString&, const String&);
100 100
101 void willDestroyResource(Resource*); 101 void willDestroyResource(Resource*);
102 102
103 void applyUserAgentOverride(String* userAgent); 103 void applyUserAgentOverride(String* userAgent);
104 104
105 // FIXME: InspectorResourceAgent should not be aware of style recalculation. 105 // FIXME: InspectorResourceAgent should not be aware of style recalculation.
106 void willRecalculateStyle(Document*); 106 void willRecalculateStyle(Document*);
107 void didRecalculateStyle(int); 107 void didRecalculateStyle(int);
108 void didScheduleStyleRecalculation(Document*); 108 void didScheduleStyleRecalculation(Document*);
109 109
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRs; 169 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRs;
170 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRsToBeDelet ed; 170 WillBeHeapHashSet<RefPtrWillBeMember<XMLHttpRequest> > m_replayXHRsToBeDelet ed;
171 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer; 171 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer;
172 }; 172 };
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 176
177 #endif // !defined(InspectorResourceAgent_h) 177 #endif // !defined(InspectorResourceAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698