Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(996)

Unified Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.cpp

Issue 2744873002: Implement the Request/Response bits of Background Fetch (Closed)
Patch Set: comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.cpp
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.cpp b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..27d160398aa5a9740f984875363be7f6fb0a0ada
--- /dev/null
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.cpp
@@ -0,0 +1,22 @@
+// 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/BackgroundFetchRequest.h"
+
+#include "modules/fetch/Request.h"
+
+namespace blink {
+
+BackgroundFetchRequest::BackgroundFetchRequest(Request* request)
+ : m_request(request) {}
+
+Request* BackgroundFetchRequest::request() const {
+ return m_request;
+}
+
+DEFINE_TRACE(BackgroundFetchRequest) {
+ visitor->trace(m_request);
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698