Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: webkit/plugins/ppapi/ppb_directory_reader_impl.h

Issue 7006022: Revert 87415 - Convert more interfaces to the new thunk system. This goes up to and including (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_cursor_control_impl.cc ('k') | webkit/plugins/ppapi/ppb_directory_reader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_directory_reader_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_directory_reader_impl.h (revision 87436)
+++ webkit/plugins/ppapi/ppb_directory_reader_impl.h (working copy)
@@ -8,7 +8,6 @@
#include <queue>
#include "base/file_util_proxy.h"
-#include "ppapi/thunk/ppb_directory_reader_api.h"
#include "webkit/plugins/ppapi/resource.h"
struct PP_CompletionCallback;
@@ -20,26 +19,22 @@
class PPB_FileRef_Impl;
-class PPB_DirectoryReader_Impl
- : public Resource,
- public ::ppapi::thunk::PPB_DirectoryReader_API {
+class PPB_DirectoryReader_Impl : public Resource {
public:
explicit PPB_DirectoryReader_Impl(PPB_FileRef_Impl* directory_ref);
virtual ~PPB_DirectoryReader_Impl();
- static PP_Resource Create(PP_Resource directory_ref);
+ // Returns a pointer to the interface implementing PPB_DirectoryReader that
+ // is exposed to the plugin.
+ static const PPB_DirectoryReader_Dev* GetInterface();
// Resource overrides.
- virtual PPB_DirectoryReader_Impl* AsPPB_DirectoryReader_Impl() OVERRIDE;
+ virtual PPB_DirectoryReader_Impl* AsPPB_DirectoryReader_Impl();
- // ResourceObjectBase overrides.
- virtual ::ppapi::thunk::PPB_DirectoryReader_API* AsPPB_DirectoryReader_API()
- OVERRIDE;
+ // PPB_DirectoryReader implementation.
+ int32_t GetNextEntry(PP_DirectoryEntry_Dev* entry,
+ PP_CompletionCallback callback);
- // PPB_DirectoryReader_API implementation.
- virtual int32_t GetNextEntry(PP_DirectoryEntry_Dev* entry,
- PP_CompletionCallback callback) OVERRIDE;
-
void AddNewEntries(const std::vector<base::FileUtilProxy::Entry>& entries,
bool has_more);
« no previous file with comments | « webkit/plugins/ppapi/ppb_cursor_control_impl.cc ('k') | webkit/plugins/ppapi/ppb_directory_reader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698