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

Unified Diff: gpu/np_utils/np_object_mock.h

Issue 481007: Deleted np_utils library. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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
« no previous file with comments | « gpu/np_utils/np_headers.h ('k') | gpu/np_utils/np_object_pointer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/np_utils/np_object_mock.h
===================================================================
--- gpu/np_utils/np_object_mock.h (revision 34090)
+++ gpu/np_utils/np_object_mock.h (working copy)
@@ -1,36 +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_OBJECT_MOCK_H_
-#define GPU_NP_UTILS_NP_OBJECT_MOCK_H_
-
-#include "gpu/np_utils/np_browser.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace np_utils {
-
-class MockNPObject : public NPObject {
- public:
- explicit MockNPObject(NPP npp) {
- }
-
- MOCK_METHOD0(Invalidate, void());
- MOCK_METHOD1(HasMethod, bool(NPIdentifier));
- MOCK_METHOD4(Invoke,
- bool(NPIdentifier, const NPVariant*, uint32_t, NPVariant*));
- MOCK_METHOD3(InvokeDefault, bool(const NPVariant*, uint32_t, NPVariant*));
- MOCK_METHOD1(HasProperty, bool(NPIdentifier));
- MOCK_METHOD2(GetProperty, bool(NPIdentifier, NPVariant*));
- MOCK_METHOD2(SetProperty, bool(NPIdentifier, const NPVariant*));
- MOCK_METHOD1(RemoveProperty, bool(NPIdentifier));
- MOCK_METHOD2(Enumerate, bool(NPIdentifier**, uint32_t*));
- MOCK_METHOD3(Construct, bool(const NPVariant*, uint32_t, NPVariant*));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockNPObject);
-};
-
-} // namespace np_utils
-
-#endif // GPU_NP_UTILS_NP_OBJECT_MOCK_H_
« no previous file with comments | « gpu/np_utils/np_headers.h ('k') | gpu/np_utils/np_object_pointer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698