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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl

Issue 2203613003: Split header modification out of willSendRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Filter the header instead Created 4 years, 4 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 [Network] 145 [Network]
146 void applyUserAgentOverride(LocalFrame*, String* userAgent); 146 void applyUserAgentOverride(LocalFrame*, String* userAgent);
147 147
148 [Network] 148 [Network]
149 void didBlockRequest([Keep] LocalFrame*, const ResourceRequest&, DocumentLoa der*, const FetchInitiatorInfo&, ResourceRequestBlockedReason); 149 void didBlockRequest([Keep] LocalFrame*, const ResourceRequest&, DocumentLoa der*, const FetchInitiatorInfo&, ResourceRequestBlockedReason);
150 150
151 [Network] 151 [Network]
152 void didChangeResourcePriority(LocalFrame*, unsigned long identifier, Resour ceLoadPriority loadPriority); 152 void didChangeResourcePriority(LocalFrame*, unsigned long identifier, Resour ceLoadPriority loadPriority);
153 153
154 [Network] 154 [Network]
155 void willSendRequest([Keep] LocalFrame*, unsigned long identifier, DocumentL oader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchI nitiatorInfo&); 155 void prepareRequest(LocalFrame*, DocumentLoader*, ResourceRequest&);
156
157 [Network]
158 void willSendRequest([Keep] LocalFrame*, unsigned long identifier, DocumentL oader*, const ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&);
156 159
157 [Network] 160 [Network]
158 void markResourceAsCached(LocalFrame*, unsigned long identifier); 161 void markResourceAsCached(LocalFrame*, unsigned long identifier);
159 162
160 [Network] 163 [Network]
161 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, Resource*); 164 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, Resource*);
162 165
163 [Network] 166 [Network]
164 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char * data, int dataLength, int encodedDataLength); 167 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char * data, int dataLength, int encodedDataLength);
165 168
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 320
318 [Worker] 321 [Worker]
319 bool shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context); 322 bool shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context);
320 323
321 [Network] 324 [Network]
322 bool shouldForceCORSPreflight(Document*); 325 bool shouldForceCORSPreflight(Document*);
323 326
324 [Network] 327 [Network]
325 bool shouldBlockRequest(LocalFrame*, const ResourceRequest&); 328 bool shouldBlockRequest(LocalFrame*, const ResourceRequest&);
326 } 329 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698