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

Unified Diff: ppapi/cpp/private/flash_file.h

Issue 10696206: PPAPI (Flash): Fix FileModuleLocal::GetDirContents(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | ppapi/cpp/private/flash_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/flash_file.h
diff --git a/ppapi/cpp/private/flash_file.h b/ppapi/cpp/private/flash_file.h
index 1c19c9d0526a806f56d0b3754d0d9a9d8be9031e..a7c655a29c39ddbf169b4fd021542f838ee80324 100644
--- a/ppapi/cpp/private/flash_file.h
+++ b/ppapi/cpp/private/flash_file.h
@@ -43,9 +43,13 @@ class FileModuleLocal {
const std::string& path,
PP_FileInfo* info);
// Note that, unlike the C interface, no |FreeDirContents()| is needed.
+ struct DirEntry {
+ std::string name;
+ bool is_dir;
+ };
static bool GetDirContents(const InstanceHandle& instance,
const std::string& path,
- std::vector<PP_DirEntry_Dev>* dir_contents);
+ std::vector<DirEntry>* dir_contents);
// Returns true if |CreateTemporaryFile()| is supported.
// TODO(viettrungluu): Remove this sometime after M21 ships to Stable?
« no previous file with comments | « no previous file | ppapi/cpp/private/flash_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698