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

Unified Diff: ppapi/cpp/dev/directory_entry_dev.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: review fix 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
« no previous file with comments | « ppapi/cpp/array_output.h ('k') | ppapi/cpp/dev/directory_entry_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/directory_entry_dev.h
diff --git a/ppapi/cpp/dev/directory_entry_dev.h b/ppapi/cpp/dev/directory_entry_dev.h
deleted file mode 100644
index 9866213cb7948e7c5d09b145cf6c9234cd7a4310..0000000000000000000000000000000000000000
--- a/ppapi/cpp/dev/directory_entry_dev.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "ppapi/c/dev/ppb_directory_reader_dev.h"
-#include "ppapi/cpp/file_ref.h"
-
-namespace pp {
-
-class DirectoryEntry_Dev {
- public:
- DirectoryEntry_Dev();
- DirectoryEntry_Dev(PassRef, const PP_DirectoryEntry_Dev& data);
- DirectoryEntry_Dev(const DirectoryEntry_Dev& other);
-
- ~DirectoryEntry_Dev();
-
- DirectoryEntry_Dev& operator=(const DirectoryEntry_Dev& other);
-
- // Returns true if the DirectoryEntry is invalid or uninitialized.
- bool is_null() const { return !data_.file_ref; }
-
- // Returns the FileRef held by this DirectoryEntry.
- FileRef file_ref() const { return FileRef(data_.file_ref); }
-
- // Returns the type of the file referenced by this DirectoryEntry.
- PP_FileType file_type() const { return data_.file_type; }
-
- private:
- PP_DirectoryEntry_Dev data_;
-};
-
-} // namespace pp
-
-#endif // PPAPI_CPP_DEV_DIRECTORY_ENTRY_DEV_H_
« no previous file with comments | « ppapi/cpp/array_output.h ('k') | ppapi/cpp/dev/directory_entry_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698