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

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

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.h
diff --git a/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.h b/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.h
index e9e0a9336f2acb27187b7eae4b66cf97070662a6..fc391b96f45fe30ecb999dcc7755e467b7179fb7 100644
--- a/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.h
+++ b/content/browser/background_fetch/background_fetch_embedded_worker_test_helper.h
@@ -32,7 +32,7 @@ class BackgroundFetchEmbeddedWorkerTestHelper
// Toggles whether the named Service Worker event should fail.
void set_fail_abort_event(bool fail) { fail_abort_event_ = fail; }
void set_fail_click_event(bool fail) { fail_click_event_ = fail; }
- void set_fail_fail_event(bool fail) { fail_fail_event_ = fail; }
+ void set_fail_fetch_fail_event(bool fail) { fail_fetch_fail_event_ = fail; }
void set_fail_fetched_event(bool fail) { fail_fetched_event_ = fail; }
const base::Optional<std::string>& last_tag() const { return last_tag_; }
@@ -69,7 +69,7 @@ class BackgroundFetchEmbeddedWorkerTestHelper
private:
bool fail_abort_event_ = false;
bool fail_click_event_ = false;
- bool fail_fail_event_ = false;
+ bool fail_fetch_fail_event_ = false;
bool fail_fetched_event_ = false;
base::Optional<std::string> last_tag_;

Powered by Google App Engine
This is Rietveld 408576698