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_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ | 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
7 | 7 |
8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "content/public/renderer/render_thread.h" | 10 #include "content/public/renderer/render_thread.h" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // We only keep track of one Widget, we learn its pointer when it | 141 // We only keep track of one Widget, we learn its pointer when it |
142 // adds a new route. We do not keep track of Widgets created with | 142 // adds a new route. We do not keep track of Widgets created with |
143 // OnMsgCreateWindow. | 143 // OnMsgCreateWindow. |
144 IPC::Listener* widget_; | 144 IPC::Listener* widget_; |
145 | 145 |
146 // Routing id that will be assigned to a CreateWindow Widget. | 146 // Routing id that will be assigned to a CreateWindow Widget. |
147 int32 new_window_routing_id_; | 147 int32 new_window_routing_id_; |
148 | 148 |
149 // The last known good deserializer for sync messages. | 149 // The last known good deserializer for sync messages. |
150 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; | 150 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; |
| 151 |
| 152 // A list of message filters added to this thread. |
| 153 std::vector<scoped_refptr<IPC::ChannelProxy::MessageFilter> > filters_; |
151 }; | 154 }; |
152 | 155 |
153 } // namespace content | 156 } // namespace content |
154 | 157 |
155 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ | 158 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ |
OLD | NEW |