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

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

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: incorporated falken's comment 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 bool masked, 186 bool masked,
187 const char* payload, 187 const char* payload,
188 size_t payloadLength); 188 size_t payloadLength);
189 void didSendWebSocketFrame(unsigned long identifier, 189 void didSendWebSocketFrame(unsigned long identifier,
190 int opCode, 190 int opCode,
191 bool masked, 191 bool masked,
192 const char* payload, 192 const char* payload,
193 size_t payloadLength); 193 size_t payloadLength);
194 void didReceiveWebSocketFrameError(unsigned long identifier, const String&); 194 void didReceiveWebSocketFrameError(unsigned long identifier, const String&);
195 195
196 void didSendNavigationPreload(int identifier,
197 const KURL& requestURL,
198 double timestamp,
199 double wallTime);
200 void didReceiveNavigationPreloadResponse(int identifier,
201 const ResourceResponse&);
202 void didReceiveNavigationPreloadError(int identifier,
203 const String& errorMessage);
204 void didCompleteNavigationPreload(int identifier);
205
196 // Called from frontend 206 // Called from frontend
197 Response enable(Maybe<int> totalBufferSize, 207 Response enable(Maybe<int> totalBufferSize,
198 Maybe<int> resourceBufferSize) override; 208 Maybe<int> resourceBufferSize) override;
199 Response disable() override; 209 Response disable() override;
200 Response setUserAgentOverride(const String&) override; 210 Response setUserAgentOverride(const String&) override;
201 Response setExtraHTTPHeaders( 211 Response setExtraHTTPHeaders(
202 std::unique_ptr<protocol::Network::Headers>) override; 212 std::unique_ptr<protocol::Network::Headers>) override;
203 void getResponseBody(const String& requestId, 213 void getResponseBody(const String& requestId,
204 std::unique_ptr<GetResponseBodyCallback>) override; 214 std::unique_ptr<GetResponseBodyCallback>) override;
205 Response addBlockedURL(const String& url) override; 215 Response addBlockedURL(const String& url) override;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 bool m_isRecalculatingStyle; 289 bool m_isRecalculatingStyle;
280 290
281 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; 291 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
282 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; 292 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted;
283 Timer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; 293 Timer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer;
284 }; 294 };
285 295
286 } // namespace blink 296 } // namespace blink
287 297
288 #endif // !defined(InspectorNetworkAgent_h) 298 #endif // !defined(InspectorNetworkAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698