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

Side by Side Diff: content/renderer/shared_worker/embedded_shared_worker_message_filter.h

Issue 158953008: Implementations of SharedWorker in the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WorkerMessages
Patch Set: Created 6 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_MESSAGE_FILTER_H_
6 #define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_MESSAGE_FILTER_H_
7
8 #include "base/macros.h"
9 #include "content/child/child_message_filter.h"
10
11 namespace content {
12
13 class EmbeddedSharedWorkerMessageFilter : public ChildMessageFilter {
14 public:
15 EmbeddedSharedWorkerMessageFilter();
16
17 protected:
18 virtual ~EmbeddedSharedWorkerMessageFilter();
19
20 private:
21 // ChildMessageFilter implementation:
22 virtual base::TaskRunner* OverrideTaskRunnerForMessage(
23 const IPC::Message& msg) OVERRIDE;
kinuko 2014/02/12 11:49:33 Are we going to need this thread override? If all
horo 2014/02/13 05:30:01 I deleted EmbeddedSharedWorkerMessageFilter from t
24 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
25
26 scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
27
28 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerMessageFilter);
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_MESSAGE_FILTER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698