| Index: chrome/browser/renderer_host/pepper_file_message_filter.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/pepper_file_message_filter.h (revision 75488)
|
| +++ chrome/browser/renderer_host/pepper_file_message_filter.h (working copy)
|
| @@ -6,67 +6,7 @@
|
| #define CHROME_BROWSER_RENDERER_HOST_PEPPER_FILE_MESSAGE_FILTER_H_
|
| #pragma once
|
|
|
| -#include <string>
|
| -#include <vector>
|
| +// TODO(jam): remove this file when all files have been converted.
|
| +#include "content/browser/renderer_host/pepper_file_message_filter.h"
|
|
|
| -#include "base/file_path.h"
|
| -#include "base/process.h"
|
| -#include "base/ref_counted.h"
|
| -#include "base/task.h"
|
| -#include "build/build_config.h"
|
| -#include "chrome/browser/browser_message_filter.h"
|
| -#include "ipc/ipc_platform_file.h"
|
| -#include "webkit/plugins/ppapi/dir_contents.h"
|
| -
|
| -class Profile;
|
| -
|
| -// A message filter for Pepper-specific File I/O messages.
|
| -class PepperFileMessageFilter : public BrowserMessageFilter {
|
| - public:
|
| - PepperFileMessageFilter(int child_id, Profile* profile);
|
| -
|
| - // BrowserMessageFilter methods:
|
| - virtual void OverrideThreadForMessage(const IPC::Message& message,
|
| - BrowserThread::ID* thread);
|
| - virtual bool OnMessageReceived(const IPC::Message& message,
|
| - bool* message_was_ok);
|
| - virtual void OnDestruct() const;
|
| -
|
| - private:
|
| - friend class BrowserThread;
|
| - friend class DeleteTask<PepperFileMessageFilter>;
|
| - virtual ~PepperFileMessageFilter();
|
| -
|
| - // Called on the FILE thread:
|
| - void OnPepperOpenFile(const FilePath& path,
|
| - int flags,
|
| - base::PlatformFileError* error,
|
| - IPC::PlatformFileForTransit* file);
|
| - void OnPepperRenameFile(const FilePath& path_from,
|
| - const FilePath& path_to,
|
| - base::PlatformFileError* error);
|
| - void OnPepperDeleteFileOrDir(const FilePath& path,
|
| - bool recursive,
|
| - base::PlatformFileError* error);
|
| - void OnPepperCreateDir(const FilePath& path,
|
| - base::PlatformFileError* error);
|
| - void OnPepperQueryFile(const FilePath& path,
|
| - base::PlatformFileInfo* info,
|
| - base::PlatformFileError* error);
|
| - void OnPepperGetDirContents(const FilePath& path,
|
| - webkit::ppapi::DirContents* contents,
|
| - base::PlatformFileError* error);
|
| -
|
| - FilePath MakePepperPath(const FilePath& base_path);
|
| -
|
| - // The channel associated with the renderer connection. This pointer is not
|
| - // owned by this class.
|
| - IPC::Channel* channel_;
|
| -
|
| - // The base path for the pepper data.
|
| - FilePath pepper_path_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(PepperFileMessageFilter);
|
| -};
|
| -
|
| #endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_FILE_MESSAGE_FILTER_H_
|
|
|