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

Unified Diff: content/browser/background_fetch/background_fetch_embedded_worker_test_helper.cc

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: content/browser/background_fetch/background_fetch_embedded_worker_test_helper.cc
diff --git a/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.cc b/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.cc
index 5ae9e93e974d3f47c3812e814319be1ca1d187ee..112dac8a780b2d1b6d431a6190c5af09a117f90a 100644
--- a/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.cc
+++ b/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.cc
@@ -57,7 +57,7 @@ void BackgroundFetchEmbeddedWorkerTestHelper::OnBackgroundFetchFailEvent(
last_tag_ = tag;
last_fetches_ = fetches;
- if (fail_fail_event_) {
+ if (fail_fetch_fail_event_) {
callback.Run(SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED,
base::Time::Now());
} else {

Powered by Google App Engine
This is Rietveld 408576698