| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 bool isDebuggerPaused(LocalFrame*) | 169 bool isDebuggerPaused(LocalFrame*) |
| 170 { | 170 { |
| 171 return MainThreadDebugger::instance()->debugger()->isPaused(); | 171 return MainThreadDebugger::instance()->debugger()->isPaused(); |
| 172 } | 172 } |
| 173 | 173 |
| 174 void didReceiveResourceResponseButCanceled(LocalFrame* frame, DocumentLoader* lo
ader, unsigned long identifier, const ResourceResponse& r) | 174 void didReceiveResourceResponseButCanceled(LocalFrame* frame, DocumentLoader* lo
ader, unsigned long identifier, const ResourceResponse& r) |
| 175 { | 175 { |
| 176 didReceiveResourceResponse(frame, identifier, loader, r, 0); | 176 didReceiveResourceResponse(frame, identifier, loader, r, 0); |
| 177 } | 177 } |
| 178 | 178 |
| 179 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loader,
unsigned long identifier, const ResourceResponse& r) | 179 void canceledAfterReceivedResourceResponse(LocalFrame* frame, DocumentLoader* lo
ader, unsigned long identifier, const ResourceResponse& r) |
| 180 { | 180 { |
| 181 didReceiveResourceResponseButCanceled(frame, loader, identifier, r); | 181 didReceiveResourceResponseButCanceled(frame, loader, identifier, r); |
| 182 } | 182 } |
| 183 | 183 |
| 184 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, unsigne
d long identifier, const ResourceResponse& r) | 184 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, unsigne
d long identifier, const ResourceResponse& r) |
| 185 { | 185 { |
| 186 didReceiveResourceResponseButCanceled(frame, loader, identifier, r); | 186 didReceiveResourceResponseButCanceled(frame, loader, identifier, r); |
| 187 } | 187 } |
| 188 | 188 |
| 189 void removedResourceFromMemoryCache(Resource* cachedResource) | 189 void removedResourceFromMemoryCache(Resource* cachedResource) |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 if (context->isWorkerGlobalScope()) | 244 if (context->isWorkerGlobalScope()) |
| 245 return instrumentingAgentsFor(toWorkerGlobalScope(context)); | 245 return instrumentingAgentsFor(toWorkerGlobalScope(context)); |
| 246 if (context->isWorkletGlobalScope()) | 246 if (context->isWorkletGlobalScope()) |
| 247 return instrumentingAgentsFor(toMainThreadWorkletGlobalScope(context)->f
rame()); | 247 return instrumentingAgentsFor(toMainThreadWorkletGlobalScope(context)->f
rame()); |
| 248 return nullptr; | 248 return nullptr; |
| 249 } | 249 } |
| 250 | 250 |
| 251 } // namespace InspectorInstrumentation | 251 } // namespace InspectorInstrumentation |
| 252 | 252 |
| 253 } // namespace blink | 253 } // namespace blink |
| OLD | NEW |