| Index: content/renderer/pepper/pepper_file_system_host.h
|
| diff --git a/content/renderer/pepper/pepper_file_system_host.h b/content/renderer/pepper/pepper_file_system_host.h
|
| index 92f69a635075d063420ae559863b4b9a31ef9abf..3eea26a6a1a6d7381ba139b04ff2e36698f56984 100644
|
| --- a/content/renderer/pepper/pepper_file_system_host.h
|
| +++ b/content/renderer/pepper/pepper_file_system_host.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "ppapi/c/pp_file_info.h"
|
| +#include "ppapi/host/file_system_registry.h"
|
| #include "ppapi/host/host_message_context.h"
|
| #include "ppapi/host/resource_host.h"
|
|
|
| @@ -18,6 +19,7 @@ class RendererPpapiHost;
|
|
|
| class PepperFileSystemHost :
|
| public ppapi::host::ResourceHost,
|
| + public ppapi::host::FileSystemRegistry::FileSystemPeeker,
|
| public base::SupportsWeakPtr<PepperFileSystemHost> {
|
| public:
|
| PepperFileSystemHost(RendererPpapiHost* host,
|
| @@ -31,10 +33,10 @@ class PepperFileSystemHost :
|
| const IPC::Message& msg,
|
| ppapi::host::HostMessageContext* context) OVERRIDE;
|
|
|
| - // Supports FileRefs direct access on the host side.
|
| - PP_FileSystemType GetType() const { return type_; }
|
| - bool IsOpened() const { return opened_; }
|
| - GURL GetRootUrl() const { return root_url_; }
|
| + // PepperFileSystemRegistry::FileSystemPeeker override.
|
| + virtual PP_FileSystemType GetType() const OVERRIDE;
|
| + virtual bool IsOpened() const OVERRIDE;
|
| + virtual GURL GetRootUrl() const OVERRIDE;
|
|
|
| // It's public only to allow PlatformCallbackAdaptor to access.
|
| void OpenFileSystemReply(int32_t pp_error,
|
|
|