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

Side by Side Diff: ppapi/cpp/file_system.h

Issue 7242002: Sang's initial CL for moving the file interface out of dev. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_FILE_SYSTEM_H_
6 #define PPAPI_CPP_FILE_SYSTEM_H_
7
8 #include "ppapi/c/pp_file_info.h"
9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/c/pp_time.h"
12 #include "ppapi/cpp/instance.h"
13 #include "ppapi/cpp/resource.h"
14
15 struct PP_FileInfo;
16
17 namespace pp {
18
19 class CompletionCallback;
20 class FileRef;
21
22 // Wraps methods from ppb_file_system.h
23 class FileSystem : public Resource {
24 public:
25 FileSystem(Instance* instance, PP_FileSystemType type);
26
27 int32_t Open(int64_t expected_size, const CompletionCallback& cc);
28 };
29
30 } // namespace pp
31
32 #endif // PPAPI_CPP_FILE_SYSTEM_H_
OLDNEW
« ppapi/cpp/file_ref.cc ('K') | « ppapi/cpp/file_ref.cc ('k') | ppapi/cpp/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698