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_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ |
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ |
7 | 7 |
8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" | 8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 protected: | 33 protected: |
34 virtual ~MockBrowserPluginManager(); | 34 virtual ~MockBrowserPluginManager(); |
35 void AllocateInstanceIDACK(BrowserPlugin* browser_plugin, | 35 void AllocateInstanceIDACK(BrowserPlugin* browser_plugin, |
36 int guest_instance_id); | 36 int guest_instance_id); |
37 | 37 |
38 IPC::TestSink sink_; | 38 IPC::TestSink sink_; |
39 | 39 |
40 // The last known good deserializer for sync messages. | 40 // The last known good deserializer for sync messages. |
41 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; | 41 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; |
42 | 42 |
43 int browser_plugin_instance_id_counter_; | |
44 int guest_instance_id_counter_; | 43 int guest_instance_id_counter_; |
45 | 44 |
46 DISALLOW_COPY_AND_ASSIGN(MockBrowserPluginManager); | 45 DISALLOW_COPY_AND_ASSIGN(MockBrowserPluginManager); |
47 }; | 46 }; |
48 | 47 |
49 } // namespace content | 48 } // namespace content |
50 | 49 |
51 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ | 50 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_MANAGER_H_ |
OLD | NEW |