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

Unified Diff: content/renderer/service_worker/service_worker_context_message_filter.h

Issue 118103002: Add IPC stubs between browser and ServiceWorker's worker context in the child process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/renderer/service_worker/service_worker_context_message_filter.h
diff --git a/content/child/service_worker/service_worker_message_filter.h b/content/renderer/service_worker/service_worker_context_message_filter.h
similarity index 50%
copy from content/child/service_worker/service_worker_message_filter.h
copy to content/renderer/service_worker/service_worker_context_message_filter.h
index f14cbcf5cd6d5b32d15389ead57ccb1cc3010287..6a34980c0be4552a0671d309cc315c66fe87374f 100644
--- a/content/child/service_worker/service_worker_message_filter.h
+++ b/content/renderer/service_worker/service_worker_context_message_filter.h
@@ -2,29 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_
-#define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_
+#ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_MESSAGE_FILTER_H_
+#define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_MESSAGE_FILTER_H_
#include "content/child/child_message_filter.h"
-#include "content/common/content_export.h"
-
-namespace base {
-class MessageLoopProxy;
-}
namespace content {
-class ThreadSafeSender;
-
-class CONTENT_EXPORT ServiceWorkerMessageFilter
- : public NON_EXPORTED_BASE(ChildMessageFilter) {
+class ServiceWorkerContextMessageFilter : public ChildMessageFilter {
alecflett 2013/12/19 00:59:11 This class (and the rest of the patch) seems like
public:
- explicit ServiceWorkerMessageFilter(ThreadSafeSender* thread_safe_sender);
+ ServiceWorkerContextMessageFilter();
protected:
- virtual ~ServiceWorkerMessageFilter();
+ virtual ~ServiceWorkerContextMessageFilter();
- private:
// ChildMessageFilter implementation:
virtual base::TaskRunner* OverrideTaskRunnerForMessage(
const IPC::Message& msg) OVERRIDE;
@@ -33,9 +24,9 @@ class CONTENT_EXPORT ServiceWorkerMessageFilter
scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
- DISALLOW_COPY_AND_ASSIGN(ServiceWorkerMessageFilter);
+ DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextMessageFilter);
};
} // namespace content
-#endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_
+#endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698