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

Unified Diff: ppapi/cpp/directory_reader.h

Issue 14419003: PPAPI: Move PPB_DirectoryReader_Dev to stable (won't commit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_reader.h
diff --git a/ppapi/cpp/dev/directory_reader_dev.h b/ppapi/cpp/directory_reader.h
similarity index 77%
rename from ppapi/cpp/dev/directory_reader_dev.h
rename to ppapi/cpp/directory_reader.h
index cd2ce781372be011dd523e1e2973de8fc1b8f3e1..f00cf1f71d619342d4196cc745f32349458d596f 100644
--- a/ppapi/cpp/dev/directory_reader_dev.h
+++ b/ppapi/cpp/directory_reader.h
@@ -2,30 +2,30 @@
// 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_READER_DEV_H_
-#define PPAPI_CPP_DEV_DIRECTORY_READER_DEV_H_
+#ifndef PPAPI_CPP_DIRECTORY_READER_H_
+#define PPAPI_CPP_DIRECTORY_READER_H_
#include <vector>
-#include "ppapi/c/dev/ppb_directory_reader_dev.h"
+#include "ppapi/c/ppb_directory_reader.h"
#include "ppapi/cpp/resource.h"
namespace pp {
-class DirectoryEntry_Dev;
+class DirectoryEntry;
class FileRef;
template<typename T> class CompletionCallbackWithOutput;
-class DirectoryReader_Dev : public Resource {
+class DirectoryReader : public Resource {
public:
/// A constructor that creates a DirectoryReader resource for the given
/// directory.
///
/// @param[in] directory_ref A <code>PP_Resource</code> corresponding to the
/// directory reference to be read.
- explicit DirectoryReader_Dev(const FileRef& directory_ref);
+ explicit DirectoryReader(const FileRef& directory_ref);
- DirectoryReader_Dev(const DirectoryReader_Dev& other);
+ DirectoryReader(const DirectoryReader& other);
/// ReadEntries() Reads all entries in the directory.
///
@@ -39,7 +39,7 @@ class DirectoryReader_Dev : public Resource {
///
/// @code
/// void OnReadEntries(int32_t result,
- /// const std::vector<DirectoryEntry_Dev>& entries) {
+ /// const std::vector<DirectoryEntry>& entries) {
/// if (result == PP_OK)
/// // use entries...
/// }
@@ -47,7 +47,7 @@ class DirectoryReader_Dev : public Resource {
///
/// @return An int32_t containing an error code from <code>pp_errors.h</code>.
int32_t ReadEntries(
- const CompletionCallbackWithOutput< std::vector<DirectoryEntry_Dev> >&
+ const CompletionCallbackWithOutput< std::vector<DirectoryEntry> >&
callback);
};

Powered by Google App Engine
This is Rietveld 408576698