| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 */ | |
| 5 | 4 |
| 6 #ifndef LIBRARIES_NACL_IO_TEST_MOCK_UTIL_H_ | 5 #ifndef LIBRARIES_NACL_IO_TEST_MOCK_UTIL_H_ |
| 7 #define LIBRARIES_NACL_IO_TEST_MOCK_UTIL_H_ | 6 #define LIBRARIES_NACL_IO_TEST_MOCK_UTIL_H_ |
| 8 | 7 |
| 9 #include <gmock/gmock.h> | 8 #include <gmock/gmock.h> |
| 10 #include <ppapi/c/pp_completion_callback.h> | 9 #include <ppapi/c/pp_completion_callback.h> |
| 11 #include <ppapi/c/pp_var.h> | 10 #include <ppapi/c/pp_var.h> |
| 12 | 11 |
| 13 ACTION_TEMPLATE(CallCallback, | 12 ACTION_TEMPLATE(CallCallback, |
| 14 HAS_1_TEMPLATE_PARAMS(int, k), | 13 HAS_1_TEMPLATE_PARAMS(int, k), |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 case PP_VARTYPE_ARRAY_BUFFER: | 46 case PP_VARTYPE_ARRAY_BUFFER: |
| 48 case PP_VARTYPE_DICTIONARY: | 47 case PP_VARTYPE_DICTIONARY: |
| 49 case PP_VARTYPE_OBJECT: | 48 case PP_VARTYPE_OBJECT: |
| 50 default: | 49 default: |
| 51 // Not supported. | 50 // Not supported. |
| 52 return false; | 51 return false; |
| 53 } | 52 } |
| 54 } | 53 } |
| 55 | 54 |
| 56 #endif // LIBRARIES_NACL_IO_TEST_MOCK_UTIL_H_ | 55 #endif // LIBRARIES_NACL_IO_TEST_MOCK_UTIL_H_ |
| OLD | NEW |