| Index: webkit/plugins/ppapi/file_callbacks.h
|
| ===================================================================
|
| --- webkit/plugins/ppapi/file_callbacks.h (revision 0)
|
| +++ webkit/plugins/ppapi/file_callbacks.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef WEBKIT_GLUE_PLUGINS_PEPPER_FILE_CALLBACKS_H_
|
| -#define WEBKIT_GLUE_PLUGINS_PEPPER_FILE_CALLBACKS_H_
|
| +#ifndef WEBKIT_PLUGINS_PPAPI_FILE_CALLBACKS_H_
|
| +#define WEBKIT_PLUGINS_PPAPI_FILE_CALLBACKS_H_
|
|
|
| #include "base/platform_file.h"
|
| #include "base/weak_ptr.h"
|
| @@ -16,10 +16,11 @@
|
| class FilePath;
|
| }
|
|
|
| -namespace pepper {
|
| +namespace webkit {
|
| +namespace ppapi {
|
|
|
| -class DirectoryReader;
|
| -class FileSystem;
|
| +class PPB_DirectoryReader_Impl;
|
| +class PPB_FileSystem_Impl;
|
| class PluginModule;
|
|
|
| // Instances of this class are deleted by FileSystemDispatcher.
|
| @@ -28,8 +29,8 @@
|
| FileCallbacks(const base::WeakPtr<PluginModule>& module,
|
| PP_CompletionCallback callback,
|
| PP_FileInfo_Dev* info,
|
| - scoped_refptr<FileSystem> file_system,
|
| - scoped_refptr<DirectoryReader> directory_reader);
|
| + scoped_refptr<PPB_FileSystem_Impl> file_system,
|
| + scoped_refptr<PPB_DirectoryReader_Impl> directory_reader);
|
| virtual ~FileCallbacks();
|
|
|
| // FileSystemCallbackDispatcher implementation.
|
| @@ -48,10 +49,11 @@
|
| base::WeakPtr<PluginModule> module_;
|
| PP_CompletionCallback callback_;
|
| PP_FileInfo_Dev* info_;
|
| - scoped_refptr<FileSystem> file_system_;
|
| - scoped_refptr<DirectoryReader> directory_reader_;
|
| + scoped_refptr<PPB_FileSystem_Impl> file_system_;
|
| + scoped_refptr<PPB_DirectoryReader_Impl> directory_reader_;
|
| };
|
|
|
| -} // namespace pepper
|
| +} // namespace ppapi
|
| +} // namespace webkit
|
|
|
| -#endif // WEBKIT_GLUE_PLUGINS_PEPPER_FILE_CALLBACKS_H_
|
| +#endif // WEBKIT_PLUGINS_PPAPI_FILE_CALLBACKS_H_
|
|
|