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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.h

Issue 1845463002: Start implementing ForeignFetchEvent for foreign fetch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ForeignFetchRespondWithObserver_h
6 #define ForeignFetchRespondWithObserver_h
7
8 #include "modules/serviceworkers/RespondWithObserver.h"
9
10 namespace blink {
11
12 // This class observes the service worker's handling of a ForeignFetchEvent and
13 // notifies the client.
14 class MODULES_EXPORT ForeignFetchRespondWithObserver final : public RespondWithO bserver {
15 public:
16 static ForeignFetchRespondWithObserver* create(ExecutionContext*, int eventI D, const KURL& requestURL, WebURLRequest::FetchRequestMode, WebURLRequest::Frame Type, WebURLRequest::RequestContext);
17
18 void responseWasFulfilled(const ScriptValue&) override;
19
20 private:
21 ForeignFetchRespondWithObserver(ExecutionContext*, int eventID, const KURL& requestURL, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType, WebURLReq uest::RequestContext);
22 };
23
24 } // namespace blink
25
26 #endif // ForeignFetchRespondWithObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698