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

Side by Side Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.h

Issue 2744873002: Implement the Request/Response bits of Background Fetch (Closed)
Patch Set: comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 BackgroundFetchRequest_h
6 #define BackgroundFetchRequest_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h"
10
11 namespace blink {
12
13 class Request;
14
15 // Base interface for providing developers with access to the Request
16 // information associated with a background fetch.
17 class BackgroundFetchRequest : public GarbageCollected<BackgroundFetchRequest>,
18 public ScriptWrappable {
19 DEFINE_WRAPPERTYPEINFO();
20
21 public:
22 // Web Exposed attribute defined in the IDL file.
23 Request* request() const;
24
25 DECLARE_VIRTUAL_TRACE();
26
27 protected:
28 explicit BackgroundFetchRequest(Request*);
29
30 private:
31 Member<Request> m_request;
32 };
33
34 } // namespace blink
35
36 #endif // BackgroundFetchRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698