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_CHILD_THREAD_SAFE_SENDER_H_ | 5 #ifndef CONTENT_CHILD_THREAD_SAFE_SENDER_H_ |
6 #define CONTENT_CHILD_THREAD_SAFE_SENDER_H_ | 6 #define CONTENT_CHILD_THREAD_SAFE_SENDER_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 #include "ipc/ipc_sender.h" | 10 #include "ipc/ipc_sender.h" |
12 | 11 |
13 namespace base { | 12 namespace base { |
14 class SingleThreadTaskRunner; | 13 class SingleThreadTaskRunner; |
15 } | 14 } |
16 | 15 |
17 namespace IPC { | 16 namespace IPC { |
18 class SyncMessageFilter; | 17 class SyncMessageFilter; |
(...skipping 23 matching lines...) Expand all Loading... |
42 | 41 |
43 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; | 42 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |
44 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; | 43 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; |
45 | 44 |
46 DISALLOW_COPY_AND_ASSIGN(ThreadSafeSender); | 45 DISALLOW_COPY_AND_ASSIGN(ThreadSafeSender); |
47 }; | 46 }; |
48 | 47 |
49 } // namespace content | 48 } // namespace content |
50 | 49 |
51 #endif // CONTENT_CHILD_THREAD_SAFE_SENDER_H_ | 50 #endif // CONTENT_CHILD_THREAD_SAFE_SENDER_H_ |
OLD | NEW |