summaryrefslogtreecommitdiffstats
path: root/gpu/np_utils/np_plugin_object_mock.h
diff options
context:
space:
mode:
authorapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 21:17:43 +0000
committerapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 21:17:43 +0000
commita7150972720d10eb13ec1461dcdd0836b86b2586 (patch)
tree89b3e5485df9d1baa4718ae3c5a76583af566f04 /gpu/np_utils/np_plugin_object_mock.h
parenteba9677e3ca98f6b968f1c5050141bf7b95d5421 (diff)
downloadchromium_src-a7150972720d10eb13ec1461dcdd0836b86b2586.zip
chromium_src-a7150972720d10eb13ec1461dcdd0836b86b2586.tar.gz
chromium_src-a7150972720d10eb13ec1461dcdd0836b86b2586.tar.bz2
Reverting the rest of 32952
TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/np_utils/np_plugin_object_mock.h')
-rw-r--r--gpu/np_utils/np_plugin_object_mock.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/gpu/np_utils/np_plugin_object_mock.h b/gpu/np_utils/np_plugin_object_mock.h
deleted file mode 100644
index 342b22c..0000000
--- a/gpu/np_utils/np_plugin_object_mock.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2006-2008 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.
-
-#ifndef GPU_NP_UTILS_NP_PLUGIN_OBJECT_MOCK_H_
-#define GPU_NP_UTILS_NP_PLUGIN_OBJECT_MOCK_H_
-
-#include "gpu/np_utils/np_plugin_object.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace np_utils {
-
-class MockPluginObject : public PluginObject {
- public:
- MOCK_METHOD5(New, NPError(NPMIMEType, int16, char*[], char*[], NPSavedData*));
- MOCK_METHOD1(SetWindow, NPError(NPWindow*));
- MOCK_METHOD1(HandleEvent, int16(NPEvent*));
- MOCK_METHOD1(Destroy, NPError(NPSavedData**));
- MOCK_METHOD0(Release, void());
- MOCK_METHOD0(GetScriptableNPObject, NPObject*());
-};
-
-} // namespace np_utils
-
-#endif // GPU_NP_UTILS_NP_PLUGIN_OBJECT_MOCK_H_