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

Side by Side Diff: native_client_sdk/src/libraries/nacl_mounts_test/pepper_interface_mock.h

Issue 11592003: Add support for simple run of "main" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace missing stdio Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_ 5 #ifndef LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_
6 #define LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_ 6 #define LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_
7 7
8 #include "gmock/gmock.h" 8 #include "gmock/gmock.h"
9 #include "nacl_mounts/pepper_interface.h" 9 #include "nacl_mounts/pepper_interface.h"
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 class DirectoryReaderInterfaceMock : public DirectoryReaderInterface { 70 class DirectoryReaderInterfaceMock : public DirectoryReaderInterface {
71 public: 71 public:
72 MOCK_METHOD1(Create, PP_Resource(PP_Resource)); 72 MOCK_METHOD1(Create, PP_Resource(PP_Resource));
73 MOCK_METHOD3(GetNextEntry, int32_t(PP_Resource, PP_DirectoryEntry_Dev*, 73 MOCK_METHOD3(GetNextEntry, int32_t(PP_Resource, PP_DirectoryEntry_Dev*,
74 PP_CompletionCallback)); 74 PP_CompletionCallback));
75 }; 75 };
76 76
77 class VarInterfaceMock : public VarInterface { 77 class VarInterfaceMock : public VarInterface {
78 public: 78 public:
79 MOCK_METHOD2(VarFromUtf8, PP_Var(const char*, uint32_t));
79 MOCK_METHOD2(VarToUtf8, const char*(PP_Var, uint32_t*)); 80 MOCK_METHOD2(VarToUtf8, const char*(PP_Var, uint32_t*));
80 }; 81 };
81 82
82 #endif // LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_ 83 #endif // LIBRARIES_NACL_MOUNTS_TEST_PEPPER_INTERFACE_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698