| Index: webkit/plugins/ppapi/file_callbacks.cc
|
| ===================================================================
|
| --- webkit/plugins/ppapi/file_callbacks.cc (revision 0)
|
| +++ webkit/plugins/ppapi/file_callbacks.cc (working copy)
|
| @@ -2,25 +2,28 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "webkit/glue/plugins/pepper_file_callbacks.h"
|
| +#include "webkit/plugins/ppapi/file_callbacks.h"
|
|
|
| #include "base/file_path.h"
|
| #include "base/logging.h"
|
| #include "ppapi/c/dev/ppb_file_system_dev.h"
|
| #include "ppapi/c/dev/pp_file_info_dev.h"
|
| #include "ppapi/c/pp_errors.h"
|
| -#include "webkit/glue/plugins/pepper_directory_reader.h"
|
| -#include "webkit/glue/plugins/pepper_error_util.h"
|
| -#include "webkit/glue/plugins/pepper_file_system.h"
|
| +#include "webkit/plugins/ppapi/ppb_directory_reader_impl.h"
|
| +#include "webkit/plugins/ppapi/error_util.h"
|
| +#include "webkit/plugins/ppapi/ppb_file_system_impl.h"
|
| #include "webkit/fileapi/file_system_types.h"
|
|
|
| -namespace pepper {
|
| +namespace webkit {
|
| +namespace plugins {
|
| +namespace ppapi {
|
|
|
| -FileCallbacks::FileCallbacks(const base::WeakPtr<PluginModule>& module,
|
| - PP_CompletionCallback callback,
|
| - PP_FileInfo_Dev* info,
|
| - scoped_refptr<FileSystem> file_system,
|
| - scoped_refptr<DirectoryReader> directory_reader)
|
| +FileCallbacks::FileCallbacks(
|
| + const base::WeakPtr<PluginModule>& module,
|
| + PP_CompletionCallback callback,
|
| + PP_FileInfo_Dev* info,
|
| + scoped_refptr<PPB_FileSystem_Impl> file_system,
|
| + scoped_refptr<PPB_DirectoryReader_Impl> directory_reader)
|
| : module_(module),
|
| callback_(callback),
|
| info_(info),
|
| @@ -93,7 +96,10 @@
|
| return;
|
|
|
| PP_RunCompletionCallback(
|
| - &callback_, pepper::PlatformFileErrorToPepperError(error_code));
|
| + &callback_, PlatformFileErrorToPepperError(error_code));
|
| }
|
|
|
| -} // namespace pepper
|
| +} // namespace ppapi
|
| +} // namespace plugins
|
| +} // namespace webkit
|
| +
|
|
|