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

Unified Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledFetch.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/BackgroundFetchSettledFetch.h
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.h b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledFetch.h
similarity index 57%
rename from third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.h
rename to third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledFetch.h
index 0761c5589120b55c419be6b18a98869a29c10478..bac1877916f9403e62d584d7afb1b0d29dcf5cf1 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.h
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledFetch.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BackgroundFetchSettledRequest_h
-#define BackgroundFetchSettledRequest_h
+#ifndef BackgroundFetchSettledFetch_h
+#define BackgroundFetchSettledFetch_h
-#include "modules/background_fetch/BackgroundFetchRequest.h"
+#include "modules/background_fetch/BackgroundFetchFetch.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -16,13 +16,13 @@ class Response;
// Interface for providing developers access to the Request/Response pairs when
// a background fetch has settled, either through the `backgroundfetched` event
// in case of success, or `backgroundfetchfail` in case of failure.
-class BackgroundFetchSettledRequest final : public BackgroundFetchRequest {
+class BackgroundFetchSettledFetch final : public BackgroundFetchFetch {
DEFINE_WRAPPERTYPEINFO();
public:
- static BackgroundFetchSettledRequest* create(Request* request,
- Response* response) {
- return new BackgroundFetchSettledRequest(request, response);
+ static BackgroundFetchSettledFetch* create(Request* request,
+ Response* response) {
+ return new BackgroundFetchSettledFetch(request, response);
}
// Web Exposed attribute defined in the IDL file.
@@ -31,11 +31,11 @@ class BackgroundFetchSettledRequest final : public BackgroundFetchRequest {
DECLARE_VIRTUAL_TRACE();
private:
- BackgroundFetchSettledRequest(Request*, Response*);
+ BackgroundFetchSettledFetch(Request*, Response*);
Member<Response> m_response;
};
} // namespace blink
-#endif // BackgroundFetchSettledRequest_h
+#endif // BackgroundFetchSettledFetch_h

Powered by Google App Engine
This is Rietveld 408576698