OLD | NEW |
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const ResourceMessageReplyParams& params); | 58 const ResourceMessageReplyParams& params); |
59 | 59 |
60 // Called when the host has responded to our InitIsolatedFileSystem request. | 60 // Called when the host has responded to our InitIsolatedFileSystem request. |
61 void InitIsolatedFileSystemComplete( | 61 void InitIsolatedFileSystemComplete( |
62 const base::Callback<void(int32_t)>& callback, | 62 const base::Callback<void(int32_t)>& callback, |
63 const ResourceMessageReplyParams& params); | 63 const ResourceMessageReplyParams& params); |
64 | 64 |
65 PP_FileSystemType type_; | 65 PP_FileSystemType type_; |
66 bool called_open_; | 66 bool called_open_; |
67 uint32_t callback_count_; | 67 uint32_t callback_count_; |
| 68 int32_t callback_result_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(FileSystemResource); | 70 DISALLOW_COPY_AND_ASSIGN(FileSystemResource); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace proxy | 73 } // namespace proxy |
73 } // namespace ppapi | 74 } // namespace ppapi |
74 | 75 |
75 #endif // PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ | 76 #endif // PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ |
OLD | NEW |