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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h

Issue 2649323005: Cleanly detach XHR and other pending loader clients from Inspector. (Closed)
Patch Set: detach all loader clients from inspector Created 3 years, 11 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
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 const AtomicString& method, 143 const AtomicString& method,
144 const String& url); 144 const String& url);
145 145
146 void willSendEventSourceRequest(ThreadableLoaderClient*); 146 void willSendEventSourceRequest(ThreadableLoaderClient*);
147 void willDispatchEventSourceEvent(ThreadableLoaderClient*, 147 void willDispatchEventSourceEvent(ThreadableLoaderClient*,
148 const AtomicString& eventName, 148 const AtomicString& eventName,
149 const AtomicString& eventId, 149 const AtomicString& eventId,
150 const String& data); 150 const String& data);
151 void didFinishEventSourceRequest(ThreadableLoaderClient*); 151 void didFinishEventSourceRequest(ThreadableLoaderClient*);
152 152
153 void detachClientRequest(ThreadableLoaderClient*);
yhirano 2017/01/25 11:06:26 ditto
154
153 void willDestroyResource(Resource*); 155 void willDestroyResource(Resource*);
154 156
155 void applyUserAgentOverride(String* userAgent); 157 void applyUserAgentOverride(String* userAgent);
156 158
157 // FIXME: InspectorNetworkAgent should not be aware of style recalculation. 159 // FIXME: InspectorNetworkAgent should not be aware of style recalculation.
158 void willRecalculateStyle(Document*); 160 void willRecalculateStyle(Document*);
159 void didRecalculateStyle(); 161 void didRecalculateStyle();
160 void didScheduleStyleRecalculation(Document*); 162 void didScheduleStyleRecalculation(Document*);
161 163
162 void frameScheduledNavigation(LocalFrame*, double); 164 void frameScheduledNavigation(LocalFrame*, double);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 278
277 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; 279 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
278 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; 280 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted;
279 std::unique_ptr<TaskRunnerTimer<InspectorNetworkAgent>> 281 std::unique_ptr<TaskRunnerTimer<InspectorNetworkAgent>>
280 m_removeFinishedReplayXHRTimer; 282 m_removeFinishedReplayXHRTimer;
281 }; 283 };
282 284
283 } // namespace blink 285 } // namespace blink
284 286
285 #endif // !defined(InspectorNetworkAgent_h) 287 #endif // !defined(InspectorNetworkAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698