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

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

Issue 12717014: Launch packaged app with files on Drive on Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 9 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
« no previous file with comments | « webkit/fileapi/isolated_context.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 WEBKIT_FILEAPI_MOUNT_POINTS_H_ 5 #ifndef WEBKIT_FILEAPI_MOUNT_POINTS_H_
6 #define WEBKIT_FILEAPI_MOUNT_POINTS_H_ 6 #define WEBKIT_FILEAPI_MOUNT_POINTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Returns false if the given virtual_path cannot be cracked. 81 // Returns false if the given virtual_path cannot be cracked.
82 // 82 //
83 // Note that |path| is set to empty paths if the filesystem type is isolated 83 // Note that |path| is set to empty paths if the filesystem type is isolated
84 // and |virtual_path| has no <relative_path> part (i.e. pointing to the 84 // and |virtual_path| has no <relative_path> part (i.e. pointing to the
85 // virtual root). 85 // virtual root).
86 virtual bool CrackVirtualPath(const base::FilePath& virtual_path, 86 virtual bool CrackVirtualPath(const base::FilePath& virtual_path,
87 std::string* mount_name, 87 std::string* mount_name,
88 FileSystemType* type, 88 FileSystemType* type,
89 base::FilePath* path) const = 0; 89 base::FilePath* path) const = 0;
90 90
91 protected:
92 friend class FileSystemContext;
93
94 // Same as CrackURL and CreateCrackedFileSystemURL, but cracks the url already
95 // instantiated as the FileSystemURL class. This is internally used for nested
96 // URL cracking in FileSystemContext.
97 virtual FileSystemURL CrackFileSystemURL(const FileSystemURL& url) const = 0;
98
91 private: 99 private:
92 DISALLOW_COPY_AND_ASSIGN(MountPoints); 100 DISALLOW_COPY_AND_ASSIGN(MountPoints);
93 }; 101 };
94 102
95 } // namespace fileapi 103 } // namespace fileapi
96 104
97 #endif // WEBKIT_FILEAPI_MOUNT_POINTS_H_ 105 #endif // WEBKIT_FILEAPI_MOUNT_POINTS_H_
98 106
OLDNEW
« no previous file with comments | « webkit/fileapi/isolated_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698