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

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

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Created 5 years, 7 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 b54c7993ff18e0a9637f6ab872c57fde99b1b71e..8f8f1b87d21c6cc56a6aaed9a39d7ea91c49a03e 100644
--- a/content/child/service_worker/service_worker_provider_context.h
+++ b/content/child/service_worker/service_worker_provider_context.h
@@ -14,7 +14,7 @@
#include "content/common/service_worker/service_worker_types.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace IPC {
@@ -90,7 +90,7 @@ class ServiceWorkerProviderContext
void DestructOnMainThread() const;
const int provider_id_;
- scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
// Protects (installing, waiting, active) worker and registration references.

Powered by Google App Engine
This is Rietveld 408576698