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

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

Issue 2958753003: Revert "Create ServiceWorkerProviderHost before starting worker" (Closed)
Patch Set: 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 1384604eec1714b51acb096aaa09aeaa6e611a28..e06b112e1f40a9998719b2007ad73ff10d65b477 100644
--- a/content/browser/service_worker/service_worker_registration_handle.h
+++ b/content/browser/service_worker/service_worker_registration_handle.h
@@ -12,7 +12,6 @@
#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 {
@@ -31,10 +30,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 CONTENT_EXPORT ServiceWorkerRegistrationHandle
+class ServiceWorkerRegistrationHandle
: public ServiceWorkerRegistration::Listener {
public:
- ServiceWorkerRegistrationHandle(
+ CONTENT_EXPORT ServiceWorkerRegistrationHandle(
base::WeakPtr<ServiceWorkerContextCore> context,
base::WeakPtr<ServiceWorkerProviderHost> provider_host,
ServiceWorkerRegistration* registration);

Powered by Google App Engine
This is Rietveld 408576698