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

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

Issue 2758493003: Support the full `request` attribute types for the BGFetchManager.fetch() (Closed)
Patch Set: 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/BackgroundFetchManager.cpp
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
index a1339f50c9bf2c09e144a890e6488f00270952ba..3cff35c4f43fe20ee78ee8ad22d6782167cad668 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
@@ -22,7 +22,7 @@ BackgroundFetchManager::BackgroundFetchManager(
ScriptPromise BackgroundFetchManager::fetch(
ScriptState* scriptState,
String tag,
- HeapVector<RequestOrUSVString> requests,
+ const RequestOrUSVStringOrRequestOrUSVStringSequence& requests,
const BackgroundFetchOptions& options) {
if (!m_registration->active()) {
return ScriptPromise::reject(

Powered by Google App Engine
This is Rietveld 408576698