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_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 const base::Closure& callback, | 83 const base::Closure& callback, |
84 scoped_refptr<fileapi::FileSystemContext> file_system_context); | 84 scoped_refptr<fileapi::FileSystemContext> file_system_context); |
85 void OpenFileSystem( | 85 void OpenFileSystem( |
86 ppapi::host::ReplyMessageContext reply_context, | 86 ppapi::host::ReplyMessageContext reply_context, |
87 fileapi::FileSystemType file_system_type, | 87 fileapi::FileSystemType file_system_type, |
88 scoped_refptr<fileapi::FileSystemContext> file_system_context); | 88 scoped_refptr<fileapi::FileSystemContext> file_system_context); |
89 void OpenFileSystemComplete( | 89 void OpenFileSystemComplete( |
90 ppapi::host::ReplyMessageContext reply_context, | 90 ppapi::host::ReplyMessageContext reply_context, |
91 const GURL& root, | 91 const GURL& root, |
92 const std::string& name, | 92 const std::string& name, |
93 base::PlatformFileError error); | 93 base::File::Error error); |
94 void OpenIsolatedFileSystem( | 94 void OpenIsolatedFileSystem( |
95 ppapi::host::ReplyMessageContext reply_context, | 95 ppapi::host::ReplyMessageContext reply_context, |
96 const std::string& fsid, | 96 const std::string& fsid, |
97 PP_IsolatedFileSystemType_Private type, | 97 PP_IsolatedFileSystemType_Private type, |
98 scoped_refptr<fileapi::FileSystemContext> file_system_context); | 98 scoped_refptr<fileapi::FileSystemContext> file_system_context); |
99 void OpenPluginPrivateFileSystem( | 99 void OpenPluginPrivateFileSystem( |
100 ppapi::host::ReplyMessageContext reply_context, | 100 ppapi::host::ReplyMessageContext reply_context, |
101 const std::string& fsid, | 101 const std::string& fsid, |
102 scoped_refptr<fileapi::FileSystemContext> file_system_context); | 102 scoped_refptr<fileapi::FileSystemContext> file_system_context); |
103 void OpenPluginPrivateFileSystemComplete( | 103 void OpenPluginPrivateFileSystemComplete( |
104 ppapi::host::ReplyMessageContext reply_context, | 104 ppapi::host::ReplyMessageContext reply_context, |
105 const std::string& fsid, | 105 const std::string& fsid, |
106 base::PlatformFileError error); | 106 base::File::Error error); |
107 | 107 |
108 int32_t OnHostMsgOpen( | 108 int32_t OnHostMsgOpen( |
109 ppapi::host::HostMessageContext* context, | 109 ppapi::host::HostMessageContext* context, |
110 int64_t expected_size); | 110 int64_t expected_size); |
111 int32_t OnHostMsgInitIsolatedFileSystem( | 111 int32_t OnHostMsgInitIsolatedFileSystem( |
112 ppapi::host::HostMessageContext* context, | 112 ppapi::host::HostMessageContext* context, |
113 const std::string& fsid, | 113 const std::string& fsid, |
114 PP_IsolatedFileSystemType_Private type); | 114 PP_IsolatedFileSystemType_Private type); |
115 int32_t OnHostMsgReserveQuota( | 115 int32_t OnHostMsgReserveQuota( |
116 ppapi::host::HostMessageContext* context, | 116 ppapi::host::HostMessageContext* context, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 std::string fsid_; // used only for isolated filesystems. | 172 std::string fsid_; // used only for isolated filesystems. |
173 | 173 |
174 base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_; | 174 base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_; |
175 | 175 |
176 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost); | 176 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost); |
177 }; | 177 }; |
178 | 178 |
179 } // namespace content | 179 } // namespace content |
180 | 180 |
181 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_
H_ | 181 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_
H_ |
OLD | NEW |