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

Unified Diff: content/child/service_worker/service_worker_network_provider.h

Issue 2396273002: ServiceWorker: Mojofication of ServiceWorkerDispatcherHost (Closed)
Patch Set: Removed GetWeakPtr and moved a method to private Created 4 years, 2 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/child/service_worker/service_worker_network_provider.h
diff --git a/content/child/service_worker/service_worker_network_provider.h b/content/child/service_worker/service_worker_network_provider.h
index e2df2474b4b1784905ffd59494805d14a5700c05..4bb23f5dd0b92a856a24b82ffa7d1d93dfe91bd2 100644
--- a/content/child/service_worker/service_worker_network_provider.h
+++ b/content/child/service_worker/service_worker_network_provider.h
@@ -14,6 +14,7 @@
#include "base/memory/ref_counted.h"
#include "base/supports_user_data.h"
#include "content/common/content_export.h"
+#include "content/common/service_worker/service_worker.mojom.h"
#include "content/common/service_worker/service_worker_types.h"
namespace blink {
@@ -78,6 +79,7 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
private:
const int provider_id_;
scoped_refptr<ServiceWorkerProviderContext> context_;
+ mojom::ServiceWorkerDispatcherHostAssociatedPtr dispatcher_host_;
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerNetworkProvider);
};

Powered by Google App Engine
This is Rietveld 408576698