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

Unified Diff: ppapi/cpp/directory_entry.h

Issue 14784002: Move DirectoryReader::ReadEntries to FileRef::ReadDirectoryEntries (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address comments by dmichael and raymes Created 7 years, 8 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
Index: ppapi/cpp/directory_entry.h
diff --git a/ppapi/cpp/dev/directory_entry_dev.h b/ppapi/cpp/directory_entry.h
similarity index 55%
rename from ppapi/cpp/dev/directory_entry_dev.h
rename to ppapi/cpp/directory_entry.h
index 9866213cb7948e7c5d09b145cf6c9234cd7a4310..a1c9f578eb18491b4148874b37513268443ca54e 100644
--- a/ppapi/cpp/dev/directory_entry_dev.h
+++ b/ppapi/cpp/directory_entry.h
@@ -2,23 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PPAPI_CPP_DEV_DIRECTORY_ENTRY_DEV_H_
-#define PPAPI_CPP_DEV_DIRECTORY_ENTRY_DEV_H_
+#ifndef PPAPI_CPP_DIRECTORY_ENTRY_H_
+#define PPAPI_CPP_DIRECTORY_ENTRY_H_
-#include "ppapi/c/dev/ppb_directory_reader_dev.h"
+#include "ppapi/c/pp_directory_entry.h"
#include "ppapi/cpp/file_ref.h"
namespace pp {
-class DirectoryEntry_Dev {
+/// The <code>DirectoryEntry</code> class represents information about
+/// a directory entry.
+class DirectoryEntry {
public:
- DirectoryEntry_Dev();
- DirectoryEntry_Dev(PassRef, const PP_DirectoryEntry_Dev& data);
- DirectoryEntry_Dev(const DirectoryEntry_Dev& other);
+ DirectoryEntry();
+ DirectoryEntry(PassRef, const PP_DirectoryEntry& data);
+ DirectoryEntry(const DirectoryEntry& other);
- ~DirectoryEntry_Dev();
+ ~DirectoryEntry();
- DirectoryEntry_Dev& operator=(const DirectoryEntry_Dev& other);
+ DirectoryEntry& operator=(const DirectoryEntry& other);
// Returns true if the DirectoryEntry is invalid or uninitialized.
bool is_null() const { return !data_.file_ref; }
@@ -30,9 +32,9 @@ class DirectoryEntry_Dev {
PP_FileType file_type() const { return data_.file_type; }
private:
- PP_DirectoryEntry_Dev data_;
+ PP_DirectoryEntry data_;
};
} // namespace pp
-#endif // PPAPI_CPP_DEV_DIRECTORY_ENTRY_DEV_H_
+#endif // PPAPI_CPP_DIRECTORY_ENTRY_H_

Powered by Google App Engine
This is Rietveld 408576698