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

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

Issue 12258021: Fix filesystem API file_handlers to work for drive on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // Grants access to |virtual_path| from |origin_url|. 142 // Grants access to |virtual_path| from |origin_url|.
143 virtual void GrantFileAccessToExtension( 143 virtual void GrantFileAccessToExtension(
144 const std::string& extension_id, 144 const std::string& extension_id,
145 const base::FilePath& virtual_path) = 0; 145 const base::FilePath& virtual_path) = 0;
146 // Revokes file access from extension identified with |extension_id|. 146 // Revokes file access from extension identified with |extension_id|.
147 virtual void RevokeAccessForExtension( 147 virtual void RevokeAccessForExtension(
148 const std::string& extension_id) = 0; 148 const std::string& extension_id) = 0;
149 // Gets virtual path by known filesystem path. Returns false when filesystem 149 // Gets virtual path by known filesystem path. Returns false when filesystem
150 // path is not exposed by this provider. 150 // path is not exposed by this provider.
151 virtual bool GetVirtualPath(const base::FilePath& file_system_path, 151 virtual bool GetVirtualPath(const base::FilePath& file_system_path,
152 base::FilePath* virtual_path) = 0; 152 base::FilePath* virtual_path) const = 0;
153 }; 153 };
154 154
155 } // namespace fileapi 155 } // namespace fileapi
156 156
157 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ 157 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698