| Index: content/renderer/pepper/ppb_file_ref_impl.h
|
| ===================================================================
|
| --- content/renderer/pepper/ppb_file_ref_impl.h (revision 213482)
|
| +++ content/renderer/pepper/ppb_file_ref_impl.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_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_
|
| -#define WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_
|
| +#ifndef CONTENT_RENDERER_PEPPER_PPB_FILE_REF_IMPL_H_
|
| +#define CONTENT_RENDERER_PEPPER_PPB_FILE_REF_IMPL_H_
|
|
|
| #include <string>
|
| #include <vector>
|
| @@ -16,7 +16,6 @@
|
| #include "ppapi/shared_impl/scoped_pp_resource.h"
|
| #include "ppapi/shared_impl/var.h"
|
| #include "url/gurl.h"
|
| -#include "webkit/plugins/webkit_plugins_export.h"
|
|
|
| namespace webkit {
|
| namespace ppapi {
|
| @@ -25,14 +24,12 @@
|
|
|
| class PPB_FileSystem_Impl;
|
|
|
| -class WEBKIT_PLUGINS_EXPORT PPB_FileRef_Impl
|
| - : public ::ppapi::PPB_FileRef_Shared {
|
| +class PPB_FileRef_Impl : public ::ppapi::PPB_FileRef_Shared {
|
| public:
|
| PPB_FileRef_Impl(const ::ppapi::PPB_FileRef_CreateInfo& info,
|
| PP_Resource file_system);
|
| PPB_FileRef_Impl(const ::ppapi::PPB_FileRef_CreateInfo& info,
|
| const base::FilePath& external_file_path);
|
| - virtual ~PPB_FileRef_Impl();
|
|
|
| // The returned object will have a refcount of 0 (just like "new").
|
| static PPB_FileRef_Impl* CreateInternal(PP_Instance instance,
|
| @@ -72,7 +69,7 @@
|
| linked_ptr<std::vector< ::ppapi::PPB_FileRef_CreateInfo> > files,
|
| linked_ptr<std::vector<PP_FileType> > file_types,
|
| scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
|
| - virtual PP_Var GetAbsolutePath();
|
| + virtual PP_Var GetAbsolutePath() OVERRIDE;
|
|
|
| PP_Resource file_system_resource() const { return file_system_; }
|
|
|
| @@ -91,6 +88,8 @@
|
| }
|
|
|
| private:
|
| + virtual ~PPB_FileRef_Impl();
|
| +
|
| // Many mutation functions are allow only to non-external filesystems, This
|
| // function returns true if the filesystem is opened and isn't external as an
|
| // access check for these functions.
|
| @@ -124,4 +123,4 @@
|
| } // namespace ppapi
|
| } // namespace webkit
|
|
|
| -#endif // WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_
|
| +#endif // CONTENT_RENDERER_PEPPER_PPB_FILE_REF_IMPL_H_
|
|
|