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

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

Issue 2786783002: Dispatch a bare Service Worker event for a finished Background Fetch (Closed)
Patch Set: Dispatch a bare Service Worker event for a finished Background Fetch 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 82989cd4654168e250ee0148315243c890cf0101..09590fe0559958216a61a3295f5d482e890f3741 100644
--- a/content/browser/background_fetch/background_fetch_service_impl.h
+++ b/content/browser/background_fetch/background_fetch_service_impl.h
@@ -12,6 +12,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom.h"
namespace url {
@@ -24,7 +25,8 @@ class BackgroundFetchContext;
struct BackgroundFetchOptions;
struct ServiceWorkerFetchRequest;
-class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
+class CONTENT_EXPORT BackgroundFetchServiceImpl
+ : public blink::mojom::BackgroundFetchService {
public:
BackgroundFetchServiceImpl(
int render_process_id,
@@ -74,6 +76,9 @@ class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
// renderer will be flagged for having send a bad message if it isn't.
bool ValidateTitle(const std::string& title) WARN_UNUSED_RESULT;
+ //
harkness 2017/03/30 14:15:28 micro-nit: remove
Peter Beverloo 2017/03/30 14:50:38 Done.
+ void DidUpdateUI();
+
// Id of the renderer process that this service has been created for.
int render_process_id_;

Powered by Google App Engine
This is Rietveld 408576698