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

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

Issue 1002393005: Revert of ServiceWorker: Introduce SWMessageSender in order to mock IPC messaging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix patch apply failure 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_provider_context.h
diff --git a/content/child/service_worker/service_worker_provider_context.h b/content/child/service_worker/service_worker_provider_context.h
index dfb0a57c5112f89f682e9f2acdce146d5269b4cc..b54c7993ff18e0a9637f6ab872c57fde99b1b71e 100644
--- a/content/child/service_worker/service_worker_provider_context.h
+++ b/content/child/service_worker/service_worker_provider_context.h
@@ -24,9 +24,9 @@ class Message;
namespace content {
class ServiceWorkerHandleReference;
-class ServiceWorkerMessageSender;
class ServiceWorkerRegistrationHandleReference;
struct ServiceWorkerProviderContextDeleter;
+class ThreadSafeSender;
// An instance of this class holds information related to Document/Worker.
// Created and destructed on the main thread. Some functions can be called
@@ -91,7 +91,7 @@ class ServiceWorkerProviderContext
const int provider_id_;
scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
- scoped_refptr<ServiceWorkerMessageSender> sender_;
+ scoped_refptr<ThreadSafeSender> thread_safe_sender_;
// Protects (installing, waiting, active) worker and registration references.
base::Lock lock_;

Powered by Google App Engine
This is Rietveld 408576698