| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "modules/serviceworkers/ForeignFetchRespondWithObserver.h" | 5 #include "modules/serviceworkers/ForeignFetchRespondWithObserver.h" |
| 6 | 6 |
| 7 #include "core/fetch/CrossOriginAccessControl.h" | 7 #include "core/fetch/CrossOriginAccessControl.h" |
| 8 #include "modules/fetch/Response.h" |
| 8 #include "modules/serviceworkers/ForeignFetchResponse.h" | 9 #include "modules/serviceworkers/ForeignFetchResponse.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 ForeignFetchRespondWithObserver* ForeignFetchRespondWithObserver::create( | 13 ForeignFetchRespondWithObserver* ForeignFetchRespondWithObserver::create( |
| 13 ExecutionContext* context, | 14 ExecutionContext* context, |
| 14 int eventID, | 15 int eventID, |
| 15 const KURL& requestURL, | 16 const KURL& requestURL, |
| 16 WebURLRequest::FetchRequestMode requestMode, | 17 WebURLRequest::FetchRequestMode requestMode, |
| 17 WebURLRequest::FrameType frameType, | 18 WebURLRequest::FrameType frameType, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 : RespondWithObserver(context, | 100 : RespondWithObserver(context, |
| 100 eventID, | 101 eventID, |
| 101 requestURL, | 102 requestURL, |
| 102 requestMode, | 103 requestMode, |
| 103 frameType, | 104 frameType, |
| 104 requestContext, | 105 requestContext, |
| 105 observer), | 106 observer), |
| 106 m_requestOrigin(requestOrigin) {} | 107 m_requestOrigin(requestOrigin) {} |
| 107 | 108 |
| 108 } // namespace blink | 109 } // namespace blink |
| OLD | NEW |