| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_COMMON_THREAD_SAFE_SENDER_H_ | 5 #ifndef CONTENT_CHILD_THREAD_SAFE_SENDER_H_ |
| 6 #define CONTENT_COMMON_THREAD_SAFE_SENDER_H_ | 6 #define CONTENT_CHILD_THREAD_SAFE_SENDER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "ipc/ipc_sender.h" | 9 #include "ipc/ipc_sender.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class MessageLoopProxy; | 12 class MessageLoopProxy; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace IPC { | 15 namespace IPC { |
| 16 class SyncMessageFilter; | 16 class SyncMessageFilter; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 35 virtual ~ThreadSafeSender(); | 35 virtual ~ThreadSafeSender(); |
| 36 | 36 |
| 37 scoped_refptr<base::MessageLoopProxy> main_loop_; | 37 scoped_refptr<base::MessageLoopProxy> main_loop_; |
| 38 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; | 38 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(ThreadSafeSender); | 40 DISALLOW_COPY_AND_ASSIGN(ThreadSafeSender); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace content | 43 } // namespace content |
| 44 | 44 |
| 45 #endif // CONTENT_COMMON_THREAD_SAFE_SENDER_H_ | 45 #endif // CONTENT_CHILD_THREAD_SAFE_SENDER_H_ |
| OLD | NEW |