| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "modules/background_fetch/BackgroundFetchSettledFetch.h" |
| |
| #include "modules/fetch/Response.h" |
| |
| namespace blink { |
| |
| BackgroundFetchSettledFetch::BackgroundFetchSettledFetch(Request* request, |
| Response* response) |
| : BackgroundFetchFetch(request), response_(response) {} |
| |
| Response* BackgroundFetchSettledFetch::response() const { |
| return response_; |
| } |
| |
| DEFINE_TRACE(BackgroundFetchSettledFetch) { |
| visitor->Trace(response_); |
| BackgroundFetchFetch::Trace(visitor); |
| } |
| |
| } // namespace blink |