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

Unified Diff: ppapi/proxy/ppb_crypto_proxy.cc

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years, 3 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/ppb_crypto_proxy.h ('k') | ppapi/proxy/ppb_cursor_control_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_crypto_proxy.cc
diff --git a/ppapi/proxy/ppb_crypto_proxy.cc b/ppapi/proxy/ppb_crypto_proxy.cc
index c534864f4a539bb219537cea80d270ba2bb43e0b..e80e17a047b1c571870cacaf3fdadf508596e1f5 100644
--- a/ppapi/proxy/ppb_crypto_proxy.cc
+++ b/ppapi/proxy/ppb_crypto_proxy.cc
@@ -17,16 +17,14 @@ const PPB_Crypto_Dev crypto_interface = {
&ppapi::CryptoImpl::GetRandomBytes
};
-InterfaceProxy* CreateCryptoProxy(Dispatcher* dispatcher,
- const void* target_interface) {
- return new PPB_Crypto_Proxy(dispatcher, target_interface);
+InterfaceProxy* CreateCryptoProxy(Dispatcher* dispatcher) {
+ return new PPB_Crypto_Proxy(dispatcher);
}
} // namespace
-PPB_Crypto_Proxy::PPB_Crypto_Proxy(Dispatcher* dispatcher,
- const void* target_interface)
- : InterfaceProxy(dispatcher, target_interface) {
+PPB_Crypto_Proxy::PPB_Crypto_Proxy(Dispatcher* dispatcher)
+ : InterfaceProxy(dispatcher) {
NOTREACHED(); // See comment in the header file.
}
« no previous file with comments | « ppapi/proxy/ppb_crypto_proxy.h ('k') | ppapi/proxy/ppb_cursor_control_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698