OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "ppapi/tests/test_file_ref.h" | 5 #include "ppapi/tests/test_file_ref.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #include <stdio.h> | 8 #include <stdio.h> |
8 | 9 |
9 #include <sstream> | 10 #include <sstream> |
10 #include <vector> | 11 #include <vector> |
11 | 12 |
12 #include "ppapi/c/pp_errors.h" | 13 #include "ppapi/c/pp_errors.h" |
13 #include "ppapi/c/ppb_file_io.h" | 14 #include "ppapi/c/ppb_file_io.h" |
14 #include "ppapi/c/private/ppb_testing_private.h" | 15 #include "ppapi/c/private/ppb_testing_private.h" |
15 #include "ppapi/cpp/directory_entry.h" | 16 #include "ppapi/cpp/directory_entry.h" |
16 #include "ppapi/cpp/file_io.h" | 17 #include "ppapi/cpp/file_io.h" |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 { | 767 { |
767 rv = pp::FileRef(file_system, test_dir_name) | 768 rv = pp::FileRef(file_system, test_dir_name) |
768 .ReadDirectoryEntries(output_callback.GetCallback()); | 769 .ReadDirectoryEntries(output_callback.GetCallback()); |
769 } | 770 } |
770 output_callback.WaitForAbortResult(rv); | 771 output_callback.WaitForAbortResult(rv); |
771 CHECK_CALLBACK_BEHAVIOR(output_callback); | 772 CHECK_CALLBACK_BEHAVIOR(output_callback); |
772 | 773 |
773 | 774 |
774 PASS(); | 775 PASS(); |
775 } | 776 } |
OLD | NEW |