Index: native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h |
diff --git a/native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h b/native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h |
index 0fe374318152974bc4c72ec0a007039f7939e655..150f2bd56f432094cb14e18b7d77cae6650ad038 100644 |
--- a/native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h |
+++ b/native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.h |
@@ -9,6 +9,7 @@ |
#include "nacl_io/pepper_interface.h" |
// Mock interface class definitions. |
+#include "nacl_io/pepper/undef_macros.h" |
#define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ |
class BaseClass##Mock : public BaseClass { \ |
public: \ |
@@ -28,7 +29,6 @@ |
Type4) \ |
MOCK_METHOD5(MethodName, ReturnType(Type0, Type1, Type2, Type3, Type4)); |
#include "nacl_io/pepper/all_interfaces.h" |
-#include "nacl_io/pepper/undef_macros.h" |
class PepperInterfaceMock : public PepperInterface { |
@@ -41,23 +41,23 @@ class PepperInterfaceMock : public PepperInterface { |
MOCK_METHOD1(ReleaseResource, void(PP_Resource)); |
// Interface getters. |
+#include "nacl_io/pepper/undef_macros.h" |
#include "nacl_io/pepper/define_empty_macros.h" |
#undef BEGIN_INTERFACE |
#define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ |
virtual BaseClass##Mock* Get##BaseClass(); |
#include "nacl_io/pepper/all_interfaces.h" |
-#include "nacl_io/pepper/undef_macros.h" |
private: |
PP_Instance instance_; |
// Interface pointers. |
+#include "nacl_io/pepper/undef_macros.h" |
#include "nacl_io/pepper/define_empty_macros.h" |
#undef BEGIN_INTERFACE |
#define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ |
BaseClass##Mock* BaseClass##interface_; |
#include "nacl_io/pepper/all_interfaces.h" |
-#include "nacl_io/pepper/undef_macros.h" |
int dummy_; |
}; |