LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2016-2018 Apple Inc. All rights reserved. | 2 * Copyright (C) 2016-2018 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 switch (policyAction) { | 251 switch (policyAction) { |
252 case WebCore::PolicyAction::Use: | 252 case WebCore::PolicyAction::Use: |
253 enqueueEventHandler(); | 253 enqueueEventHandler(); |
254 break; | 254 break; |
255 case WebCore::PolicyAction::Suspend: | 255 case WebCore::PolicyAction::Suspend: |
256 LOG_ERROR("PolicyAction::Suspend encountered - Treating as PolicyAct
ion::Ignore for now"); | 256 LOG_ERROR("PolicyAction::Suspend encountered - Treating as PolicyAct
ion::Ignore for now"); |
257 FALLTHROUGH; | 257 FALLTHROUGH; |
258 case WebCore::PolicyAction::Ignore: | 258 case WebCore::PolicyAction::Ignore: |
259 complete(); | 259 complete(); |
260 break; | 260 break; |
| 261 case WebCore::PolicyAction::IgnoreAndLockBackForwardList: |
| 262 ASSERT_NOT_REACHED(); |
| 263 break; |
261 case WebCore::PolicyAction::Download: | 264 case WebCore::PolicyAction::Download: |
262 DEBUG_LOG_ERROR("WebCore::PolicyAction::PolicyDownload"); | 265 DEBUG_LOG_ERROR("WebCore::PolicyAction::PolicyDownload"); |
263 break; | 266 break; |
264 } | 267 } |
265 }); | 268 }); |
266 } | 269 } |
267 | 270 |
268 void NetworkDataTaskReplay::didFinish() | 271 void NetworkDataTaskReplay::didFinish() |
269 { | 272 { |
270 didFinish({ }); | 273 didFinish({ }); |
(...skipping 11 matching lines...) Expand all Loading... |
282 complete(); | 285 complete(); |
283 | 286 |
284 ASSERT(m_client); | 287 ASSERT(m_client); |
285 m_client->didCompleteWithError(error); | 288 m_client->didCompleteWithError(error); |
286 } | 289 } |
287 | 290 |
288 } // namespace NetworkCapture | 291 } // namespace NetworkCapture |
289 } // namespace WebKit | 292 } // namespace WebKit |
290 | 293 |
291 #endif // ENABLE(NETWORK_CAPTURE) | 294 #endif // ENABLE(NETWORK_CAPTURE) |
LEFT | RIGHT |