| OLD | NEW |
| 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 // Tests the case of an array of callbacks as an a argument | 5 namespace basic_function { |
| 6 | |
| 7 namespace idl_callback_arrays { | |
| 8 callback MyCallback = void(long x); | |
| 9 | |
| 10 interface Functions { | 6 interface Functions { |
| 11 static void whatever(MyCallback[] callbacks); | 7 // Documentation for the basic function, foo(). |
| 8 void foo(); |
| 9 |
| 10 // Documentation for the basic static function, staticFoo(). |
| 11 static void staticFoo(); |
| 12 }; | 12 }; |
| 13 }; | 13 }; |
| OLD | NEW |