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

Unified Diff: ppapi/proxy/interface_list.h

Issue 10116003: Add #ifdefs to separate NaCl and non-NaCl PPAPI Proxy code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
Index: ppapi/proxy/interface_list.h
===================================================================
--- ppapi/proxy/interface_list.h (revision 132566)
+++ ppapi/proxy/interface_list.h (working copy)
@@ -52,11 +52,13 @@
typedef std::map<std::string, InterfaceInfo> NameToInterfaceInfoMap;
+#if !defined(OS_NACL)
// Registers the Flash-specific interfaces.
//
// TODO(brettw) these should be moved somewhere separately so we can compile
// the proxy for NaCl without Flash interface support.
void AddFlashInterfaces();
+#endif // !defined(OS_NACL)
void AddProxy(ApiID id, InterfaceProxy::Factory factory);

Powered by Google App Engine
This is Rietveld 408576698