Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.cpp |
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.cpp b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7bc6f24a193b026137aaf185dc5d5942acf3b286 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.cpp |
@@ -0,0 +1,24 @@ |
+// 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/BackgroundFetchSettledRequest.h" |
+ |
+#include "modules/fetch/Response.h" |
+ |
+namespace blink { |
+ |
+BackgroundFetchSettledRequest::BackgroundFetchSettledRequest(Request* request, |
+ Response* response) |
+ : BackgroundFetchRequest(request), m_response(response) {} |
+ |
+Response* BackgroundFetchSettledRequest::response() const { |
+ return m_response; |
+} |
+ |
+DEFINE_TRACE(BackgroundFetchSettledRequest) { |
+ visitor->trace(m_response); |
+ BackgroundFetchRequest::trace(visitor); |
+} |
+ |
+} // namespace blink |