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

Side by Side Diff: ppapi/cpp/dev/directory_reader_dev.h

Issue 7248047: Migrating PPB_FileIO_Dev, PPB_FileRef_Dev, and PPB_FileSystem_Dev dependencies to PPB_FileIO, PPB... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_DEV_DIRECTORY_READER_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_DIRECTORY_READER_DEV_H_
6 #define PPAPI_CPP_DEV_DIRECTORY_READER_DEV_H_ 6 #define PPAPI_CPP_DEV_DIRECTORY_READER_DEV_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include "ppapi/c/dev/ppb_directory_reader_dev.h" 10 #include "ppapi/c/dev/ppb_directory_reader_dev.h"
11 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
12 12
13 namespace pp { 13 namespace pp {
14 14
15 class CompletionCallback; 15 class CompletionCallback;
16 class DirectoryEntry_Dev; 16 class DirectoryEntry_Dev;
17 class FileRef_Dev; 17 class FileRef;
18 18
19 class DirectoryReader_Dev : public Resource { 19 class DirectoryReader_Dev : public Resource {
20 public: 20 public:
21 // Creates a DirectoryReader for the given directory. 21 // Creates a DirectoryReader for the given directory.
22 DirectoryReader_Dev(const FileRef_Dev& directory_ref); 22 explicit DirectoryReader_Dev(const FileRef& directory_ref);
23 23
24 DirectoryReader_Dev(const DirectoryReader_Dev& other); 24 DirectoryReader_Dev(const DirectoryReader_Dev& other);
25 25
26 // See PPB_DirectoryReader::GetNextEntry. 26 // See PPB_DirectoryReader::GetNextEntry.
27 int32_t GetNextEntry(DirectoryEntry_Dev* entry, 27 int32_t GetNextEntry(DirectoryEntry_Dev* entry,
28 const CompletionCallback& cc); 28 const CompletionCallback& cc);
29 }; 29 };
30 30
31 } // namespace pp 31 } // namespace pp
32 32
33 #endif // PPAPI_CPP_DIRECTORY_READER_H_ 33 #endif // PPAPI_CPP_DIRECTORY_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698