| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_NACL_NACL_LISTENER_H_ | 5 #ifndef CHROME_NACL_NACL_LISTENER_H_ |
| 6 #define CHROME_NACL_NACL_LISTENER_H_ | 6 #define CHROME_NACL_NACL_LISTENER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 // A filter that allows other threads to use the channel. | 41 // A filter that allows other threads to use the channel. |
| 42 scoped_refptr<IPC::SyncMessageFilter> filter_; | 42 scoped_refptr<IPC::SyncMessageFilter> filter_; |
| 43 | 43 |
| 44 base::WaitableEvent shutdown_event_; | 44 base::WaitableEvent shutdown_event_; |
| 45 base::Thread io_thread_; | 45 base::Thread io_thread_; |
| 46 | 46 |
| 47 // Used to identify what thread we're on. | 47 // Used to identify what thread we're on. |
| 48 MessageLoop* main_loop_; | 48 MessageLoop* main_loop_; |
| 49 | 49 |
| 50 scoped_ptr<IPC::SyncChannel> ppapi_channel_; |
| 51 |
| 50 bool debug_enabled_; | 52 bool debug_enabled_; |
| 51 | 53 |
| 52 DISALLOW_COPY_AND_ASSIGN(NaClListener); | 54 DISALLOW_COPY_AND_ASSIGN(NaClListener); |
| 53 }; | 55 }; |
| 54 | 56 |
| 55 #endif // CHROME_NACL_NACL_LISTENER_H_ | 57 #endif // CHROME_NACL_NACL_LISTENER_H_ |
| OLD | NEW |