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

Side by Side Diff: ppapi/proxy/file_system_resource.h

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_PROXY_FILE_SYSTEM_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_
6 #define PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ 6 #define PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 20 matching lines...) Expand all
31 virtual ~FileSystemResource(); 31 virtual ~FileSystemResource();
32 32
33 // Resource overrides. 33 // Resource overrides.
34 virtual thunk::PPB_FileSystem_API* AsPPB_FileSystem_API() OVERRIDE; 34 virtual thunk::PPB_FileSystem_API* AsPPB_FileSystem_API() OVERRIDE;
35 35
36 // PPB_FileSystem_API implementation. 36 // PPB_FileSystem_API implementation.
37 virtual int32_t Open(int64_t expected_size, 37 virtual int32_t Open(int64_t expected_size,
38 scoped_refptr<TrackedCallback> callback) OVERRIDE; 38 scoped_refptr<TrackedCallback> callback) OVERRIDE;
39 virtual PP_FileSystemType GetType() OVERRIDE; 39 virtual PP_FileSystemType GetType() OVERRIDE;
40 40
41 void InitIsolatedFileSystem(const char* fsid);
41 private: 42 private:
43
42 // Called when the host has responded to our open request. 44 // Called when the host has responded to our open request.
43 void OpenComplete(scoped_refptr<TrackedCallback> callback, 45 void OpenComplete(scoped_refptr<TrackedCallback> callback,
44 const ResourceMessageReplyParams& params); 46 const ResourceMessageReplyParams& params);
45 47
46 PP_FileSystemType type_; 48 PP_FileSystemType type_;
47 bool called_open_; 49 bool called_open_;
48 50
49 DISALLOW_COPY_AND_ASSIGN(FileSystemResource); 51 DISALLOW_COPY_AND_ASSIGN(FileSystemResource);
50 }; 52 };
51 53
52 } // namespace proxy 54 } // namespace proxy
53 } // namespace ppapi 55 } // namespace ppapi
54 56
55 #endif // PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ 57 #endif // PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ext_crx_file_system_private_resource.cc ('k') | ppapi/proxy/file_system_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698