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

Unified Diff: ppapi/proxy/directory_reader_resource.cc

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/ppapi_sources.gypi ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/directory_reader_resource.cc
diff --git a/ppapi/proxy/directory_reader_resource.cc b/ppapi/proxy/directory_reader_resource.cc
index 17826d0306cf6d8980a93d2d684fc4b6b35a0e82..4e5ec6a84f61a894f37f94907a06eea8035e8a0a 100644
--- a/ppapi/proxy/directory_reader_resource.cc
+++ b/ppapi/proxy/directory_reader_resource.cc
@@ -23,9 +23,9 @@ namespace proxy {
namespace {
-void ReleaseEntries(const std::vector<PP_DirectoryEntry_Dev>& entries) {
+void ReleaseEntries(const std::vector<PP_DirectoryEntry>& entries) {
ResourceTracker* tracker = PpapiGlobals::Get()->GetResourceTracker();
- for (std::vector<PP_DirectoryEntry_Dev>::const_iterator it = entries.begin();
+ for (std::vector<PP_DirectoryEntry>::const_iterator it = entries.begin();
it != entries.end(); ++it)
tracker->ReleaseResource(it->file_ref);
}
@@ -76,10 +76,10 @@ void DirectoryReaderResource::OnPluginMsgGetEntriesReply(
const std::vector<PP_FileType>& file_types) {
CHECK_EQ(infos.size(), file_types.size());
- std::vector<PP_DirectoryEntry_Dev> entries;
+ std::vector<PP_DirectoryEntry> entries;
for (std::vector<ppapi::PPB_FileRef_CreateInfo>::size_type i = 0;
i < infos.size(); ++i) {
- PP_DirectoryEntry_Dev entry;
+ PP_DirectoryEntry entry;
entry.file_ref = PPB_FileRef_Proxy::DeserializeFileRef(infos[i]);
entry.file_type = file_types[i];
entries.push_back(entry);
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698