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

Unified Diff: ppapi/proxy/plugin_dispatcher_unittest.cc

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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_globals.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 8a32026a036986bf8864c36ebf2e22db2dd8f913..a2999d0026658ca555126bcc1e2134a555895613 100644
--- a/ppapi/proxy/plugin_dispatcher_unittest.cc
+++ b/ppapi/proxy/plugin_dispatcher_unittest.cc
@@ -52,7 +52,7 @@ class PluginDispatcherTest : public PluginProxyTest {
public:
PluginDispatcherTest() {}
- bool HasTargetProxy(InterfaceID id) {
+ bool HasTargetProxy(ApiID id) {
return !!plugin_dispatcher()->proxies_[id].get();
}
};
@@ -71,12 +71,12 @@ TEST_F(PluginDispatcherTest, SupportsInterface) {
TEST_F(PluginDispatcherTest, PPBCreation) {
// Sending a PPB message out of the blue should create a target proxy for
// that interface in the plugin.
- EXPECT_FALSE(HasTargetProxy(INTERFACE_ID_PPB_AUDIO));
+ EXPECT_FALSE(HasTargetProxy(API_ID_PPB_AUDIO));
PpapiMsg_PPBAudio_NotifyAudioStreamCreated audio_msg(
- INTERFACE_ID_PPB_AUDIO, HostResource(), 0,
+ API_ID_PPB_AUDIO, HostResource(), 0,
IPC::PlatformFileForTransit(), base::SharedMemoryHandle(), 0);
plugin_dispatcher()->OnMessageReceived(audio_msg);
- EXPECT_TRUE(HasTargetProxy(INTERFACE_ID_PPB_AUDIO));
+ EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO));
}
} // namespace proxy
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698