Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Unified Diff: ppapi/proxy/plugin_dispatcher_unittest.cc

Issue 7189045: Make o.o.p. proxy handle PPP_Instance versions 0.4 and 0.5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_resource_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_dispatcher_unittest.cc
diff --git a/ppapi/proxy/plugin_dispatcher_unittest.cc b/ppapi/proxy/plugin_dispatcher_unittest.cc
index 096783e60a044ebad0cdfe2f995ccb74cd9471cf..f3e8da5eb59939f914c808159421e1ae6aef9547 100644
--- a/ppapi/proxy/plugin_dispatcher_unittest.cc
+++ b/ppapi/proxy/plugin_dispatcher_unittest.cc
@@ -44,6 +44,8 @@ PPB_Audio dummy_audio_interface = {
&StopPlayback
};
+PPP_Instance dummy_ppp_instance_interface = {};
+
} // namespace
class PluginDispatcherTest : public PluginProxyTest {
@@ -57,8 +59,7 @@ class PluginDispatcherTest : public PluginProxyTest {
TEST_F(PluginDispatcherTest, SupportsInterface) {
RegisterTestInterface(PPB_AUDIO_INTERFACE, &dummy_audio_interface);
- RegisterTestInterface(PPP_INSTANCE_INTERFACE,
- reinterpret_cast<void*>(0xdeadbeef));
+ RegisterTestInterface(PPP_INSTANCE_INTERFACE, &dummy_ppp_instance_interface);
// Sending a request for a random interface should fail.
EXPECT_FALSE(SupportsInterface("Random interface"));
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698