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

Unified Diff: content/browser/service_worker/service_worker_registration_handle.h

Issue 2779763004: Create ServiceWorkerProviderHost before starting worker (Closed)
Patch Set: Pass the param of BindWithProviderInfo by value instead of pointer Created 3 years, 6 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/service_worker/service_worker_registration_handle.h
diff --git a/content/browser/service_worker/service_worker_registration_handle.h b/content/browser/service_worker/service_worker_registration_handle.h
index e06b112e1f40a9998719b2007ad73ff10d65b477..1384604eec1714b51acb096aaa09aeaa6e611a28 100644
--- a/content/browser/service_worker/service_worker_registration_handle.h
+++ b/content/browser/service_worker/service_worker_registration_handle.h
@@ -12,6 +12,7 @@
#include "base/memory/weak_ptr.h"
#include "content/browser/service_worker/service_worker_registration.h"
#include "content/browser/service_worker/service_worker_version.h"
+#include "content/common/content_export.h"
#include "content/common/service_worker/service_worker_types.h"
namespace content {
@@ -30,10 +31,10 @@ class ServiceWorkerVersion;
//
// Has a reference to the corresponding ServiceWorkerRegistration in order to
// ensure that the registration is alive while this handle is around.
-class ServiceWorkerRegistrationHandle
+class CONTENT_EXPORT ServiceWorkerRegistrationHandle
: public ServiceWorkerRegistration::Listener {
public:
- CONTENT_EXPORT ServiceWorkerRegistrationHandle(
+ ServiceWorkerRegistrationHandle(
base::WeakPtr<ServiceWorkerContextCore> context,
base::WeakPtr<ServiceWorkerProviderHost> provider_host,
ServiceWorkerRegistration* registration);

Powered by Google App Engine
This is Rietveld 408576698