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

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

Issue 2774343002: Hook up BackgroundFetchServiceImpl::Fetch() to start a fetch (Closed)
Patch Set: rebase 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 66a39ede3d84ddd190dae948d6d6d87b4e0b27a1..6c29007f6e1412da5e0b4ab25a0cc018dc84dbef 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
@@ -82,6 +82,7 @@ void BackgroundFetchManager::didFetch(
InvalidStateError,
"There already is a registration for the given tag."));
return;
+ case mojom::blink::BackgroundFetchError::INVALID_ARGUMENT:
case mojom::blink::BackgroundFetchError::INVALID_TAG:
// Not applicable for this callback.
break;
@@ -178,6 +179,7 @@ void BackgroundFetchManager::didGetRegistration(
resolver->resolve(registration);
return;
case mojom::blink::BackgroundFetchError::DUPLICATED_TAG:
+ case mojom::blink::BackgroundFetchError::INVALID_ARGUMENT:
case mojom::blink::BackgroundFetchError::INVALID_TAG:
// Not applicable for this callback.
break;
@@ -213,6 +215,7 @@ void BackgroundFetchManager::didGetTags(
resolver->resolve(tags);
return;
case mojom::blink::BackgroundFetchError::DUPLICATED_TAG:
+ case mojom::blink::BackgroundFetchError::INVALID_ARGUMENT:
case mojom::blink::BackgroundFetchError::INVALID_TAG:
// Not applicable for this callback.
break;

Powered by Google App Engine
This is Rietveld 408576698