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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_file_system_browser_host.h

Issue 130053003: [Pepper] Wire up append mode writing support of FileIO (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/file_growth/file_growths/ Created 6 years, 11 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
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
117 int64_t amount, 117 int64_t amount,
118 const ppapi::FileSizeMap& max_written_offsets); 118 const ppapi::FileGrowthMap& file_growth);
119 119
120 void SendReplyForFileSystem( 120 void SendReplyForFileSystem(
121 ppapi::host::ReplyMessageContext reply_context, 121 ppapi::host::ReplyMessageContext reply_context,
122 int32_t pp_error); 122 int32_t pp_error);
123 void SendReplyForIsolatedFileSystem( 123 void SendReplyForIsolatedFileSystem(
124 ppapi::host::ReplyMessageContext reply_context, 124 ppapi::host::ReplyMessageContext reply_context,
125 const std::string& fsid, 125 const std::string& fsid,
126 int32_t error); 126 int32_t error);
127 127
128 void SetFileSystemContext( 128 void SetFileSystemContext(
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698