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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void didReceiveResourceResponseButCanceledImpl(LocalFrame* frame, DocumentLoader
* loader, unsigned long identifier, const ResourceResponse& r) | 101 void didReceiveResourceResponseButCanceledImpl(LocalFrame* frame, DocumentLoader
* loader, unsigned long identifier, const ResourceResponse& r) |
102 { | 102 { |
103 didReceiveResourceResponse(frame, identifier, loader, r, 0); | 103 didReceiveResourceResponse(frame, identifier, loader, r, 0); |
104 } | 104 } |
105 | 105 |
106 void continueAfterXFrameOptionsDeniedImpl(LocalFrame* frame, DocumentLoader* loa
der, unsigned long identifier, const ResourceResponse& r) | 106 void continueAfterXFrameOptionsDeniedImpl(LocalFrame* frame, DocumentLoader* loa
der, unsigned long identifier, const ResourceResponse& r) |
107 { | 107 { |
108 didReceiveResourceResponseButCanceledImpl(frame, loader, identifier, r); | 108 didReceiveResourceResponseButCanceledImpl(frame, loader, identifier, r); |
109 } | 109 } |
110 | 110 |
111 void continueWithPolicyDownloadImpl(LocalFrame* frame, DocumentLoader* loader, u
nsigned long identifier, const ResourceResponse& r) | |
112 { | |
113 didReceiveResourceResponseButCanceledImpl(frame, loader, identifier, r); | |
114 } | |
115 | |
116 void continueWithPolicyIgnoreImpl(LocalFrame* frame, DocumentLoader* loader, uns
igned long identifier, const ResourceResponse& r) | 111 void continueWithPolicyIgnoreImpl(LocalFrame* frame, DocumentLoader* loader, uns
igned long identifier, const ResourceResponse& r) |
117 { | 112 { |
118 didReceiveResourceResponseButCanceledImpl(frame, loader, identifier, r); | 113 didReceiveResourceResponseButCanceledImpl(frame, loader, identifier, r); |
119 } | 114 } |
120 | 115 |
121 void willDestroyResourceImpl(Resource* cachedResource) | 116 void willDestroyResourceImpl(Resource* cachedResource) |
122 { | 117 { |
123 if (!instrumentingAgentsSet) | 118 if (!instrumentingAgentsSet) |
124 return; | 119 return; |
125 HashSet<InstrumentingAgents*>::iterator end = instrumentingAgentsSet->end(); | 120 HashSet<InstrumentingAgents*>::iterator end = instrumentingAgentsSet->end(); |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 265 |
271 InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope* work
erGlobalScope) | 266 InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope* work
erGlobalScope) |
272 { | 267 { |
273 if (WorkerInspectorController* controller = workerGlobalScope->workerInspect
orController()) | 268 if (WorkerInspectorController* controller = workerGlobalScope->workerInspect
orController()) |
274 return controller->m_instrumentingAgents.get(); | 269 return controller->m_instrumentingAgents.get(); |
275 return 0; | 270 return 0; |
276 } | 271 } |
277 | 272 |
278 } // namespace blink | 273 } // namespace blink |
279 | 274 |
OLD | NEW |