| Index: native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.cc
|
| diff --git a/native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.cc b/native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.cc
|
| deleted file mode 100644
|
| index ad0af97f84a3ad9b22a033b624d3ba1c659c0b6d..0000000000000000000000000000000000000000
|
| --- a/native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.cc
|
| +++ /dev/null
|
| @@ -1,51 +0,0 @@
|
| -/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -#include "pepper_interface_mock.h"
|
| -
|
| -PepperInterfaceMock::PepperInterfaceMock(PP_Instance instance)
|
| - : instance_(instance),
|
| -
|
| - // Initialize interfaces.
|
| -#include "nacl_mounts/pepper/define_empty_macros.h"
|
| -#undef BEGIN_INTERFACE
|
| -#define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| - BaseClass##interface_(new BaseClass##Mock),
|
| -#include "nacl_mounts/pepper/all_interfaces.h"
|
| -#include "nacl_mounts/pepper/undef_macros.h"
|
| -
|
| - // Dummy value so we can ensure that no interface ends the initializer list.
|
| - dummy_(0) {
|
| -}
|
| -
|
| -PepperInterfaceMock::~PepperInterfaceMock() {
|
| -
|
| - // Delete interfaces.
|
| -#include "nacl_mounts/pepper/define_empty_macros.h"
|
| -#undef BEGIN_INTERFACE
|
| -#define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| - delete BaseClass##interface_;
|
| -#include "nacl_mounts/pepper/all_interfaces.h"
|
| -#include "nacl_mounts/pepper/undef_macros.h"
|
| -
|
| -}
|
| -
|
| -PP_Instance PepperInterfaceMock::GetInstance() {
|
| - return instance_;
|
| -}
|
| -
|
| -// Define Getter functions, constructors, destructors.
|
| -#include "nacl_mounts/pepper/define_empty_macros.h"
|
| -#undef BEGIN_INTERFACE
|
| -#define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
|
| - BaseClass##Mock* PepperInterfaceMock::Get##BaseClass() { \
|
| - return BaseClass##interface_; \
|
| - } \
|
| - BaseClass##Mock::BaseClass##Mock() { \
|
| - } \
|
| - BaseClass##Mock::~BaseClass##Mock() { \
|
| - }
|
| -#include "nacl_mounts/pepper/all_interfaces.h"
|
| -#include "nacl_mounts/pepper/undef_macros.h"
|
|
|