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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.h

Issue 2715663002: ServiceWorker: Factor out FetchEvent related logics from RespondWithObserver. (Closed)
Patch Set: ServiceWorker: Factor out FetchEvent related logics from RespondWithObserver. 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/serviceworkers/ForeignFetchRespondWithObserver.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.h b/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.h
index 44892681d3ffd366983090f1ed8684b3b0a07e1f..012bde47363ce699906a613188ee2253f4e6863d 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.h
@@ -5,14 +5,14 @@
#ifndef ForeignFetchRespondWithObserver_h
#define ForeignFetchRespondWithObserver_h
-#include "modules/serviceworkers/RespondWithObserver.h"
+#include "modules/serviceworkers/FetchRespondWithObserver.h"
namespace blink {
// This class observes the service worker's handling of a ForeignFetchEvent and
// notifies the client.
class MODULES_EXPORT ForeignFetchRespondWithObserver final
- : public RespondWithObserver {
+ : public FetchRespondWithObserver {
public:
static ForeignFetchRespondWithObserver* create(
ExecutionContext*,
@@ -25,7 +25,7 @@ class MODULES_EXPORT ForeignFetchRespondWithObserver final
PassRefPtr<SecurityOrigin>,
WaitUntilObserver*);
- void responseWasFulfilled(const ScriptValue&) override;
+ void onResponseFulfilled(const ScriptValue&) override;
private:
ForeignFetchRespondWithObserver(ExecutionContext*,

Powered by Google App Engine
This is Rietveld 408576698