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

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

Issue 10823273: Integrate external mount points to IsolatedContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros test fix Created 8 years, 4 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_FILEAPI_FILE_SYSTEM_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 const std::string& filesystem_id); 130 const std::string& filesystem_id);
131 131
132 // Find the file system id from |filesystem_name|. Should only be used by 132 // Find the file system id from |filesystem_name|. Should only be used by
133 // platform apps. This function will return false if the file system name is 133 // platform apps. This function will return false if the file system name is
134 // not of the form {origin}:Isolated_{id}, and will also check that there is an 134 // not of the form {origin}:Isolated_{id}, and will also check that there is an
135 // origin and id present. It will not check that the origin or id are valid. 135 // origin and id present. It will not check that the origin or id are valid.
136 FILEAPI_EXPORT bool CrackIsolatedFileSystemName( 136 FILEAPI_EXPORT bool CrackIsolatedFileSystemName(
137 const std::string& filesystem_name, 137 const std::string& filesystem_name,
138 std::string* filesystem_id); 138 std::string* filesystem_id);
139 139
140 #if defined(OS_CHROMEOS)
141 bool FILEAPI_EXPORT IsCrosManagedFileSystemType(FileSystemType type);
satorux1 2012/08/20 03:30:23 function comment is missing. please describe what
kinuko 2012/08/20 08:54:35 Done. (Removed this method but instead added stat
142 #endif
143
140 } // namespace fileapi 144 } // namespace fileapi
141 145
142 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ 146 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698