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

Side by Side Diff: webkit/plugins/ppapi/ppb_directory_reader_impl.h

Issue 6286038: Add initial code to do filename munging in the FileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_DIRECTORY_READER_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_DIRECTORY_READER_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_DIRECTORY_READER_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_DIRECTORY_READER_IMPL_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/file_util_proxy.h" 10 #include "base/file_util_proxy.h"
(...skipping 17 matching lines...) Expand all
28 // is exposed to the plugin. 28 // is exposed to the plugin.
29 static const PPB_DirectoryReader_Dev* GetInterface(); 29 static const PPB_DirectoryReader_Dev* GetInterface();
30 30
31 // Resource overrides. 31 // Resource overrides.
32 virtual PPB_DirectoryReader_Impl* AsPPB_DirectoryReader_Impl(); 32 virtual PPB_DirectoryReader_Impl* AsPPB_DirectoryReader_Impl();
33 33
34 // PPB_DirectoryReader implementation. 34 // PPB_DirectoryReader implementation.
35 int32_t GetNextEntry(PP_DirectoryEntry_Dev* entry, 35 int32_t GetNextEntry(PP_DirectoryEntry_Dev* entry,
36 PP_CompletionCallback callback); 36 PP_CompletionCallback callback);
37 37
38 void AddNewEntries(const std::vector<base::FileUtilProxy::Entry>& entries, 38 void AddNewEntries(const std::vector<base::FileUtilProxyBase::Entry>& entries,
39 bool has_more); 39 bool has_more);
40 40
41 private: 41 private:
42 bool FillUpEntry(); 42 bool FillUpEntry();
43 43
44 scoped_refptr<PPB_FileRef_Impl> directory_ref_; 44 scoped_refptr<PPB_FileRef_Impl> directory_ref_;
45 std::queue<base::FileUtilProxy::Entry> entries_; 45 std::queue<base::FileUtilProxyBase::Entry> entries_;
46 bool has_more_; 46 bool has_more_;
47 PP_DirectoryEntry_Dev* entry_; 47 PP_DirectoryEntry_Dev* entry_;
48 }; 48 };
49 49
50 } // namespace ppapi 50 } // namespace ppapi
51 } // namespace webkit 51 } // namespace webkit
52 52
53 #endif // WEBKIT_PLUGINS_PPAPI_PPB_DIRECTORY_READER_IMPL_H_ 53 #endif // WEBKIT_PLUGINS_PPAPI_PPB_DIRECTORY_READER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698