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

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

Issue 1011643002: ServiceWorker: Introduce SWMessageSender in order to mock IPC messaging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add header comment Created 5 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/child/service_worker/service_worker_message_filter.h
diff --git a/content/child/service_worker/service_worker_message_filter.h b/content/child/service_worker/service_worker_message_filter.h
index d6fdeb9bb7d274bbc29224a86042db09b796f9a5..8b98510edd72d9dbb263a8a78859dbf2ad650da4 100644
--- a/content/child/service_worker/service_worker_message_filter.h
+++ b/content/child/service_worker/service_worker_message_filter.h
@@ -10,6 +10,7 @@
namespace content {
+class ServiceWorkerMessageSender;
struct ServiceWorkerObjectInfo;
struct ServiceWorkerRegistrationObjectInfo;
struct ServiceWorkerVersionAttributes;
@@ -50,6 +51,8 @@ class CONTENT_EXPORT ServiceWorkerMessageFilter
const ServiceWorkerObjectInfo& info,
bool should_notify_controllerchange);
+ scoped_refptr<ServiceWorkerMessageSender> sender_;
+
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerMessageFilter);
};

Powered by Google App Engine
This is Rietveld 408576698