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

Unified Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFetch.h

Issue 2751523008: Update Background Fetch IDLs following spec changes (Closed)
Patch Set: Update Background Fetch IDLs following spec changes 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/background_fetch/BackgroundFetchFetch.h
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.h b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFetch.h
similarity index 61%
rename from third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.h
rename to third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFetch.h
index 11ef1afa40685596e283a98fee573274df8fd90f..d0bc59d6aa124984a13bfd5f71e9d590dfc2568b 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRequest.h
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFetch.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BackgroundFetchRequest_h
-#define BackgroundFetchRequest_h
+#ifndef BackgroundFetchFetch_h
+#define BackgroundFetchFetch_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
@@ -12,10 +12,10 @@ namespace blink {
class Request;
-// Base interface for providing developers with access to the Request
+// Base interface for providing developers with access to the fetch
// information associated with a background fetch.
-class BackgroundFetchRequest : public GarbageCollected<BackgroundFetchRequest>,
- public ScriptWrappable {
+class BackgroundFetchFetch : public GarbageCollected<BackgroundFetchFetch>,
+ public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
@@ -25,7 +25,7 @@ class BackgroundFetchRequest : public GarbageCollected<BackgroundFetchRequest>,
DECLARE_VIRTUAL_TRACE();
protected:
- explicit BackgroundFetchRequest(Request*);
+ explicit BackgroundFetchFetch(Request*);
private:
Member<Request> m_request;
@@ -33,4 +33,4 @@ class BackgroundFetchRequest : public GarbageCollected<BackgroundFetchRequest>,
} // namespace blink
-#endif // BackgroundFetchRequest_h
+#endif // BackgroundFetchFetch_h

Powered by Google App Engine
This is Rietveld 408576698