Index: gpu/np_utils/np_plugin_object_mock.h |
=================================================================== |
--- gpu/np_utils/np_plugin_object_mock.h (revision 34090) |
+++ gpu/np_utils/np_plugin_object_mock.h (working copy) |
@@ -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_ |