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

Side by Side Diff: webkit/common/fileapi/file_system_util.h

Issue 23463048: Implement stream based cross file system copy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ 5 #ifndef WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_
6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ 6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const GURL& origin_url, 151 const GURL& origin_url,
152 const std::string& filesystem_id, 152 const std::string& filesystem_id,
153 const std::string& optional_root_name); 153 const std::string& optional_root_name);
154 154
155 // Returns the root URI for an external filesystem for origin |origin_url| 155 // Returns the root URI for an external filesystem for origin |origin_url|
156 // and |mount_name|. 156 // and |mount_name|.
157 WEBKIT_STORAGE_COMMON_EXPORT std::string GetExternalFileSystemRootURIString( 157 WEBKIT_STORAGE_COMMON_EXPORT std::string GetExternalFileSystemRootURIString(
158 const GURL& origin_url, 158 const GURL& origin_url,
159 const std::string& mount_name); 159 const std::string& mount_name);
160 160
161 // Translates the net::Error to base::PlatformFileError.
162 WEBKIT_STORAGE_COMMON_EXPORT base::PlatformFileError
163 NetErrorToPlatformFileError(int error);
164
161 } // namespace fileapi 165 } // namespace fileapi
162 166
163 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ 167 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698