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

Unified Diff: content/browser/background_fetch/background_fetch_service_impl.h

Issue 2762573003: Implement BackgroundFetchManager.fetch() and struct traits (Closed)
Patch Set: First round of 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/background_fetch/background_fetch_service_impl.h
diff --git a/content/browser/background_fetch/background_fetch_service_impl.h b/content/browser/background_fetch/background_fetch_service_impl.h
index 3f03b9cec3040cbacd5920b8b67d82089283b10b..17f8423081eaa275819f6bcae8b293e887e541aa 100644
--- a/content/browser/background_fetch/background_fetch_service_impl.h
+++ b/content/browser/background_fetch/background_fetch_service_impl.h
@@ -7,6 +7,7 @@
#include <string>
#include <utility>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -15,6 +16,7 @@
namespace content {
class BackgroundFetchContext;
+struct BackgroundFetchOptions;
class ServiceWorkerContextWrapper;
class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
@@ -30,6 +32,10 @@ class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
blink::mojom::BackgroundFetchServiceRequest request);
// blink::mojom::BackgroundFetchService implementation.
+ void Fetch(int64_t service_worker_registration_id,
+ const std::string& tag,
+ const BackgroundFetchOptions& options,
+ const FetchCallback& callback) override;
void UpdateUI(int64_t service_worker_registration_id,
const std::string& tag,
const std::string& title,

Powered by Google App Engine
This is Rietveld 408576698