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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.cc

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 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: 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"

Powered by Google App Engine
This is Rietveld 408576698