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

Side by Side Diff: tests/ppapi_test_lib/test_interface.h

Issue 7167018: Migrating test/ppapi_file_system to messaging (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 The Native Client 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 // Functions and constants for test registration and setup. 5 // Functions and constants for test registration and setup.
6 // 6 //
7 // NOTE: These must be implemented by the tester: 7 // NOTE: These must be implemented by the tester:
8 // - SetupTests() 8 // - SetupTests()
9 // - SetupPluginInterfaces() 9 // - SetupPluginInterfaces()
10 // 10 //
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // const PPP_Bar ppp_bar_interface = { ... }; 48 // const PPP_Bar ppp_bar_interface = { ... };
49 // 49 //
50 // void SetupPluginInterface() { 50 // void SetupPluginInterface() {
51 // RegisterPluginInterface(PPP_BAR_INTERFACE, &ppp_bar_interface); 51 // RegisterPluginInterface(PPP_BAR_INTERFACE, &ppp_bar_interface);
52 // } 52 // }
53 // 53 //
54 54
55 #ifndef NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H 55 #ifndef NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H
56 #define NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H 56 #define NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H
57 57
58 #include <stdio.h>
David Springer 2011/06/15 21:40:27 This seems unused - remove?
Sang Ahn 2011/06/15 22:27:42 It's used by the EXPECT* macros below. On 2011/06
58 #include <limits> 59 #include <limits>
59 60
60 #include "native_client/src/include/nacl_string.h" 61 #include "native_client/src/include/nacl_string.h"
61 62
62 #include "ppapi/c/pp_completion_callback.h" 63 #include "ppapi/c/pp_completion_callback.h"
63 #include "ppapi/c/pp_instance.h" 64 #include "ppapi/c/pp_instance.h"
64 #include "ppapi/c/pp_module.h" 65 #include "ppapi/c/pp_module.h"
65 #include "ppapi/c/pp_resource.h" 66 #include "ppapi/c/pp_resource.h"
66 #include "ppapi/c/pp_var.h" 67 #include "ppapi/c/pp_var.h"
67 68
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // 00 - module, 01 - instance, 10 - resource, 11 - var. 140 // 00 - module, 01 - instance, 10 - resource, 11 - var.
140 const PP_Instance kNotAnInstance = 0xFFFFF0; 141 const PP_Instance kNotAnInstance = 0xFFFFF0;
141 const PP_Resource kNotAResource = 0xAAAAA0; 142 const PP_Resource kNotAResource = 0xAAAAA0;
142 143
143 // Interface pointers and ids corresponding to this plugin; 144 // Interface pointers and ids corresponding to this plugin;
144 // set at initialization/creation. 145 // set at initialization/creation.
145 PP_Instance pp_instance(); 146 PP_Instance pp_instance();
146 PP_Module pp_module(); 147 PP_Module pp_module();
147 148
148 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H 149 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H
OLDNEW
« tests/ppapi_test_lib/get_browser_interface.h ('K') | « tests/ppapi_test_lib/get_browser_interface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698