| 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 CONTENT_COMMON_CHILD_NP_CHANNEL_BASE_H_ | 5 #ifndef CONTENT_CHILD_NP_CHANNEL_BASE_H_ |
| 6 #define CONTENT_COMMON_CHILD_NP_CHANNEL_BASE_H_ | 6 #define CONTENT_CHILD_NP_CHANNEL_BASE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/process.h" | 14 #include "base/process.h" |
| 15 #include "content/child/npobject_base.h" |
| 15 #include "content/common/message_router.h" | 16 #include "content/common/message_router.h" |
| 16 #include "content/common_child/npobject_base.h" | |
| 17 #include "ipc/ipc_channel_handle.h" | 17 #include "ipc/ipc_channel_handle.h" |
| 18 #include "ipc/ipc_sync_channel.h" | 18 #include "ipc/ipc_sync_channel.h" |
| 19 | 19 |
| 20 namespace base { | 20 namespace base { |
| 21 class MessageLoopProxy; | 21 class MessageLoopProxy; |
| 22 } | 22 } |
| 23 | 23 |
| 24 #if defined(COMPILER_GCC) | 24 #if defined(COMPILER_GCC) |
| 25 namespace BASE_HASH_NAMESPACE { | 25 namespace BASE_HASH_NAMESPACE { |
| 26 | 26 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // additionally have to do this for async messages from the renderer that | 193 // additionally have to do this for async messages from the renderer that |
| 194 // have the unblock flag set, since they could be followed by a sync message | 194 // have the unblock flag set, since they could be followed by a sync message |
| 195 // that won't get dispatched until the call to the renderer is complete. | 195 // that won't get dispatched until the call to the renderer is complete. |
| 196 bool send_unblocking_only_during_unblock_dispatch_; | 196 bool send_unblocking_only_during_unblock_dispatch_; |
| 197 | 197 |
| 198 DISALLOW_COPY_AND_ASSIGN(NPChannelBase); | 198 DISALLOW_COPY_AND_ASSIGN(NPChannelBase); |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 } // namespace content | 201 } // namespace content |
| 202 | 202 |
| 203 #endif // CONTENT_COMMON_CHILD_NP_CHANNEL_BASE_H_ | 203 #endif // CONTENT_CHILD_NP_CHANNEL_BASE_H_ |
| OLD | NEW |