| 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 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" |
| 6 | 6 |
| 7 #include "base/files/file_util_proxy.h" |
| 7 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
| 8 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 9 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 10 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 11 #include "net/base/escape.h" | 12 #include "net/base/escape.h" |
| 12 #include "ppapi/c/pp_errors.h" | 13 #include "ppapi/c/pp_errors.h" |
| 13 #include "ppapi/shared_impl/file_type_conversion.h" | 14 #include "ppapi/shared_impl/file_type_conversion.h" |
| 14 #include "ppapi/shared_impl/time_conversion.h" | 15 #include "ppapi/shared_impl/time_conversion.h" |
| 15 #include "ppapi/shared_impl/var.h" | 16 #include "ppapi/shared_impl/var.h" |
| 16 #include "ppapi/thunk/enter.h" | 17 #include "ppapi/thunk/enter.h" |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 | 445 |
| 445 if (!plugin_instance->delegate()->ReadDirectoryEntries( | 446 if (!plugin_instance->delegate()->ReadDirectoryEntries( |
| 446 GetFileSystemURL(), | 447 GetFileSystemURL(), |
| 447 new FileCallbacks(this, callback, params))) | 448 new FileCallbacks(this, callback, params))) |
| 448 return PP_ERROR_FAILED; | 449 return PP_ERROR_FAILED; |
| 449 return PP_OK_COMPLETIONPENDING; | 450 return PP_OK_COMPLETIONPENDING; |
| 450 } | 451 } |
| 451 | 452 |
| 452 } // namespace ppapi | 453 } // namespace ppapi |
| 453 } // namespace webkit | 454 } // namespace webkit |
| OLD | NEW |