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

Side by Side Diff: o3d/gpu_plugin/np_utils/np_object_mock.h

Issue 194049: Implemented shared memory as an NPObject. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef O3D_GPU_PLUGIN_NP_UTILS_NP_OBJECT_MOCK_H_ 5 #ifndef O3D_GPU_PLUGIN_NP_UTILS_NP_OBJECT_MOCK_H_
6 #define O3D_GPU_PLUGIN_NP_UTILS_NP_OBJECT_MOCK_H_ 6 #define O3D_GPU_PLUGIN_NP_UTILS_NP_OBJECT_MOCK_H_
7 7
8 #include "third_party/npapi/bindings/npapi.h" 8 #include "o3d/gpu_plugin/np_utils/np_browser.h"
9 #include "third_party/npapi/bindings/npruntime.h"
10 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
11 10
12 namespace o3d { 11 namespace o3d {
13 namespace gpu_plugin { 12 namespace gpu_plugin {
14 13
15 class MockNPObject : public NPObject { 14 class MockNPObject : public NPObject {
16 public: 15 public:
17 explicit MockNPObject(NPP npp) { 16 explicit MockNPObject(NPP npp) {
18 } 17 }
19 18
(...skipping 10 matching lines...) Expand all
30 MOCK_METHOD3(Construct, bool(const NPVariant*, uint32_t, NPVariant*)); 29 MOCK_METHOD3(Construct, bool(const NPVariant*, uint32_t, NPVariant*));
31 30
32 private: 31 private:
33 DISALLOW_COPY_AND_ASSIGN(MockNPObject); 32 DISALLOW_COPY_AND_ASSIGN(MockNPObject);
34 }; 33 };
35 34
36 } // namespace gpu_plugin 35 } // namespace gpu_plugin
37 } // namespace o3d 36 } // namespace o3d
38 37
39 #endif // O3D_GPU_PLUGIN_NP_UTILS_NP_OBJECT_MOCK_H_ 38 #endif // O3D_GPU_PLUGIN_NP_UTILS_NP_OBJECT_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698