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

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

Issue 1469123003: ServiceWorker: Ensure that ServiceWorkerDispatcher always adopts passed handle references (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 5 years, 1 month 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_handle_reference.h
diff --git a/content/child/service_worker/service_worker_handle_reference.h b/content/child/service_worker/service_worker_handle_reference.h
index 064f5414698c4329d44b72773063cf35f9be1a13..81305cd0781f7ef8d26e0be7690112269a826ab2 100644
--- a/content/child/service_worker/service_worker_handle_reference.h
+++ b/content/child/service_worker/service_worker_handle_reference.h
@@ -7,6 +7,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "content/common/content_export.h"
#include "content/common/service_worker/service_worker_types.h"
namespace content {
@@ -16,7 +17,7 @@ class ThreadSafeSender;
// Represents an interprocess reference to ServiceWorkerHandle managed in the
// browser process. The constructor and destructor sends a message to increment
// or decrement the reference count to the browser process.
-class ServiceWorkerHandleReference {
+class CONTENT_EXPORT ServiceWorkerHandleReference {
public:
// Creates a new ServiceWorkerHandleReference and increments ref-count.
static scoped_ptr<ServiceWorkerHandleReference> Create(

Powered by Google App Engine
This is Rietveld 408576698