| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 // Valid only for PP_FILESYSTEMTYPE_LOCAL{PERSISTENT,TEMPORARY}. | 129 // Valid only for PP_FILESYSTEMTYPE_LOCAL{PERSISTENT,TEMPORARY}. |
| 130 scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 130 scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
| 131 fileapi::FileSystemURL file_system_url_; | 131 fileapi::FileSystemURL file_system_url_; |
| 132 base::Closure on_close_callback_; | 132 base::Closure on_close_callback_; |
| 133 int64_t max_written_offset_; | 133 int64_t max_written_offset_; |
| 134 bool check_quota_; | 134 bool check_quota_; |
| 135 | 135 |
| 136 ppapi::FileIOStateManager state_manager_; | 136 ppapi::FileIOStateManager state_manager_; |
| 137 | 137 |
| 138 base::WeakPtrFactory<PepperFileIOHost> weak_factory_; | |
| 139 | |
| 140 DISALLOW_COPY_AND_ASSIGN(PepperFileIOHost); | 138 DISALLOW_COPY_AND_ASSIGN(PepperFileIOHost); |
| 141 }; | 139 }; |
| 142 | 140 |
| 143 } // namespace content | 141 } // namespace content |
| 144 | 142 |
| 145 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ | 143 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ |
| OLD | NEW |